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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 95.34 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 181.6 kB / 16.61 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 222.8 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1282/0.1282, allocations: 12.6 MB / 283.6 MB, free: 8.715 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008429/0.000843, allocations: 23.98 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1387, allocations: 50.38 MB / 394.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.002523/0.1413, allocations: 1.389 MB / 396.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1427, allocations: 0.5312 MB / 396.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.1429, allocations: 7.938 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1431, allocations: 11.92 kB / 396.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1432, allocations: 23.89 kB / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.1439, allocations: 79.84 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1441, allocations: 83.77 kB / 397 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1442, allocations: 32.86 kB / 397 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1444, allocations: 51.83 kB / 397.1 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1446, allocations: 67.73 kB / 397.2 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.1446, allocations: 4 kB / 397.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.1446, allocations: 4 kB / 397.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.1447, allocations: 39.88 kB / 397.2 MB, free: 496 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.1448, allocations: 45.64 kB / 397.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1449, allocations: 84.06 kB / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.145, allocations: 0 / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.145, allocations: 0 / 397.3 MB, free: 360 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.145, allocations: 0 / 397.3 MB, free: 360 kB / 286.1 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.0008973/0.1459, allocations: 450.7 kB / 397.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1459, allocations: 12.03 kB / 397.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.146, allocations: 15.84 kB / 397.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1463, allocations: 210.7 kB / 398 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.1463, allocations: 12 kB / 398 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1463, allocations: 12 kB / 398 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.1469, allocations: 248.5 kB / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1469, allocations: 3.984 kB / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.147, allocations: 4 kB / 398.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.147, allocations: 4 kB / 398.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.1472, allocations: 83.89 kB / 398.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.1479, allocations: 353.5 kB / 398.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.1483, allocations: 181.2 kB / 398.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1483, allocations: 8 kB / 398.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.1485, allocations: 115.4 kB / 399 MB, free: 14.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.1485, allocations: 0 / 399 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006003/0.1491, allocations: 293.6 kB / 399.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.1493, allocations: 93.09 kB / 399.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1494, allocations: 162.2 kB / 399.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1495, allocations: 29.7 kB / 399.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1495, allocations: 104.1 kB / 399.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.1496, allocations: 39.59 kB / 399.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-06/0.1496, allocations: 4 kB / 399.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1497, allocations: 334.8 kB / 400 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1499, allocations: 44.44 kB / 400.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1501, allocations: 159.4 kB / 400.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.1502, allocations: 67.98 kB / 400.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1502, allocations: 4 kB / 400.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004342/0.1507, allocations: 245.3 kB / 400.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1507, allocations: 4 kB / 400.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1507, allocations: 4 kB / 400.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1508, allocations: 8 kB / 400.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1509, allocations: 31.92 kB / 400.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1509, allocations: 11.94 kB / 400.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1511, allocations: 28.14 kB / 400.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1511, allocations: 12 kB / 400.6 MB, free: 12.73 MB / 302.1 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 ($PRE.transferFunction2.firstTrigger,transferFunction2.firstTrigger,$PRE.transferFunction2.x1,transferFunction2.x1,$PRE.transferFunction2.xext[1],transferFunction2.xext[1],$PRE.transferFunction2.xext[2],transferFunction2.xext[2],$PRE.transferFunction2.x[1],transferFunction2.x[1],$PRE.transferFunction2.y,transferFunction2.y,$PRE.sampler.firstTrigger,sampler.firstTrigger,$whenCondition1,sampler.sampleTrigger,$whenCondition2,transferFunction2.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.1513, allocations: 167.6 kB / 400.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1515, allocations: 89.48 kB / 400.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.1515, allocations: 16.84 kB / 400.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1515, allocations: 0 / 400.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.1515, allocations: 4 kB / 400.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1515, allocations: 0 / 400.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.1522, allocations: 0.4904 MB / 401.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.1522, allocations: 0 / 401.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1523, allocations: 23.98 kB / 401.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1523, allocations: 0 / 401.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.1524, allocations: 7.984 kB / 401.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1524, allocations: 3.938 kB / 401.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1524, allocations: 0 / 401.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.1528, allocations: 349.8 kB / 401.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.1529, allocations: 88.92 kB / 401.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.153, allocations: 15.92 kB / 401.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1531, allocations: 19.98 kB / 401.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1531, allocations: 4 kB / 401.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1532, allocations: 11.98 kB / 401.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.637e-05/0.1533, allocations: 119.9 kB / 402 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1533, allocations: 0 / 402 MB, free: 11.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.1536, allocations: 31.95 kB / 402.1 MB, free: 11.19 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.1538, allocations: 111.1 kB / 402.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.1541, allocations: 167.7 kB / 402.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1541, allocations: 0 / 402.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1543, allocations: 57.66 kB / 402.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1546, allocations: 43.95 kB / 402.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.1553, allocations: 343 kB / 402.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1556, allocations: 0.7361 MB / 403.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.1557, allocations: 13.42 kB / 403.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1558, allocations: 15.44 kB / 403.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1558, allocations: 0 / 403.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of Templates: time 0.00424/0.16, allocations: 1.24 MB / 404.8 MB, free: 8.414 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: