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.0009567/0.0009567, allocations: 181.7 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.342/1.342, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001713/0.001713, allocations: 115.1 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1975/0.1975, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.749e-05, allocations: 7.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.4942, allocations: 80.26 MB / 0.5161 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4945, allocations: 63.08 kB / 0.5161 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005637/0.5001, allocations: 1.957 MB / 0.518 GB, free: 9.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5001, allocations: 0 / 0.518 GB, free: 9.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.5001, allocations: 0 / 0.518 GB, free: 9.996 MB / 346.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.0004345/0.5006, allocations: 0.5277 MB / 0.5185 GB, free: 9.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5006, allocations: 12.38 kB / 0.5186 GB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.5007, allocations: 22.22 kB / 0.5186 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.5008, allocations: 170.5 kB / 0.5187 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.5009, allocations: 88.89 kB / 0.5188 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.501, allocations: 15.58 kB / 0.5188 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001462/0.5011, allocations: 64.02 kB / 0.5189 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5013, allocations: 120.8 kB / 0.519 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.5013, allocations: 3.938 kB / 0.519 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.5013, allocations: 3.906 kB / 0.519 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5013, allocations: 11.67 kB / 0.519 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.5019, allocations: 0.4961 MB / 0.5195 GB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.5021, allocations: 134.7 kB / 0.5196 GB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.5022, allocations: 88.09 kB / 0.5197 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.5022, allocations: 3.844 kB / 0.5197 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.5025, allocations: 447.3 kB / 0.5202 GB, free: 8.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.5025, allocations: 0 / 0.5202 GB, free: 8.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004308/0.5029, allocations: 244.7 kB / 0.5204 GB, free: 8.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.503, allocations: 249.5 kB / 0.5206 GB, free: 7.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.5031, allocations: 125.6 kB / 0.5208 GB, free: 7.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.5031, allocations: 29.55 kB / 0.5208 GB, free: 7.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.5032, allocations: 99.47 kB / 0.5209 GB, free: 7.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.5032, allocations: 42.83 kB / 0.5209 GB, free: 7.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.5032, allocations: 3.75 kB / 0.5209 GB, free: 7.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.866e-05/0.5033, allocations: 324.5 kB / 0.5212 GB, free: 7.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.5034, allocations: 40.91 kB / 0.5213 GB, free: 7.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.5035, allocations: 106 kB / 0.5214 GB, free: 7.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.5036, allocations: 58.53 kB / 0.5214 GB, free: 7.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5036, allocations: 0 / 0.5214 GB, free: 7.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002992/0.5039, allocations: 229.4 kB / 0.5216 GB, free: 7.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.504, allocations: 159.6 kB / 0.5218 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.504, allocations: 0 / 0.5218 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.504, allocations: 3.844 kB / 0.5218 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.54e-05/0.5041, allocations: 19.05 kB / 0.5218 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5041, allocations: 6.875 kB / 0.5218 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.5042, allocations: 14.06 kB / 0.5218 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.5043, allocations: 11.53 kB / 0.5218 GB, free: 7.016 MB / 346.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 () * 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.0001275/0.5044, allocations: 266.8 kB / 0.5221 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.5044, allocations: 22.94 kB / 0.5221 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.5045, allocations: 11.09 kB / 0.5221 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5045, allocations: 3.844 kB / 0.5221 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5045, allocations: 3.953 kB / 0.5221 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5045, allocations: 0 / 0.5221 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.5049, allocations: 462.9 kB / 0.5226 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5049, allocations: 4 kB / 0.5226 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.5049, allocations: 6.516 kB / 0.5226 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5049, allocations: 0 / 0.5226 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.505, allocations: 11.25 kB / 0.5226 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.505, allocations: 7.766 kB / 0.5226 GB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.505, allocations: 0 / 0.5226 GB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.5054, allocations: 420.3 kB / 0.523 GB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.5054, allocations: 91.97 kB / 0.5231 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.5055, allocations: 11.53 kB / 0.5231 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.5056, allocations: 17.45 kB / 0.5231 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.5057, allocations: 30.47 kB / 0.5232 GB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.5057, allocations: 11.28 kB / 0.5232 GB, free: 6.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.133e-05/0.5058, allocations: 101.8 kB / 0.5233 GB, free: 6.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5058, allocations: 0 / 0.5233 GB, free: 6.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003141/0.5061, allocations: 57.81 kB / 0.5233 GB, free: 6.086 MB / 346.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) * 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.0001976/0.5063, allocations: 134.9 kB / 0.5234 GB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.5066, allocations: 467.7 kB / 0.5239 GB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5066, allocations: 0 / 0.5239 GB, free: 5.664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.5069, allocations: 396.5 kB / 0.5243 GB, free: 5.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.507, allocations: 13.48 kB / 0.5243 GB, free: 5.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.5074, allocations: 234.8 kB / 0.5245 GB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.5076, allocations: 0.7067 MB / 0.5252 GB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.108e-05/0.5077, allocations: 12.23 kB / 0.5252 GB, free: 4.551 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.5077, allocations: 15.28 kB / 0.5252 GB, free: 4.543 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5077, allocations: 0 / 0.5252 GB, free: 4.543 MB / 346.7 MB Notification: Performance of Templates: time 0.003648/0.5113, allocations: 1.692 MB / 0.5269 GB, free: 3.703 MB / 346.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)