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.0009102/0.0009102, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.004904/0.004904, allocations: 169.4 kB / 16.26 MB, free: 6.656 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.413/1.413, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3414/0.3414, allocations: 38.04 MB / 308.8 MB, free: 10.3 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.0005971/0.0005972, allocations: 16 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1452, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002474/0.1477, allocations: 1.579 MB / 436.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1496, allocations: 0.952 MB / 437.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1498, allocations: 4 kB / 437.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009289/0.1507, allocations: 175.6 kB / 437.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.151, allocations: 107.7 kB / 437.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.1514, allocations: 163.8 kB / 437.5 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1517, allocations: 251.4 kB / 437.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1518, allocations: 29.95 kB / 437.8 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.152, allocations: 103.5 kB / 437.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1521, allocations: 103.6 kB / 438 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1522, allocations: 8 kB / 438 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1523, allocations: 55.91 kB / 438.1 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.1524, allocations: 51.83 kB / 438.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1525, allocations: 121.2 kB / 438.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1528, allocations: 267.1 kB / 438.5 MB, free: 1.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1528, allocations: 3.938 kB / 438.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1528, allocations: 0 / 438.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1528, allocations: 0 / 438.5 MB, free: 1.238 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.0008851/0.1537, allocations: 0.6183 MB / 439.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1538, allocations: 12.03 kB / 439.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.1538, allocations: 28.66 kB / 439.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.1542, allocations: 270.8 kB / 439.4 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1543, allocations: 93.66 kB / 439.5 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1543, allocations: 19.88 kB / 439.5 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1547, allocations: 157.1 kB / 439.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1547, allocations: 0 / 439.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.1547, allocations: 8 kB / 439.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1547, allocations: 4 kB / 439.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.155, allocations: 91.88 kB / 439.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.1558, allocations: 0.618 MB / 440.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.1561, allocations: 179.9 kB / 440.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1563, allocations: 98.48 kB / 440.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1563, allocations: 4 kB / 440.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.1568, allocations: 441 kB / 441.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.242e-06/0.1568, allocations: 0 / 441.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008016/0.1576, allocations: 446.7 kB / 441.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1577, allocations: 213.6 kB / 441.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.1581, allocations: 320.9 kB / 442.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.1581, allocations: 33.7 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1582, allocations: 136.6 kB / 442.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.1583, allocations: 51.28 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1583, allocations: 41.64 kB / 442.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1585, allocations: 338.8 kB / 442.7 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1586, allocations: 59.97 kB / 442.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.1588, allocations: 150.2 kB / 442.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.1592, allocations: 362.6 kB / 443.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1592, allocations: 0 / 443.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004998/0.1597, allocations: 354.1 kB / 443.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.1598, allocations: 97.02 kB / 443.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1598, allocations: 4 kB / 443.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1598, allocations: 4 kB / 443.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1599, allocations: 20 kB / 443.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.16, allocations: 11.92 kB / 443.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1601, allocations: 20.19 kB / 443.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1601, allocations: 12 kB / 443.7 MB, free: 11.43 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.0002167/0.1604, allocations: 265.8 kB / 444 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.1604, allocations: 39.59 kB / 444 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.1605, allocations: 29.7 kB / 444.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1605, allocations: 0 / 444.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1605, allocations: 4 kB / 444.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1605, allocations: 0 / 444.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1608, allocations: 293.4 kB / 444.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1608, allocations: 4 kB / 444.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.1608, allocations: 8 kB / 444.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1608, allocations: 3.938 kB / 444.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.1608, allocations: 11.98 kB / 444.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1608, allocations: 0 / 444.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1609, allocations: 4 kB / 444.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.1615, allocations: 447.5 kB / 444.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.1616, allocations: 112.7 kB / 444.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.1616, allocations: 12 kB / 444.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1617, allocations: 19.98 kB / 445 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.1618, allocations: 23.97 kB / 445 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.1618, allocations: 12 kB / 445 MB, free: 10.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.1621, allocations: 236.4 kB / 445.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1621, allocations: 0 / 445.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.1624, allocations: 60 kB / 445.3 MB, free: 9.742 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.0009215/0.1633, allocations: 435.5 kB / 445.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005294/0.1639, allocations: 401.9 kB / 446.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1639, allocations: 0 / 446.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.1642, allocations: 338.1 kB / 446.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1646, allocations: 64.22 kB / 446.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.1654, allocations: 0.4892 MB / 447 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1657, allocations: 0.7482 MB / 447.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.677e-05/0.1658, allocations: 33.83 kB / 447.8 MB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.1658, allocations: 19.44 kB / 447.8 MB, free: 7.129 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1659, allocations: 0 / 447.8 MB, free: 7.129 MB / 382.1 MB Notification: Performance of Templates: time 0.006579/0.1724, allocations: 3.138 MB / 450.9 MB, free: 3.988 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: