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.001453/0.001453, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.36/1.36, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001931/0.001931, allocations: 114 kB / 252.6 MB, free: 4.812 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.1822/0.1822, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.827e-05, allocations: 0 / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.5189, allocations: 80.93 MB / 0.5235 GB, free: 9.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5192, allocations: 67.91 kB / 0.5236 GB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005526/0.5247, allocations: 1.974 MB / 0.5255 GB, free: 8.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5247, allocations: 0 / 0.5255 GB, free: 8.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.5247, allocations: 0 / 0.5255 GB, free: 8.25 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.0004401/0.5252, allocations: 0.5247 MB / 0.526 GB, free: 7.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5252, allocations: 8.031 kB / 0.526 GB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.5253, allocations: 19.86 kB / 0.526 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.778e-05/0.5254, allocations: 174.5 kB / 0.5262 GB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.5255, allocations: 100.5 kB / 0.5263 GB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.5255, allocations: 12 kB / 0.5263 GB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.5258, allocations: 129.7 kB / 0.5264 GB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5258, allocations: 0 / 0.5264 GB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.5258, allocations: 4 kB / 0.5264 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5258, allocations: 0 / 0.5264 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.526, allocations: 77.56 kB / 0.5265 GB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.5266, allocations: 0.5269 MB / 0.527 GB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.5268, allocations: 146.4 kB / 0.5272 GB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.5269, allocations: 95.22 kB / 0.5272 GB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.527, allocations: 4 kB / 0.5273 GB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.5273, allocations: 462.8 kB / 0.5277 GB, free: 5.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.5273, allocations: 0 / 0.5277 GB, free: 5.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004968/0.5278, allocations: 376.8 kB / 0.5281 GB, free: 5.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.5279, allocations: 246.6 kB / 0.5283 GB, free: 5.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.528, allocations: 128.2 kB / 0.5284 GB, free: 5.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.528, allocations: 40.89 kB / 0.5284 GB, free: 5.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.5281, allocations: 94.05 kB / 0.5285 GB, free: 4.996 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.5281, allocations: 49.39 kB / 0.5286 GB, free: 4.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.5282, allocations: 3.125 kB / 0.5286 GB, free: 4.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.5282, allocations: 330.1 kB / 0.5289 GB, free: 4.633 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.5283, allocations: 54.86 kB / 0.529 GB, free: 4.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.5284, allocations: 106.5 kB / 0.5291 GB, free: 4.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5285, allocations: 197.5 kB / 0.5292 GB, free: 4.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5285, allocations: 0 / 0.5292 GB, free: 4.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003493/0.5289, allocations: 388.9 kB / 0.5296 GB, free: 3.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.529, allocations: 155 kB / 0.5298 GB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.529, allocations: 8 kB / 0.5298 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.529, allocations: 4.234 kB / 0.5298 GB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.5291, allocations: 15.92 kB / 0.5298 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5291, allocations: 0 / 0.5298 GB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.5292, allocations: 19.19 kB / 0.5298 GB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.5292, allocations: 11.98 kB / 0.5298 GB, free: 3.68 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.0001472/0.5294, allocations: 270.6 kB / 0.5301 GB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.5294, allocations: 23.81 kB / 0.5301 GB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.5295, allocations: 11.64 kB / 0.5301 GB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5295, allocations: 4 kB / 0.5301 GB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5295, allocations: 0 / 0.5301 GB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5295, allocations: 3.984 kB / 0.5301 GB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.53, allocations: 0.565 MB / 0.5307 GB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.53, allocations: 3.953 kB / 0.5307 GB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/0.53, allocations: 4 kB / 0.5307 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.53, allocations: 0 / 0.5307 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.5301, allocations: 15.17 kB / 0.5307 GB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5301, allocations: 3.938 kB / 0.5307 GB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5301, allocations: 4.625 kB / 0.5307 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.5306, allocations: 0.5551 MB / 0.5312 GB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.5306, allocations: 85.02 kB / 0.5313 GB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.5306, allocations: 11.5 kB / 0.5313 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5308, allocations: 20.08 kB / 0.5314 GB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.5309, allocations: 30.53 kB / 0.5314 GB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.5309, allocations: 12 kB / 0.5314 GB, free: 2.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.531, allocations: 102.5 kB / 0.5315 GB, free: 1.965 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.531, allocations: 0 / 0.5315 GB, free: 1.965 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000284/0.5313, allocations: 63.62 kB / 0.5316 GB, free: 1.906 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.0001705/0.5314, allocations: 133.9 kB / 0.5317 GB, free: 1.777 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.5318, allocations: 484.1 kB / 0.5321 GB, free: 1.316 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5318, allocations: 384 / 0.5321 GB, free: 1.316 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.5321, allocations: 412.2 kB / 0.5325 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.5322, allocations: 16.64 kB / 0.5326 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.5326, allocations: 237.2 kB / 0.5328 GB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.5328, allocations: 0.7119 MB / 0.5335 GB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.014e-05/0.5329, allocations: 12.42 kB / 0.5335 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.5329, allocations: 11.44 kB / 0.5335 GB, free: 15.95 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5329, allocations: 0 / 0.5335 GB, free: 15.95 MB / 362.7 MB Notification: Performance of Templates: time 0.004489/0.5374, allocations: 1.742 MB / 0.5352 GB, free: 14.24 MB / 362.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)