Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 174 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205 MB / 222.5 MB, free: 9.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007594/0.0007593, allocations: 93.67 kB / 270.5 MB, free: 8.652 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08509/0.08509, allocations: 12.57 MB / 331 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005088, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08784, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.00147/0.08936, allocations: 1.442 MB / 443.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00067/0.09004, allocations: 0.5542 MB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.09012, allocations: 0 / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.09024, allocations: 11.92 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.09031, allocations: 23.84 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.09077, allocations: 83.84 kB / 443.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.0909, allocations: 127.6 kB / 443.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.09101, allocations: 28.89 kB / 443.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.09111, allocations: 59.69 kB / 444 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.09124, allocations: 59.75 kB / 444.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.09127, allocations: 4 kB / 444.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.0913, allocations: 8 kB / 444.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.09136, allocations: 43.88 kB / 444.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.09142, allocations: 55.61 kB / 444.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.19e-05/0.09152, allocations: 84.06 kB / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.09153, allocations: 0 / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09153, allocations: 0 / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.09154, allocations: 0 / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006564/0.09221, allocations: 454.8 kB / 444.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.09224, allocations: 8.031 kB / 444.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.09229, allocations: 12.84 kB / 444.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.09246, allocations: 223.9 kB / 444.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.09248, allocations: 8.375 kB / 444.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.09251, allocations: 8.375 kB / 445 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.0929, allocations: 256.8 kB / 445.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.09292, allocations: 3.984 kB / 445.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.09294, allocations: 0 / 445.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.09296, allocations: 8 kB / 445.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.09312, allocations: 79.89 kB / 445.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.09354, allocations: 357.4 kB / 445.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.09381, allocations: 197.2 kB / 445.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.09394, allocations: 85.67 kB / 445.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.09398, allocations: 4 kB / 445.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.09414, allocations: 115.3 kB / 446 MB, free: 11.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.09415, allocations: 0 / 446 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004969/0.09465, allocations: 285.9 kB / 446.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.09472, allocations: 105 kB / 446.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.09481, allocations: 154.2 kB / 446.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.09484, allocations: 29.7 kB / 446.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.09488, allocations: 108.1 kB / 446.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.09491, allocations: 31.56 kB / 446.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.09495, allocations: 29.7 kB / 446.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.09501, allocations: 330.8 kB / 447.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/0.0951, allocations: 48.44 kB / 447.1 MB, free: 10.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.09521, allocations: 156.4 kB / 447.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.09546, allocations: 234.3 kB / 447.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.09548, allocations: 4 kB / 447.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000287/0.09577, allocations: 245 kB / 447.8 MB, free: 9.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.09579, allocations: 8 kB / 447.8 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.0958, allocations: 4 kB / 447.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.09582, allocations: 4 kB / 447.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.09595, allocations: 32.45 kB / 447.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.09596, allocations: 15.94 kB / 447.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.09605, allocations: 23.83 kB / 447.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.09607, allocations: 8 kB / 447.8 MB, free: 9.836 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: transferFunction2.y:DISCRETE(flow=false fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 19 (transferFunction2.firstTrigger,$PRE.transferFunction2.firstTrigger,transferFunction2.x1,$PRE.transferFunction2.x1,transferFunction2.xext[1],$PRE.transferFunction2.xext[1],transferFunction2.xext[2],$PRE.transferFunction2.xext[2],transferFunction2.x[1],$PRE.transferFunction2.x[1],$PRE.transferFunction2.y,transferFunction2.y,sampler.firstTrigger,$PRE.sampler.firstTrigger,sampler.sampleTrigger,$whenCondition1,transferFunction2.sampleTrigger,$whenCondition2,sampler.y) * Number of discrete states: 0 () * Number of clocked states: 1 (transferFunction1.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.09621, allocations: 160.9 kB / 448 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.2e-05/0.09631, allocations: 93.78 kB / 448.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.09636, allocations: 16.84 kB / 448.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.09636, allocations: 4 kB / 448.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.09637, allocations: 4 kB / 448.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.09638, allocations: 7.984 kB / 448.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.09683, allocations: 498.2 kB / 448.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.09684, allocations: 0 / 448.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.09693, allocations: 19.98 kB / 448.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.09695, allocations: 3.984 kB / 448.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.09697, allocations: 7.984 kB / 448.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.09697, allocations: 11.94 kB / 448.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.09698, allocations: 0 / 448.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.09731, allocations: 340.1 kB / 449 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.09734, allocations: 88.92 kB / 449.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.09738, allocations: 7.984 kB / 449.1 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.09751, allocations: 23.92 kB / 449.1 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.09755, allocations: 4 kB / 449.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.09758, allocations: 11.98 kB / 449.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.096e-05/0.09764, allocations: 116.1 kB / 449.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09764, allocations: 0 / 449.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.09791, allocations: 28 kB / 449.3 MB, free: 8.309 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (transferFunction2.sampleTrigger,sampler.sampleTrigger,$whenCondition2,$whenCondition1,sampler.firstTrigger,sampler.y,transferFunction2.firstTrigger,transferFunction2.y,transferFunction2.x[1],transferFunction2.x1,transferFunction2.xext[1],transferFunction2.xext[2]) * Number of discrete states: 1 (transferFunction2.x[1]) * Number of clocked states: 1 (transferFunction1.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.44e-05/0.09801, allocations: 115.1 kB / 449.4 MB, free: 8.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.09828, allocations: 163.7 kB / 449.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.09829, allocations: 0 / 449.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/0.09839, allocations: 68.97 kB / 449.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.09878, allocations: 58.03 kB / 449.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.09931, allocations: 376.3 kB / 450 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.09946, allocations: 0.7205 MB / 450.7 MB, free: 6.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.09951, allocations: 19.42 kB / 450.8 MB, free: 6.73 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.09952, allocations: 0 / 450.8 MB, free: 6.73 MB / 298.7 MB Notification: Performance of Templates: time 0.002713/0.1022, allocations: 1.831 MB / 452.6 MB, free: 4.898 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.pipe 2>&1)