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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009422/0.009422, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3614/0.3614, allocations: 40 MB / 310.7 MB, free: 9.609 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006085/0.0006085, allocations: 16 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1451, allocations: 57.95 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002714/0.1479, allocations: 1.903 MB / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1498, allocations: 0.7839 MB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.1502, allocations: 4 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.1504, allocations: 27.73 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1507, allocations: 47.62 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.1511, allocations: 123.8 kB / 440.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.1516, allocations: 323.1 kB / 440.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.152, allocations: 124.5 kB / 440.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.1523, allocations: 107.5 kB / 440.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.1525, allocations: 123.2 kB / 440.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.1526, allocations: 12 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.03e-05/0.1526, allocations: 8 kB / 441 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.99e-05/0.1527, allocations: 51.7 kB / 441 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1529, allocations: 164.8 kB / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.1533, allocations: 314.8 kB / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1533, allocations: 0 / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1533, allocations: 0 / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1533, allocations: 3.938 kB / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001188/0.1545, allocations: 0.5483 MB / 442 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1546, allocations: 8.031 kB / 442 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.1547, allocations: 36.56 kB / 442.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.1552, allocations: 331.2 kB / 442.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.1552, allocations: 20.94 kB / 442.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.1553, allocations: 51.77 kB / 442.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.1558, allocations: 256.8 kB / 442.7 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1559, allocations: 0 / 442.7 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.1559, allocations: 12 kB / 442.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1559, allocations: 4 kB / 442.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.1564, allocations: 198.1 kB / 442.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.1579, allocations: 0.795 MB / 443.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.1584, allocations: 210.8 kB / 443.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.1586, allocations: 104.8 kB / 444 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.1587, allocations: 0 / 444 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.1592, allocations: 243 kB / 444.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.1592, allocations: 0 / 444.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.000872/0.16, allocations: 393.2 kB / 444.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.1601, allocations: 67.33 kB / 444.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1604, allocations: 233 kB / 445 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.1604, allocations: 33.7 kB / 445 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1606, allocations: 172.5 kB / 445.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.1607, allocations: 98.64 kB / 445.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1608, allocations: 41.69 kB / 445.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1609, allocations: 338.8 kB / 445.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.1611, allocations: 96.7 kB / 445.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.1614, allocations: 230.3 kB / 445.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.162, allocations: 364.8 kB / 446.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.162, allocations: 0 / 446.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006393/0.1626, allocations: 388.7 kB / 446.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1627, allocations: 4 kB / 446.7 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1627, allocations: 8 kB / 446.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1627, allocations: 4 kB / 446.7 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1631, allocations: 84.27 kB / 446.8 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1631, allocations: 7.938 kB / 446.8 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.1633, allocations: 35.73 kB / 446.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.1633, allocations: 16 kB / 446.8 MB, free: 8.102 MB / 382.1 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,mean.y,$PRE.mean.y,rectifiedMean.mean.y,$PRE.rectifiedMean.mean.y,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y,harmonic.mean2.y,$PRE.harmonic.mean2.y,harmonic.mean1.y,$PRE.harmonic.mean1.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.1635, allocations: 169.6 kB / 447 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.1636, allocations: 31.66 kB / 447 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.1642, allocations: 331.4 kB / 447.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1643, allocations: 11.98 kB / 447.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1643, allocations: 0 / 447.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1643, allocations: 0 / 447.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1653, allocations: 0.7129 MB / 448.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1653, allocations: 8.031 kB / 448.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.1656, allocations: 51.91 kB / 448.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.1656, allocations: 7.984 kB / 448.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.1656, allocations: 4 kB / 448.1 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.1656, allocations: 4 kB / 448.2 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1657, allocations: 3.938 kB / 448.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008653/0.1665, allocations: 0.5459 MB / 448.7 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.1666, allocations: 104.8 kB / 448.8 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.1667, allocations: 16.06 kB / 448.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1668, allocations: 15.98 kB / 448.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.1669, allocations: 15.97 kB / 448.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.1669, allocations: 19.98 kB / 448.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1671, allocations: 164.5 kB / 449 MB, free: 5.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1671, allocations: 0 / 449 MB, free: 5.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.1675, allocations: 71.75 kB / 449.1 MB, free: 5.723 MB / 382.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001462/0.1676, allocations: 119.2 kB / 449.2 MB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.1682, allocations: 279.9 kB / 449.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1683, allocations: 0 / 449.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.1685, allocations: 123.9 kB / 449.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1689, allocations: 44.3 kB / 449.7 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1701, allocations: 0.7253 MB / 450.4 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1704, allocations: 0.7802 MB / 451.2 MB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.1706, allocations: 42.97 kB / 451.2 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.1707, allocations: 31.42 kB / 451.2 MB, free: 3.531 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1707, allocations: 0 / 451.2 MB, free: 3.531 MB / 382.1 MB Notification: Performance of Templates: time 0.005812/0.1765, allocations: 2.282 MB / 453.5 MB, free: 1.254 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: