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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.006552/0.006552, allocations: 176 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.682/1.682, allocations: 194.5 MB / 210.3 MB, free: 7.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001485/0.001485, allocations: 124.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1818/0.1818, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 14.72 kB / 406.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.128, allocations: 54.87 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.2514, allocations: 81.02 MB / 0.5293 GB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.2517, allocations: 63.97 kB / 0.5294 GB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006324/0.258, allocations: 1.977 MB / 0.5313 GB, free: 148 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.258, allocations: 0 / 0.5313 GB, free: 148 kB / 378.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2581, allocations: 4 kB / 0.5313 GB, free: 144 kB / 378.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.2189/0.477, allocations: 0.5415 MB / 0.5319 GB, free: 82.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/0.477, allocations: 9.875 kB / 0.5319 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.4772, allocations: 18.39 kB / 0.5319 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.4773, allocations: 176.9 kB / 0.532 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.4775, allocations: 88.83 kB / 0.5321 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.4775, allocations: 15.91 kB / 0.5321 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.478, allocations: 145 kB / 0.5323 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.478, allocations: 0 / 0.5323 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.478, allocations: 4.062 kB / 0.5323 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4781, allocations: 3.344 kB / 0.5323 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.4783, allocations: 93.19 kB / 0.5324 GB, free: 81.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.4792, allocations: 0.5197 MB / 0.5329 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.4795, allocations: 158.4 kB / 0.533 GB, free: 81.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4795, allocations: 1.562 kB / 0.533 GB, free: 81.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004859/0.48, allocations: 468.3 kB / 0.5335 GB, free: 80.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.295e-06/0.4801, allocations: 0 / 0.5335 GB, free: 80.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.000916/0.481, allocations: 0.7828 MB / 0.5343 GB, free: 80.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.4811, allocations: 248.8 kB / 0.5345 GB, free: 80.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4812, allocations: 127.6 kB / 0.5346 GB, free: 80.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.4812, allocations: 34.02 kB / 0.5346 GB, free: 79.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.4813, allocations: 96.33 kB / 0.5347 GB, free: 79.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.4813, allocations: 48.62 kB / 0.5348 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.4814, allocations: 2.781 kB / 0.5348 GB, free: 79.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.4814, allocations: 326.3 kB / 0.5351 GB, free: 79.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.4816, allocations: 53.3 kB / 0.5351 GB, free: 79.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4817, allocations: 125.3 kB / 0.5353 GB, free: 79.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4819, allocations: 199.7 kB / 0.5355 GB, free: 79.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4819, allocations: 8.969 kB / 0.5355 GB, free: 79.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006412/0.4826, allocations: 398.5 kB / 0.5358 GB, free: 79.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.4827, allocations: 157.9 kB / 0.536 GB, free: 78.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.4828, allocations: 2.812 kB / 0.536 GB, free: 78.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.4828, allocations: 7.156 kB / 0.536 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.4829, allocations: 16.55 kB / 0.536 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.4829, allocations: 8.25 kB / 0.536 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.483, allocations: 20.11 kB / 0.5361 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.4831, allocations: 10.88 kB / 0.5361 GB, free: 78.95 MB / 378.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.0002494/0.4833, allocations: 281.6 kB / 0.5363 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.4834, allocations: 14.59 kB / 0.5363 GB, free: 78.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.4834, allocations: 22.27 kB / 0.5364 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4835, allocations: 2.281 kB / 0.5364 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.4835, allocations: 4.844 kB / 0.5364 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4835, allocations: 1.266 kB / 0.5364 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.4841, allocations: 0.5575 MB / 0.5369 GB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4841, allocations: 0 / 0.5369 GB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.4841, allocations: 15.22 kB / 0.5369 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4841, allocations: 0 / 0.5369 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.4842, allocations: 9.25 kB / 0.5369 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4842, allocations: 14.22 kB / 0.537 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4842, allocations: 0 / 0.537 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.4848, allocations: 0.5776 MB / 0.5375 GB, free: 77.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.4849, allocations: 85.72 kB / 0.5376 GB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.4849, allocations: 12.81 kB / 0.5376 GB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.485, allocations: 22.64 kB / 0.5376 GB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.4851, allocations: 25.31 kB / 0.5377 GB, free: 77.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.4852, allocations: 10.75 kB / 0.5377 GB, free: 77.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.317e-05/0.4852, allocations: 98.7 kB / 0.5378 GB, free: 77.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4852, allocations: 0 / 0.5378 GB, free: 77.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.4856, allocations: 71 kB / 0.5378 GB, free: 77.81 MB / 378.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.00026/0.4859, allocations: 127.8 kB / 0.538 GB, free: 77.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.4865, allocations: 0.4947 MB / 0.5384 GB, free: 77.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4865, allocations: 384 / 0.5384 GB, free: 77.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.4869, allocations: 424 kB / 0.5388 GB, free: 77.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.4872, allocations: 17.3 kB / 0.5389 GB, free: 77.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.4878, allocations: 329.9 kB / 0.5392 GB, free: 76.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.488, allocations: 0.7096 MB / 0.5399 GB, free: 76.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.488, allocations: 8.047 kB / 0.5399 GB, free: 76.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.488, allocations: 11.22 kB / 0.5399 GB, free: 76.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.488, allocations: 0 / 0.5399 GB, free: 76.24 MB / 378.7 MB Notification: Performance of Templates: time 0.005445/0.4935, allocations: 1.743 MB / 0.5416 GB, free: 76.06 MB / 378.7 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)