Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.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.Mean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean") translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001054/0.001054, 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.554/1.554, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001662/0.001662, allocations: 109.2 kB / 252.6 MB, free: 4.832 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.2142/0.2142, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.837e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5522, allocations: 82.23 MB / 0.5248 GB, free: 8.941 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.5524, allocations: 61.66 kB / 0.5248 GB, free: 8.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01111/0.5635, allocations: 4.132 MB / 0.5289 GB, free: 5.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5636, allocations: 0 / 0.5289 GB, free: 5.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.5636, allocations: 7.938 kB / 0.5289 GB, free: 5.613 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007431/0.5644, allocations: 0.5226 MB / 0.5294 GB, free: 5.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.5644, allocations: 8.031 kB / 0.5294 GB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/0.5645, allocations: 39.53 kB / 0.5294 GB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.5649, allocations: 304.2 kB / 0.5297 GB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.565, allocations: 27.88 kB / 0.5297 GB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.565, allocations: 27.88 kB / 0.5298 GB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.5655, allocations: 237.2 kB / 0.53 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5655, allocations: 4 kB / 0.53 GB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.5655, allocations: 11.8 kB / 0.53 GB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.5656, allocations: 8 kB / 0.53 GB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.5658, allocations: 155.6 kB / 0.5302 GB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.567, allocations: 0.7799 MB / 0.5309 GB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.5674, allocations: 192.1 kB / 0.5311 GB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.5675, allocations: 80.11 kB / 0.5312 GB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.5675, allocations: 7.984 kB / 0.5312 GB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.5678, allocations: 221.8 kB / 0.5314 GB, free: 3.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.5678, allocations: 0 / 0.5314 GB, free: 3.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004151/0.5683, allocations: 252.3 kB / 0.5316 GB, free: 3.137 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.5683, allocations: 59.16 kB / 0.5317 GB, free: 3.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5685, allocations: 198.8 kB / 0.5319 GB, free: 2.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.5685, allocations: 32.39 kB / 0.5319 GB, free: 2.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.5686, allocations: 165.1 kB / 0.5321 GB, free: 2.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.5687, allocations: 101.2 kB / 0.5322 GB, free: 2.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.5687, allocations: 10.62 kB / 0.5322 GB, free: 2.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5688, allocations: 347.8 kB / 0.5325 GB, free: 2.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.5689, allocations: 73.11 kB / 0.5326 GB, free: 2.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.5691, allocations: 213.2 kB / 0.5328 GB, free: 2.031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.5693, allocations: 99.66 kB / 0.5329 GB, free: 1.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5693, allocations: 0 / 0.5329 GB, free: 1.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004286/0.5697, allocations: 338.2 kB / 0.5332 GB, free: 1.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5697, allocations: 7.984 kB / 0.5332 GB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.5698, allocations: 8 kB / 0.5332 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.5698, allocations: 4.469 kB / 0.5332 GB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.5701, allocations: 83.72 kB / 0.5333 GB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.5702, allocations: 7.984 kB / 0.5333 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.5703, allocations: 35.19 kB / 0.5334 GB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.5704, allocations: 30.94 kB / 0.5334 GB, free: 1.527 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.mean.y,mean.y,$PRE.rectifiedMean.mean.y,rectifiedMean.mean.y,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y,$PRE.harmonic.mean1.y,harmonic.mean1.y,$PRE.harmonic.mean2.y,harmonic.mean2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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.0001001/0.5705, allocations: 130.7 kB / 0.5335 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.5705, allocations: 27.72 kB / 0.5335 GB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.571, allocations: 296.1 kB / 0.5338 GB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.571, allocations: 4 kB / 0.5338 GB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.571, allocations: 3.984 kB / 0.5338 GB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.571, allocations: 0 / 0.5338 GB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.5716, allocations: 0.674 MB / 0.5345 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5717, allocations: 4 kB / 0.5345 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.5719, allocations: 51.91 kB / 0.5345 GB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5719, allocations: 0 / 0.5345 GB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.5719, allocations: 14.3 kB / 0.5345 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5719, allocations: 0 / 0.5345 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5719, allocations: 0 / 0.5345 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.5725, allocations: 496.8 kB / 0.535 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.5726, allocations: 104.7 kB / 0.5351 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.5726, allocations: 15.45 kB / 0.5351 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.5728, allocations: 15.88 kB / 0.5352 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.5729, allocations: 31.02 kB / 0.5352 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.5729, allocations: 15.92 kB / 0.5352 GB, free: 15.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.5731, allocations: 154.6 kB / 0.5353 GB, free: 15.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5731, allocations: 0 / 0.5353 GB, free: 15.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.5734, allocations: 82.72 kB / 0.5354 GB, free: 15.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,rectifiedMean.mean.y,rootMeanSquare.mean.y,harmonic.mean1.y,harmonic.mean2.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001563/0.5736, allocations: 121.8 kB / 0.5355 GB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.574, allocations: 228.6 kB / 0.5358 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.574, allocations: 0.9375 kB / 0.5358 GB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.5742, allocations: 112.7 kB / 0.5359 GB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.5744, allocations: 33.28 kB / 0.5359 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.5752, allocations: 431.8 kB / 0.5363 GB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5756, allocations: 0.7841 MB / 0.5371 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.5757, allocations: 38.33 kB / 0.5371 GB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.5758, allocations: 35.3 kB / 0.5371 GB, free: 14.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5758, allocations: 0 / 0.5371 GB, free: 14.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005178/0.581, allocations: 2.217 MB / 0.5393 GB, free: 11.88 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.pipe 2>&1)