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.001702/0.001702, allocations: 187.4 kB / 7.654 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.507/1.507, 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.001828/0.001828, allocations: 118.5 kB / 247.4 MB, free: 6.211 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.3074/0.3074, allocations: 39.93 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.56e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09329, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.464, allocations: 81.56 MB / 0.5173 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.4642, allocations: 59.62 kB / 0.5174 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.4749, allocations: 4.106 MB / 0.5214 GB, free: 9.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4749, allocations: 0 / 0.5214 GB, free: 9.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.4749, allocations: 9.297 kB / 0.5214 GB, free: 9.191 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.0006803/0.4756, allocations: 0.5242 MB / 0.5219 GB, free: 8.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4757, allocations: 11.56 kB / 0.5219 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.4757, allocations: 35 kB / 0.522 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.4761, allocations: 307.9 kB / 0.5223 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4762, allocations: 7.656 kB / 0.5223 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.4762, allocations: 15.41 kB / 0.5223 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002686/0.4765, allocations: 152.1 kB / 0.5224 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.4768, allocations: 202.9 kB / 0.5226 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.4768, allocations: 0 / 0.5226 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.4769, allocations: 7.766 kB / 0.5226 GB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.4769, allocations: 3.906 kB / 0.5226 GB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.478, allocations: 0.7214 MB / 0.5233 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.4782, allocations: 172.2 kB / 0.5235 GB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.4783, allocations: 80.5 kB / 0.5236 GB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.4784, allocations: 4 kB / 0.5236 GB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.4787, allocations: 206.3 kB / 0.5238 GB, free: 7.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.4787, allocations: 3.875 kB / 0.5238 GB, free: 7.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003721/0.4791, allocations: 242.1 kB / 0.524 GB, free: 7.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.4791, allocations: 58.81 kB / 0.5241 GB, free: 7.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.4793, allocations: 188.3 kB / 0.5242 GB, free: 7.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.4793, allocations: 29.58 kB / 0.5243 GB, free: 7.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.641e-05/0.4794, allocations: 165.6 kB / 0.5244 GB, free: 7.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.4794, allocations: 92.34 kB / 0.5245 GB, free: 7.289 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.4795, allocations: 3.75 kB / 0.5245 GB, free: 7.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.4795, allocations: 347.8 kB / 0.5249 GB, free: 6.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4796, allocations: 70.56 kB / 0.5249 GB, free: 6.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.4798, allocations: 197.4 kB / 0.5251 GB, free: 6.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.4799, allocations: 93.11 kB / 0.5252 GB, free: 6.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.48, allocations: 7.75 kB / 0.5252 GB, free: 6.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000373/0.4803, allocations: 293.2 kB / 0.5255 GB, free: 6.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4804, allocations: 3.875 kB / 0.5255 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4804, allocations: 7.688 kB / 0.5255 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.4804, allocations: 3.812 kB / 0.5255 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.4807, allocations: 87.52 kB / 0.5256 GB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4807, allocations: 3.844 kB / 0.5256 GB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.4809, allocations: 34.58 kB / 0.5256 GB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.4809, allocations: 22.06 kB / 0.5256 GB, free: 6.617 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 8.187e-05/0.481, allocations: 127.7 kB / 0.5258 GB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.481, allocations: 26.84 kB / 0.5258 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.4814, allocations: 266.1 kB / 0.526 GB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4815, allocations: 3.781 kB / 0.526 GB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4815, allocations: 4 kB / 0.526 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4815, allocations: 0 / 0.526 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.482, allocations: 0.6199 MB / 0.5267 GB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.482, allocations: 0 / 0.5267 GB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.4823, allocations: 46.25 kB / 0.5267 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4823, allocations: 7.812 kB / 0.5267 GB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.4823, allocations: 11.14 kB / 0.5267 GB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4823, allocations: 7.938 kB / 0.5267 GB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4823, allocations: 0 / 0.5267 GB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.4829, allocations: 461.1 kB / 0.5272 GB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.4829, allocations: 104.4 kB / 0.5273 GB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.483, allocations: 7.406 kB / 0.5273 GB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.4832, allocations: 11.77 kB / 0.5273 GB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.4832, allocations: 26.62 kB / 0.5273 GB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.4833, allocations: 10.7 kB / 0.5273 GB, free: 5.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.4834, allocations: 151.7 kB / 0.5275 GB, free: 5.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4834, allocations: 0 / 0.5275 GB, free: 5.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.4837, allocations: 61.5 kB / 0.5275 GB, free: 5.594 MB / 346.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.0001479/0.4839, allocations: 112.1 kB / 0.5276 GB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.4843, allocations: 221.1 kB / 0.5278 GB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4843, allocations: 0 / 0.5278 GB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4844, allocations: 108.8 kB / 0.5279 GB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4848, allocations: 26.72 kB / 0.528 GB, free: 5.441 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009371/0.4857, allocations: 419.6 kB / 0.5284 GB, free: 5.215 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.4862, allocations: 0.7863 MB / 0.5291 GB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.4863, allocations: 37.55 kB / 0.5292 GB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.4864, allocations: 33.8 kB / 0.5292 GB, free: 4.438 MB / 346.7 MB Notification: Performance of SimCode: time 8.81e-07/0.4864, allocations: 0 / 0.5292 GB, free: 4.438 MB / 346.7 MB Notification: Performance of Templates: time 0.004837/0.4913, allocations: 2.075 MB / 0.5312 GB, free: 3.438 MB / 346.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)