Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001194/0.001194, allocations: 188.3 kB / 16.25 MB, free: 6.629 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.635/1.635, allocations: 205.1 MB / 222.1 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3859/0.3859, allocations: 37.97 MB / 307.4 MB, free: 10.23 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.1. 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.00144/0.00144, allocations: 74.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1476, allocations: 56.46 MB / 431.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003874/0.1515, allocations: 1.926 MB / 433.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1532, allocations: 0.9558 MB / 434.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.1533, allocations: 0 / 434.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.154, allocations: 175.6 kB / 434.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1543, allocations: 111.7 kB / 434.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.1548, allocations: 163.7 kB / 434.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.1551, allocations: 275.4 kB / 434.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1552, allocations: 37.94 kB / 434.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1554, allocations: 111.5 kB / 434.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1555, allocations: 119.6 kB / 435 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.1556, allocations: 20 kB / 435.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1557, allocations: 63.89 kB / 435.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/0.1558, allocations: 59.83 kB / 435.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1559, allocations: 111.4 kB / 435.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.1563, allocations: 279.1 kB / 435.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.1563, allocations: 3.984 kB / 435.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1563, allocations: 0 / 435.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1563, allocations: 0 / 435.6 MB, free: 2.574 MB / 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.001165/0.1575, allocations: 0.6533 MB / 436.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.66e-05/0.1576, allocations: 11.89 kB / 436.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1577, allocations: 28.66 kB / 436.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.1582, allocations: 274.8 kB / 436.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.1583, allocations: 93.67 kB / 436.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.1584, allocations: 23.88 kB / 436.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.1587, allocations: 157 kB / 436.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1588, allocations: 0 / 436.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1588, allocations: 4 kB / 436.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1588, allocations: 0 / 436.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.1591, allocations: 95.84 kB / 436.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.1601, allocations: 0.6179 MB / 437.5 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.1605, allocations: 175.9 kB / 437.7 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1606, allocations: 90.55 kB / 437.8 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.1607, allocations: 0 / 437.8 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000538/0.1612, allocations: 441 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/0.1612, allocations: 0 / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008499/0.1621, allocations: 438.3 kB / 438.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.1622, allocations: 217.6 kB / 438.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.1626, allocations: 316.9 kB / 439.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1627, allocations: 33.7 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.611e-05/0.1628, allocations: 140.6 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.1628, allocations: 59.28 kB / 439.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.1629, allocations: 45.7 kB / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.163, allocations: 338.8 kB / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1632, allocations: 51.97 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.1634, allocations: 146.2 kB / 440 MB, free: 13.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.1638, allocations: 359 kB / 440.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1638, allocations: 0 / 440.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005098/0.1643, allocations: 358 kB / 440.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.1644, allocations: 97.09 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1644, allocations: 0 / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1644, allocations: 4 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.1645, allocations: 19.98 kB / 440.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1645, allocations: 8.094 kB / 440.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1647, allocations: 19.98 kB / 440.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1647, allocations: 19.92 kB / 440.8 MB, free: 12.75 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.0002556/0.165, allocations: 273.6 kB / 441.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.165, allocations: 39.5 kB / 441.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.1651, allocations: 25.7 kB / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1651, allocations: 4 kB / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1651, allocations: 0 / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1651, allocations: 0 / 441.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1655, allocations: 289.5 kB / 441.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1655, allocations: 0 / 441.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.1655, allocations: 11.94 kB / 441.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1655, allocations: 4 kB / 441.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.1656, allocations: 12 kB / 441.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1656, allocations: 0 / 441.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1656, allocations: 0 / 441.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.1663, allocations: 455.5 kB / 441.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.1664, allocations: 100.7 kB / 442 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.1665, allocations: 19.98 kB / 442 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1666, allocations: 12 kB / 442 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.1667, allocations: 24.16 kB / 442.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.1668, allocations: 8 kB / 442.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.167, allocations: 232.4 kB / 442.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.167, allocations: 0 / 442.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.1675, allocations: 64 kB / 442.4 MB, free: 11.07 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.0009666/0.1684, allocations: 444.2 kB / 442.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006065/0.1691, allocations: 401.9 kB / 443.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1691, allocations: 0 / 443.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.1695, allocations: 342.5 kB / 443.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1699, allocations: 60.28 kB / 443.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.1709, allocations: 0.4895 MB / 444.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1713, allocations: 0.7518 MB / 444.8 MB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.917e-05/0.1714, allocations: 21.86 kB / 444.8 MB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.1714, allocations: 23.42 kB / 444.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1714, allocations: 0 / 444.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of Templates: time 0.007137/0.1786, allocations: 3.336 MB / 448.2 MB, free: 5.109 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe 2>&1)