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.001112/0.001112, allocations: 102.9 kB / 16.45 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001335, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.753/1.753, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09499/0.09499, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.00199/0.00199, allocations: 82.52 kB / 394.1 MB, free: 45.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.15, allocations: 49.41 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.004005/0.1541, allocations: 1.707 MB / 445.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1554, allocations: 0.5658 MB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1555, allocations: 3.938 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1557, allocations: 15.86 kB / 445.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.1558, allocations: 23.78 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.1564, allocations: 91.77 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1566, allocations: 131.6 kB / 446.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.1567, allocations: 41 kB / 446.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1569, allocations: 63.7 kB / 446.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1571, allocations: 75.73 kB / 446.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.1571, allocations: 8 kB / 446.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.914e-05/0.1572, allocations: 12 kB / 446.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.1572, allocations: 51.81 kB / 446.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.1573, allocations: 55.66 kB / 446.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1576, allocations: 119.6 kB / 446.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1576, allocations: 0 / 446.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1576, allocations: 0 / 446.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1576, allocations: 4 kB / 446.5 MB, free: 13.5 MB / 334.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.0009921/0.1586, allocations: 474.4 kB / 447 MB, free: 12.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1587, allocations: 12.03 kB / 447 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.1587, allocations: 16.75 kB / 447 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1591, allocations: 218 kB / 447.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1591, allocations: 8.375 kB / 447.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.1592, allocations: 16.36 kB / 447.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.1598, allocations: 249 kB / 447.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1598, allocations: 0 / 447.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.1598, allocations: 0 / 447.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1598, allocations: 4 kB / 447.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.1601, allocations: 83.88 kB / 447.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.1608, allocations: 361.4 kB / 447.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.1612, allocations: 185.2 kB / 448.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1614, allocations: 89.67 kB / 448.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.1614, allocations: 11.88 kB / 448.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.1617, allocations: 111.3 kB / 448.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.1617, allocations: 0 / 448.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007147/0.1624, allocations: 293.4 kB / 448.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.1626, allocations: 85.11 kB / 448.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1628, allocations: 158.1 kB / 448.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.1629, allocations: 33.7 kB / 448.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.163, allocations: 104 kB / 449 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.163, allocations: 35.64 kB / 449 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.1631, allocations: 41.94 kB / 449 MB, free: 10.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.1634, allocations: 330.8 kB / 449.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.98e-05/0.1635, allocations: 44.44 kB / 449.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.1637, allocations: 159.5 kB / 449.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.1641, allocations: 234.2 kB / 449.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.1641, allocations: 4 kB / 449.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003848/0.1645, allocations: 229.6 kB / 450 MB, free: 9.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.1646, allocations: 11.98 kB / 450 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1646, allocations: 4 kB / 450 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.1646, allocations: 4 kB / 450 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1648, allocations: 35.92 kB / 450.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.1648, allocations: 11.94 kB / 450.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.1649, allocations: 15.84 kB / 450.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1649, allocations: 12 kB / 450.1 MB, free: 9.535 MB / 334.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 (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.0002482/0.1652, allocations: 156 kB / 450.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1653, allocations: 89.58 kB / 450.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.1654, allocations: 20.83 kB / 450.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1654, allocations: 0 / 450.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1654, allocations: 0 / 450.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1654, allocations: 4 kB / 450.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.1661, allocations: 490.2 kB / 450.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1662, allocations: 0 / 450.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.045e-05/0.1663, allocations: 23.98 kB / 450.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.1663, allocations: 0 / 450.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.1663, allocations: 11.94 kB / 450.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1663, allocations: 3.938 kB / 450.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1663, allocations: 3.984 kB / 450.9 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.1668, allocations: 336 kB / 451.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.1669, allocations: 88.92 kB / 451.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.1669, allocations: 15.94 kB / 451.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1671, allocations: 15.98 kB / 451.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.1672, allocations: 11.97 kB / 451.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.1672, allocations: 7.984 kB / 451.4 MB, free: 8.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.776e-05/0.1673, allocations: 123.2 kB / 451.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1673, allocations: 0 / 451.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.1676, allocations: 31.94 kB / 451.5 MB, free: 8.02 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.1678, allocations: 111.1 kB / 451.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.1682, allocations: 171.7 kB / 451.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1682, allocations: 0 / 451.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.1683, allocations: 55.97 kB / 451.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1687, allocations: 53.02 kB / 451.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.1694, allocations: 301 kB / 452.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.1698, allocations: 0.7202 MB / 452.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.1699, allocations: 21.42 kB / 452.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.17, allocations: 15.44 kB / 453 MB, free: 6.523 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.17, allocations: 0 / 453 MB, free: 6.523 MB / 334.1 MB Notification: Performance of Templates: time 0.005743/0.1757, allocations: 1.462 MB / 454.4 MB, free: 5.062 MB / 334.1 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)