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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.005894/0.005894, allocations: 164.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.207/1.207, allocations: 170.8 MB / 186.6 MB, free: 1.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001926/0.001926, allocations: 118.2 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3511/0.3511, allocations: 38.04 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004931, allocations: 8 kB / 362.9 MB, free: 5.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 48.7 MB / 411.6 MB, free: 4.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.5352, allocations: 74.63 MB / 486.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5355, allocations: 61.78 kB / 486.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007567/0.5431, allocations: 1.988 MB / 488.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5431, allocations: 0 / 488.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.5431, allocations: 0 / 488.2 MB, free: 11.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005453/0.5437, allocations: 0.5447 MB / 488.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5437, allocations: 8.031 kB / 488.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.5438, allocations: 16.91 kB / 488.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5439, allocations: 177.7 kB / 489 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.544, allocations: 89.09 kB / 489.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.5441, allocations: 15.38 kB / 489.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.5444, allocations: 142.7 kB / 489.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5445, allocations: 0 / 489.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.5445, allocations: 10.81 kB / 489.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.5445, allocations: 0 / 489.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.5448, allocations: 85.06 kB / 489.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/0.5456, allocations: 0.5337 MB / 489.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.5459, allocations: 157.5 kB / 490 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.546, allocations: 0 / 490 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.5464, allocations: 468.9 kB / 490.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.5464, allocations: 4 kB / 490.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.001111/0.5475, allocations: 0.7726 MB / 491.2 MB, free: 8.172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.5476, allocations: 250 kB / 491.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.5478, allocations: 128.4 kB / 491.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.5478, allocations: 33.02 kB / 491.6 MB, free: 7.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.5479, allocations: 94.27 kB / 491.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.5479, allocations: 45.25 kB / 491.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/0.548, allocations: 7.5 kB / 491.8 MB, free: 7.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.548, allocations: 329.5 kB / 492.1 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.5482, allocations: 57.7 kB / 492.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.5484, allocations: 124.8 kB / 492.3 MB, free: 7.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.5487, allocations: 195.6 kB / 492.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5487, allocations: 0 / 492.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006567/0.5493, allocations: 416.6 kB / 492.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.5494, allocations: 152 kB / 493 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5494, allocations: 0 / 493 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.5495, allocations: 4 kB / 493 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.5496, allocations: 11.94 kB / 493 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5496, allocations: 4 kB / 493.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.5498, allocations: 33.33 kB / 493.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.5498, allocations: 12 kB / 493.1 MB, free: 6.281 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.55, allocations: 285.8 kB / 493.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.5501, allocations: 15.91 kB / 493.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.5501, allocations: 12.36 kB / 493.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.5501, allocations: 4 kB / 493.4 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5501, allocations: 4 kB / 493.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5502, allocations: 3.984 kB / 493.4 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.5509, allocations: 0.5636 MB / 494 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5509, allocations: 0 / 494 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.5509, allocations: 0 / 494 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5509, allocations: 4 kB / 494 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.551, allocations: 15.67 kB / 494 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.551, allocations: 0 / 494 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.551, allocations: 4 kB / 494 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.5518, allocations: 0.5732 MB / 494.6 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.5519, allocations: 92.23 kB / 494.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.5519, allocations: 19.95 kB / 494.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.5521, allocations: 23.3 kB / 494.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.5522, allocations: 15.28 kB / 494.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.5523, allocations: 19.36 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.5523, allocations: 100.6 kB / 494.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5524, allocations: 3.938 kB / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005577/0.5529, allocations: 63.5 kB / 494.9 MB, free: 4.504 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 22 (onDelay1.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next) * Number of discrete states: 16 (onDelay2.t_next,onDelay2.delaySignal,$whenCondition7,$whenCondition6,onDelay3.t_next,onDelay3.delaySignal,$whenCondition5,$whenCondition4,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/0.5532, allocations: 142.8 kB / 495 MB, free: 4.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.5538, allocations: 0.4953 MB / 495.5 MB, free: 3.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5538, allocations: 0 / 495.5 MB, free: 3.879 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.5542, allocations: 410.5 kB / 495.9 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.5545, allocations: 23.06 kB / 496 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.5552, allocations: 321.3 kB / 496.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.5554, allocations: 0.7121 MB / 497 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.879e-05/0.5554, allocations: 8.422 kB / 497 MB, free: 2.441 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.5555, allocations: 11.44 kB / 497 MB, free: 2.43 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5555, allocations: 0 / 497 MB, free: 2.43 MB / 330.7 MB Notification: Performance of Templates: time 0.005422/0.5609, allocations: 1.732 MB / 498.7 MB, free: 0.7227 MB / 330.7 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)