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.001537/0.001536, 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.00181/0.00181, allocations: 192.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.548/1.548, allocations: 205.1 MB / 222 MB, free: 4.949 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.3481/0.3481, allocations: 37.98 MB / 307.3 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.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.001332/0.001332, allocations: 70.42 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1519, allocations: 56.46 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003719/0.1557, allocations: 1.914 MB / 432.9 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.1577, allocations: 0.9674 MB / 433.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.1579, allocations: 4 kB / 433.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.1589, allocations: 187.6 kB / 434.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.1593, allocations: 107.7 kB / 434.2 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.1598, allocations: 155.8 kB / 434.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.1601, allocations: 255.3 kB / 434.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1603, allocations: 33.94 kB / 434.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.1605, allocations: 95.61 kB / 434.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1608, allocations: 111.6 kB / 434.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.1608, allocations: 12 kB / 434.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.161, allocations: 51.91 kB / 434.9 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1611, allocations: 55.81 kB / 434.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1613, allocations: 99.47 kB / 435 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.1617, allocations: 271.1 kB / 435.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.1618, allocations: 0 / 435.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1618, allocations: 0 / 435.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1618, allocations: 0 / 435.3 MB, free: 2.75 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.001313/0.1631, allocations: 0.6572 MB / 436 MB, free: 2.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.1632, allocations: 8.031 kB / 436 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1633, allocations: 32.64 kB / 436 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.1637, allocations: 270.8 kB / 436.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.1638, allocations: 93.67 kB / 436.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.1639, allocations: 23.88 kB / 436.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1642, allocations: 165 kB / 436.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1643, allocations: 0 / 436.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.1643, allocations: 4 kB / 436.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.1643, allocations: 0 / 436.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.1645, allocations: 91.88 kB / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000987/0.1655, allocations: 0.614 MB / 437.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.1659, allocations: 179.9 kB / 437.4 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1661, allocations: 94.48 kB / 437.5 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1661, allocations: 3.984 kB / 437.5 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/0.1666, allocations: 441 kB / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.1666, allocations: 0 / 438 MB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008297/0.1675, allocations: 438.3 kB / 438.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1676, allocations: 221.6 kB / 438.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.168, allocations: 316.9 kB / 438.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.168, allocations: 33.7 kB / 438.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.1681, allocations: 136.6 kB / 439.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.1682, allocations: 55.34 kB / 439.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.1682, allocations: 49.64 kB / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1684, allocations: 338.8 kB / 439.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.1685, allocations: 55.97 kB / 439.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1688, allocations: 146.2 kB / 439.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.1692, allocations: 354.7 kB / 440.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1692, allocations: 0 / 440.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005309/0.1697, allocations: 358.1 kB / 440.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/0.1698, allocations: 93.09 kB / 440.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1698, allocations: 4 kB / 440.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1699, allocations: 0 / 440.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.17, allocations: 24.36 kB / 440.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.17, allocations: 7.938 kB / 440.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1702, allocations: 19.98 kB / 440.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1702, allocations: 16 kB / 440.6 MB, free: 12.92 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.0002616/0.1705, allocations: 269.5 kB / 440.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.1705, allocations: 35.56 kB / 440.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.1706, allocations: 29.64 kB / 440.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1706, allocations: 4 kB / 440.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.1706, allocations: 0 / 440.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1706, allocations: 0 / 440.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.171, allocations: 289.5 kB / 441.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.171, allocations: 0 / 441.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.171, allocations: 15.94 kB / 441.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.171, allocations: 4 kB / 441.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.1711, allocations: 8 kB / 441.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1711, allocations: 4.141 kB / 441.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1711, allocations: 0 / 441.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.1718, allocations: 443.5 kB / 441.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.1718, allocations: 112.7 kB / 441.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.1719, allocations: 12 kB / 441.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.172, allocations: 19.98 kB / 441.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.1721, allocations: 19.97 kB / 441.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1721, allocations: 11.94 kB / 441.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.1724, allocations: 232.4 kB / 442 MB, free: 11.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1724, allocations: 0 / 442 MB, free: 11.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.1727, allocations: 64 kB / 442.1 MB, free: 11.24 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.0009405/0.1737, allocations: 440.7 kB / 442.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.1742, allocations: 390 kB / 442.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1742, allocations: 3.938 kB / 442.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.1746, allocations: 342.6 kB / 443.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.175, allocations: 60.28 kB / 443.3 MB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.1758, allocations: 499 kB / 443.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1762, allocations: 0.7559 MB / 444.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.129e-05/0.1763, allocations: 25.53 kB / 444.6 MB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.1763, allocations: 19.44 kB / 444.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1763, allocations: 0 / 444.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of Templates: time 0.006784/0.1831, allocations: 3.178 MB / 447.8 MB, free: 5.445 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)