Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 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(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008978/0.0008978, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001117/0.001118, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4543/0.4543, allocations: 40 MB / 310.4 MB, free: 9.918 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005579/0.0005579, allocations: 16 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1532, allocations: 57.95 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003233/0.1565, allocations: 1.545 MB / 438.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1585, allocations: 0.8979 MB / 439.2 MB, free: 96 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.1588, allocations: 4 kB / 439.2 MB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009762/0.1598, allocations: 171.6 kB / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.1603, allocations: 107.7 kB / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.161, allocations: 135.8 kB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005621/0.1616, allocations: 243.4 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1617, allocations: 25.61 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.162, allocations: 95.67 kB / 440 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1623, allocations: 103.6 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.1623, allocations: 8 kB / 440.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.1626, allocations: 47.91 kB / 440.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1627, allocations: 55.81 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.1628, allocations: 77.58 kB / 440.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.1633, allocations: 203.8 kB / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1633, allocations: 0 / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1633, allocations: 0 / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.1633, allocations: 0 / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001169/0.1645, allocations: 0.6181 MB / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1646, allocations: 12.03 kB / 441.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.968e-05/0.1647, allocations: 27.72 kB / 441.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.1651, allocations: 265.6 kB / 441.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.1652, allocations: 104.9 kB / 441.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.1653, allocations: 16 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.1656, allocations: 161.2 kB / 441.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1656, allocations: 0 / 441.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1657, allocations: 15.89 kB / 441.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1657, allocations: 4 kB / 441.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.166, allocations: 87.94 kB / 441.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.1669, allocations: 0.6025 MB / 442.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.1673, allocations: 191.9 kB / 442.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.1675, allocations: 90.53 kB / 442.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.1675, allocations: 4 kB / 442.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.1681, allocations: 433.2 kB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.1681, allocations: 3.938 kB / 443.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001003/0.1691, allocations: 450.2 kB / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/0.1693, allocations: 217.6 kB / 443.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.1697, allocations: 320.9 kB / 444.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.1698, allocations: 33.7 kB / 444.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1699, allocations: 128.6 kB / 444.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-05/0.17, allocations: 55.34 kB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.17, allocations: 4 kB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1702, allocations: 342.8 kB / 444.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.1704, allocations: 56.16 kB / 444.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.1706, allocations: 146.6 kB / 444.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1709, allocations: 157.1 kB / 445 MB, free: 9.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1709, allocations: 0 / 445 MB, free: 9.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005686/0.1715, allocations: 350.2 kB / 445.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.493e-05/0.1716, allocations: 97.08 kB / 445.4 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1716, allocations: 8.312 kB / 445.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1716, allocations: 4 kB / 445.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1717, allocations: 27.92 kB / 445.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1718, allocations: 224 / 445.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.1719, allocations: 31.84 kB / 445.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.172, allocations: 19.98 kB / 445.5 MB, free: 9.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002933/0.1723, allocations: 257.5 kB / 445.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.1723, allocations: 31.67 kB / 445.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.1724, allocations: 29.7 kB / 445.8 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.1724, allocations: 4 kB / 445.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1724, allocations: 0 / 445.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1724, allocations: 7.984 kB / 445.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.1727, allocations: 285.4 kB / 446.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1728, allocations: 0 / 446.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.1728, allocations: 11.88 kB / 446.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.1728, allocations: 7.953 kB / 446.1 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.1728, allocations: 15.98 kB / 446.1 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1729, allocations: 0 / 446.1 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1729, allocations: 0 / 446.1 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.1735, allocations: 435.6 kB / 446.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.1736, allocations: 104.8 kB / 446.7 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.1737, allocations: 15.95 kB / 446.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1738, allocations: 27.92 kB / 446.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1739, allocations: 23.91 kB / 446.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.174, allocations: 16 kB / 446.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.1743, allocations: 232.4 kB / 447 MB, free: 7.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1743, allocations: 0 / 447 MB, free: 7.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.1747, allocations: 67.84 kB / 447 MB, free: 7.633 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.001169/0.1759, allocations: 442.3 kB / 447.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000654/0.1766, allocations: 389.9 kB / 447.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1766, allocations: 4 kB / 447.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.177, allocations: 346.1 kB / 448.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1774, allocations: 52.84 kB / 448.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009457/0.1784, allocations: 480.5 kB / 448.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.1788, allocations: 0.7521 MB / 449.5 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.1789, allocations: 25.84 kB / 449.5 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.179, allocations: 19.44 kB / 449.5 MB, free: 5.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.179, allocations: 0 / 449.5 MB, free: 5.051 MB / 382.1 MB Notification: Performance of Templates: time 0.008073/0.1871, allocations: 3.063 MB / 452.6 MB, free: 1.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe 2>&1) Environment - environmentSimulation: