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.001134/0.001134, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001356/0.001356, allocations: 190.5 kB / 16.25 MB, free: 6.145 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.563/1.563, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3598/0.3598, allocations: 39.94 MB / 309.4 MB, free: 9.047 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.002038/0.002038, allocations: 67.91 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.158, allocations: 56.88 MB / 434 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.004866/0.163, allocations: 1.923 MB / 435.9 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1651, allocations: 0.9558 MB / 436.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.1654, allocations: 0 / 436.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.1663, allocations: 171.6 kB / 437 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.1667, allocations: 123.6 kB / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.1673, allocations: 155.8 kB / 437.3 MB, free: 404 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.1677, allocations: 283.3 kB / 437.6 MB, free: 120 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1679, allocations: 33.64 kB / 437.6 MB, free: 88 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1681, allocations: 115.7 kB / 437.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1683, allocations: 115.5 kB / 437.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.1684, allocations: 16 kB / 437.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.1686, allocations: 55.98 kB / 437.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1687, allocations: 67.81 kB / 438 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1689, allocations: 115.5 kB / 438.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.1693, allocations: 271.3 kB / 438.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1693, allocations: 0 / 438.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1693, allocations: 0 / 438.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1693, allocations: 4 kB / 438.4 MB, free: 15.34 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.0012/0.1705, allocations: 0.649 MB / 439 MB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.1706, allocations: 15.89 kB / 439 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1708, allocations: 28.66 kB / 439.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.1713, allocations: 290.5 kB / 439.3 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.1714, allocations: 97.05 kB / 439.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.1715, allocations: 16 kB / 439.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.1719, allocations: 153 kB / 439.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1719, allocations: 4 kB / 439.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.1719, allocations: 7.938 kB / 439.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1719, allocations: 3.938 kB / 439.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.1722, allocations: 95.92 kB / 439.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009856/0.1732, allocations: 0.5985 MB / 440.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.1736, allocations: 179.9 kB / 440.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1738, allocations: 90.55 kB / 440.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.1738, allocations: 4 kB / 440.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.1743, allocations: 440.8 kB / 441 MB, free: 12.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.1743, allocations: 4 kB / 441 MB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009773/0.1753, allocations: 442.4 kB / 441.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/0.1755, allocations: 225.5 kB / 441.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.176, allocations: 313 kB / 442 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.176, allocations: 33.7 kB / 442 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1762, allocations: 132.6 kB / 442.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.1763, allocations: 51.34 kB / 442.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1764, allocations: 57.69 kB / 442.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004931/0.1769, allocations: 334.8 kB / 442.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1771, allocations: 59.97 kB / 442.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.1774, allocations: 142.2 kB / 442.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.1779, allocations: 362.5 kB / 443.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1779, allocations: 0 / 443.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005384/0.1784, allocations: 342.5 kB / 443.4 MB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.257e-05/0.1785, allocations: 101.3 kB / 443.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1785, allocations: 4 kB / 443.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1786, allocations: 0 / 443.5 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1787, allocations: 23.92 kB / 443.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1787, allocations: 4 kB / 443.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.1789, allocations: 27.83 kB / 443.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.1789, allocations: 12.38 kB / 443.6 MB, free: 9.516 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,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.1791, allocations: 277.3 kB / 443.9 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.1792, allocations: 27.72 kB / 443.9 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.1793, allocations: 25.72 kB / 443.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1793, allocations: 4.172 kB / 443.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1793, allocations: 0 / 443.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1793, allocations: 7.984 kB / 444 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1797, allocations: 289.3 kB / 444.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1797, allocations: 0 / 444.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.1797, allocations: 11.98 kB / 444.2 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1797, allocations: 4 kB / 444.2 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.1798, allocations: 15.94 kB / 444.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1798, allocations: 0 / 444.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1798, allocations: 0 / 444.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.1805, allocations: 451.3 kB / 444.7 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1807, allocations: 100.8 kB / 444.8 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.1808, allocations: 8 kB / 444.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1809, allocations: 23.98 kB / 444.8 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.181, allocations: 15.98 kB / 444.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.181, allocations: 15.98 kB / 444.9 MB, free: 8.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.1813, allocations: 228.5 kB / 445.1 MB, free: 7.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1813, allocations: 4 kB / 445.1 MB, free: 7.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.1817, allocations: 63.92 kB / 445.2 MB, free: 7.836 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 (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.0009952/0.1827, allocations: 439.8 kB / 445.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005759/0.1833, allocations: 401.8 kB / 446 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1833, allocations: 0 / 446 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.1837, allocations: 350 kB / 446.3 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1841, allocations: 48.73 kB / 446.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1852, allocations: 0.4974 MB / 446.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.1856, allocations: 0.7557 MB / 447.6 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.1857, allocations: 25.84 kB / 447.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.1858, allocations: 23.44 kB / 447.7 MB, free: 5.211 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1858, allocations: 0 / 447.7 MB, free: 5.211 MB / 382.1 MB Notification: Performance of Templates: time 0.008288/0.1941, allocations: 3.317 MB / 451 MB, free: 1.895 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.makefile (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)