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.001631/0.001631, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.277/1.277, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001913/0.001913, allocations: 110.1 kB / 223.2 MB, free: 4.109 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.2004/0.2004, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.345e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.0888, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4246, allocations: 74.53 MB / 480.2 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.4249, allocations: 65.09 kB / 480.3 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00593/0.4308, allocations: 1.97 MB / 482.3 MB, free: 18.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4308, allocations: 0 / 482.3 MB, free: 18.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.4309, allocations: 5.469 kB / 482.3 MB, free: 18.26 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.0004065/0.4313, allocations: 0.5289 MB / 482.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4313, allocations: 10.38 kB / 482.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.4314, allocations: 13.88 kB / 482.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.931e-05/0.4315, allocations: 174.9 kB / 483 MB, free: 17.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.4316, allocations: 95.41 kB / 483.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.4316, allocations: 14.59 kB / 483.1 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.4319, allocations: 135.9 kB / 483.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4319, allocations: 0 / 483.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.4319, allocations: 8.438 kB / 483.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4319, allocations: 1.562 kB / 483.2 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.4321, allocations: 74.5 kB / 483.3 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.4326, allocations: 0.5314 MB / 483.8 MB, free: 16.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4328, allocations: 148.3 kB / 484 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.433, allocations: 92.2 kB / 484.1 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.433, allocations: 1.656 kB / 484.1 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.4333, allocations: 461.8 kB / 484.5 MB, free: 16.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.4333, allocations: 0 / 484.5 MB, free: 16.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005174/0.4338, allocations: 380.1 kB / 484.9 MB, free: 16.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.4339, allocations: 251.6 kB / 485.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.434, allocations: 128.8 kB / 485.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.434, allocations: 34.73 kB / 485.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.4341, allocations: 96.11 kB / 485.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.4341, allocations: 42.31 kB / 485.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.4341, allocations: 5.75 kB / 485.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.4342, allocations: 335.6 kB / 485.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.4343, allocations: 45.5 kB / 485.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.4344, allocations: 108.8 kB / 485.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.4346, allocations: 202.3 kB / 486.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4346, allocations: 1.656 kB / 486.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004403/0.435, allocations: 389.8 kB / 486.5 MB, free: 14.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.4351, allocations: 156.9 kB / 486.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4351, allocations: 1.438 kB / 486.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4352, allocations: 6.844 kB / 486.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.4352, allocations: 6.25 kB / 486.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.4353, allocations: 9.75 kB / 486.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.4354, allocations: 16.95 kB / 486.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.4354, allocations: 18.02 kB / 486.7 MB, free: 14.8 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 () * 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.0001554/0.4356, allocations: 263.5 kB / 487 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.4356, allocations: 25.34 kB / 487 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.4357, allocations: 16.95 kB / 487 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4357, allocations: 1.594 kB / 487 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4357, allocations: 1.469 kB / 487 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4357, allocations: 2.203 kB / 487 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.4363, allocations: 0.5578 MB / 487.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.4364, allocations: 4 kB / 487.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.4365, allocations: 8.766 kB / 487.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4365, allocations: 5.719 kB / 487.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.4365, allocations: 11.84 kB / 487.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4365, allocations: 1.812 kB / 487.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4365, allocations: 0 / 487.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.437, allocations: 0.5656 MB / 488.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.437, allocations: 84.98 kB / 488.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.4371, allocations: 19.55 kB / 488.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4372, allocations: 19.72 kB / 488.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.4373, allocations: 18.19 kB / 488.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4373, allocations: 11.56 kB / 488.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.4373, allocations: 102.5 kB / 488.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4374, allocations: 0 / 488.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.4377, allocations: 65.94 kB / 488.5 MB, free: 13.66 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) * 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.0001582/0.4378, allocations: 135.9 kB / 488.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004648/0.4383, allocations: 486.7 kB / 489.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4383, allocations: 1.094 kB / 489.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.4386, allocations: 404.1 kB / 489.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.4388, allocations: 17.12 kB / 489.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.4392, allocations: 242.9 kB / 489.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.4393, allocations: 0.7153 MB / 490.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.4394, allocations: 3.969 kB / 490.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.4394, allocations: 15.28 kB / 490.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4394, allocations: 0 / 490.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of Templates: time 0.003824/0.4432, allocations: 1.732 MB / 492.2 MB, free: 11.97 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)