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.0009238/0.0009238, allocations: 96.7 kB / 15.74 MB, free: 424 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.0009375/0.0009375, allocations: 173.7 kB / 16.62 MB, free: 6.555 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.862/1.862, allocations: 205.4 MB / 222.8 MB, free: 5.871 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.1207/0.1207, allocations: 12.61 MB / 283.7 MB, free: 8.906 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.0007837/0.000784, allocations: 19.98 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1517, allocations: 50.38 MB / 394.9 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.002826/0.1546, allocations: 1.4 MB / 396.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1559, allocations: 0.5429 MB / 396.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.156, allocations: 7.938 kB / 396.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.1561, allocations: 7.922 kB / 396.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.1562, allocations: 15.86 kB / 396.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.1568, allocations: 83.83 kB / 397 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.157, allocations: 111.6 kB / 397.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1572, allocations: 28.86 kB / 397.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1573, allocations: 55.77 kB / 397.2 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1575, allocations: 75.61 kB / 397.2 MB, free: 496 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.1576, allocations: 4 kB / 397.2 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.1576, allocations: 4 kB / 397.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.1577, allocations: 35.89 kB / 397.3 MB, free: 452 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.1577, allocations: 45.64 kB / 397.3 MB, free: 400 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1579, allocations: 88.06 kB / 397.4 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1579, allocations: 0 / 397.4 MB, free: 312 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1579, allocations: 0 / 397.4 MB, free: 312 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1579, allocations: 0 / 397.4 MB, free: 312 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.0009437/0.1589, allocations: 450.7 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1589, allocations: 8.031 kB / 397.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.159, allocations: 15.89 kB / 397.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1593, allocations: 210.7 kB / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.1593, allocations: 8 kB / 398.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1594, allocations: 15.98 kB / 398.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/0.16, allocations: 252.4 kB / 398.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.16, allocations: 0 / 398.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.16, allocations: 0 / 398.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1601, allocations: 4 kB / 398.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.1603, allocations: 87.88 kB / 398.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.161, allocations: 353.5 kB / 398.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.1613, allocations: 197.2 kB / 399 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1615, allocations: 85.67 kB / 399.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.1616, allocations: 0 / 399.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.1618, allocations: 115.4 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.1618, allocations: 0 / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006787/0.1625, allocations: 297.3 kB / 399.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1626, allocations: 85.11 kB / 399.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1628, allocations: 158.2 kB / 399.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.1629, allocations: 33.7 kB / 399.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.163, allocations: 104.1 kB / 399.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.163, allocations: 35.61 kB / 399.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.163, allocations: 4 kB / 399.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1632, allocations: 330.8 kB / 400.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1633, allocations: 48.38 kB / 400.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.1636, allocations: 163.4 kB / 400.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1637, allocations: 71.97 kB / 400.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.1638, allocations: 4 kB / 400.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003913/0.1642, allocations: 233.3 kB / 400.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.1642, allocations: 9.25 kB / 400.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1642, allocations: 4 kB / 400.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.1642, allocations: 11.98 kB / 400.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1644, allocations: 35.86 kB / 400.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.1644, allocations: 12.23 kB / 400.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/0.1645, allocations: 19.84 kB / 400.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1646, allocations: 20.25 kB / 400.8 MB, free: 12.59 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.0002824/0.1649, allocations: 159.7 kB / 401 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.165, allocations: 93.47 kB / 401.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.1651, allocations: 20.83 kB / 401.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1651, allocations: 0 / 401.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1651, allocations: 0 / 401.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1651, allocations: 4 kB / 401.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.1659, allocations: 0.4909 MB / 401.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1659, allocations: 0 / 401.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.166, allocations: 19.94 kB / 401.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1661, allocations: 3.984 kB / 401.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1661, allocations: 8 kB / 401.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1661, allocations: 0 / 401.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1661, allocations: 0 / 401.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.1666, allocations: 348.1 kB / 401.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.1668, allocations: 88.92 kB / 402 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.1668, allocations: 11.98 kB / 402 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1669, allocations: 11.98 kB / 402.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.167, allocations: 15.98 kB / 402.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.1671, allocations: 8 kB / 402.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1672, allocations: 115.9 kB / 402.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1672, allocations: 4 kB / 402.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.1675, allocations: 32 kB / 402.2 MB, free: 11.06 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.0001781/0.1677, allocations: 111.1 kB / 402.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.1681, allocations: 167.9 kB / 402.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1681, allocations: 0 / 402.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1682, allocations: 68.03 kB / 402.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1687, allocations: 44.88 kB / 402.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000704/0.1694, allocations: 351 kB / 402.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.1699, allocations: 0.7283 MB / 403.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.38e-05/0.1699, allocations: 13.42 kB / 403.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.17, allocations: 15.44 kB / 403.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.17, allocations: 3.938 kB / 403.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of Templates: time 0.004397/0.1744, allocations: 1.236 MB / 404.9 MB, free: 8.277 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: