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.001306/0.001306, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001099/0.001099, allocations: 196.6 kB / 16.14 MB, free: 6.703 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.653/1.653, allocations: 205.1 MB / 222 MB, free: 5 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.4813/0.4813, allocations: 39.94 MB / 309.3 MB, free: 9.559 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.001489/0.001489, allocations: 63.92 kB / 376.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1696, allocations: 56.88 MB / 433.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003804/0.1734, allocations: 1.946 MB / 435.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1753, allocations: 0.9482 MB / 436.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1754, allocations: 4 kB / 436.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.1762, allocations: 183.6 kB / 436.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1765, allocations: 111.7 kB / 437 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.1769, allocations: 147.8 kB / 437.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.1772, allocations: 259.3 kB / 437.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1773, allocations: 45.62 kB / 437.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1775, allocations: 95.62 kB / 437.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1777, allocations: 107.6 kB / 437.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.1777, allocations: 8 kB / 437.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1778, allocations: 59.89 kB / 437.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.1779, allocations: 51.83 kB / 437.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1781, allocations: 111.4 kB / 437.8 MB, free: 424 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.1784, allocations: 263.4 kB / 438.1 MB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1785, allocations: 0 / 438.1 MB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1785, allocations: 0 / 438.1 MB, free: 160 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1785, allocations: 3.938 kB / 438.1 MB, free: 156 kB / 366.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.001226/0.1797, allocations: 0.6611 MB / 438.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1798, allocations: 8.031 kB / 438.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.657e-05/0.1799, allocations: 32.66 kB / 438.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.1803, allocations: 278.7 kB / 439.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.1805, allocations: 97.05 kB / 439.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.1805, allocations: 12 kB / 439.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.1809, allocations: 153 kB / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1809, allocations: 0 / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.181, allocations: 11.98 kB / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.181, allocations: 8 kB / 439.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.1812, allocations: 87.88 kB / 439.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1823, allocations: 0.6102 MB / 440.1 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.1827, allocations: 171.9 kB / 440.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.1829, allocations: 94.55 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.1829, allocations: 0 / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.1835, allocations: 444.8 kB / 440.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.223e-06/0.1835, allocations: 0 / 440.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.000966/0.1845, allocations: 434.4 kB / 441.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.1847, allocations: 221.6 kB / 441.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.185, allocations: 309 kB / 441.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1851, allocations: 37.7 kB / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1852, allocations: 136.6 kB / 441.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.1852, allocations: 55.34 kB / 441.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.1853, allocations: 49.7 kB / 442 MB, free: 11.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.1856, allocations: 338.8 kB / 442.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1857, allocations: 52.34 kB / 442.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.186, allocations: 154.1 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.1864, allocations: 358.7 kB / 442.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1864, allocations: 0 / 442.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004947/0.1869, allocations: 346.5 kB / 443.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.187, allocations: 97.09 kB / 443.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.187, allocations: 4.156 kB / 443.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.187, allocations: 8 kB / 443.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1871, allocations: 19.98 kB / 443.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1871, allocations: 7.938 kB / 443.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.1873, allocations: 27.83 kB / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.1873, allocations: 8 kB / 443.4 MB, free: 10.33 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.0002893/0.1876, allocations: 269.6 kB / 443.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.1877, allocations: 39.7 kB / 443.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.1878, allocations: 25.7 kB / 443.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.1878, allocations: 7.938 kB / 443.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1878, allocations: 0 / 443.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1878, allocations: 0 / 443.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.1882, allocations: 301.2 kB / 444 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1882, allocations: 7.938 kB / 444 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.1882, allocations: 4 kB / 444 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1882, allocations: 0 / 444 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.1883, allocations: 12 kB / 444 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.1883, allocations: 4 kB / 444 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1883, allocations: 4 kB / 444 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.189, allocations: 443.4 kB / 444.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.1891, allocations: 96.83 kB / 444.5 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.1892, allocations: 15.98 kB / 444.6 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1893, allocations: 16 kB / 444.6 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.1894, allocations: 23.97 kB / 444.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.1894, allocations: 12 kB / 444.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002345/0.1897, allocations: 232.4 kB / 444.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1897, allocations: 0 / 444.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.19, allocations: 63.94 kB / 444.9 MB, free: 8.648 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.001117/0.1911, allocations: 447.5 kB / 445.3 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.1918, allocations: 389.8 kB / 445.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1918, allocations: 0 / 445.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.1922, allocations: 338.1 kB / 446 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1926, allocations: 56.66 kB / 446.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.1934, allocations: 0.4917 MB / 446.6 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.1938, allocations: 0.7598 MB / 447.4 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.504e-05/0.1939, allocations: 21.91 kB / 447.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.194, allocations: 23.42 kB / 447.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.194, allocations: 0 / 447.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of Templates: time 0.00835/0.2024, allocations: 3.169 MB / 450.6 MB, free: 2.863 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)