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.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.675/1.675, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.3696/0.3696, allocations: 39.94 MB / 309.7 MB, free: 9.328 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.001431/0.001431, allocations: 68.45 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1376, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.004222/0.1419, allocations: 2.208 MB / 436.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1437, allocations: 0.8111 MB / 437.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.1439, allocations: 7.938 kB / 437.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.1441, allocations: 31.59 kB / 437.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.1443, allocations: 71.31 kB / 437.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.1447, allocations: 147.7 kB / 437.8 MB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.1452, allocations: 343.1 kB / 438.1 MB, free: 44 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.1455, allocations: 128.5 kB / 438.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1458, allocations: 139.4 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.146, allocations: 151.2 kB / 438.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.1461, allocations: 36 kB / 438.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.553e-05/0.1462, allocations: 36 kB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.1463, allocations: 75.75 kB / 438.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1465, allocations: 159.2 kB / 438.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.1469, allocations: 350.8 kB / 439.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1469, allocations: 3.938 kB / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1469, allocations: 0 / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1469, allocations: 0 / 439.1 MB, free: 14.98 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.001167/0.1481, allocations: 0.618 MB / 439.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1481, allocations: 11.89 kB / 439.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.1482, allocations: 36.56 kB / 439.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.1487, allocations: 327.2 kB / 440.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.1487, allocations: 20.94 kB / 440.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.1488, allocations: 39.83 kB / 440.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.1493, allocations: 260.8 kB / 440.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1493, allocations: 0 / 440.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1494, allocations: 12 kB / 440.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1494, allocations: 4 kB / 440.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.1498, allocations: 186.1 kB / 440.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.1511, allocations: 0.7833 MB / 441.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.1515, allocations: 210.1 kB / 441.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1518, allocations: 100.8 kB / 441.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.1518, allocations: 7.984 kB / 441.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.1523, allocations: 227 kB / 442 MB, free: 12.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.1523, allocations: 0 / 442 MB, free: 12.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.0007783/0.1531, allocations: 370 kB / 442.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1531, allocations: 59.41 kB / 442.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1533, allocations: 229 kB / 442.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.1534, allocations: 41.7 kB / 442.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1535, allocations: 168.6 kB / 442.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.1536, allocations: 98.55 kB / 442.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1537, allocations: 78 kB / 443 MB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1538, allocations: 338.8 kB / 443.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.154, allocations: 84.7 kB / 443.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.1543, allocations: 230.3 kB / 443.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.1548, allocations: 344.8 kB / 444 MB, free: 9.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1549, allocations: 0 / 444 MB, free: 9.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006422/0.1555, allocations: 372.9 kB / 444.3 MB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1555, allocations: 4 kB / 444.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1555, allocations: 8.141 kB / 444.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1556, allocations: 4 kB / 444.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1559, allocations: 83.81 kB / 444.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1559, allocations: 8 kB / 444.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.1561, allocations: 28.11 kB / 444.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1561, allocations: 20 kB / 444.5 MB, free: 9.316 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.0001562/0.1563, allocations: 165.6 kB / 444.6 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.1563, allocations: 35.56 kB / 444.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.1569, allocations: 315.5 kB / 445 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.1569, allocations: 4 kB / 445 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.157, allocations: 3.938 kB / 445 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.157, allocations: 7.922 kB / 445 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009007/0.1579, allocations: 0.7012 MB / 445.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1579, allocations: 0 / 445.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.1581, allocations: 55.91 kB / 445.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1581, allocations: 0 / 445.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.1582, allocations: 11.98 kB / 445.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1582, allocations: 0 / 445.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.1582, allocations: 4.094 kB / 445.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.1591, allocations: 0.5303 MB / 446.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.1591, allocations: 100.8 kB / 446.4 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.1592, allocations: 12.05 kB / 446.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1594, allocations: 15.92 kB / 446.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.1595, allocations: 23.97 kB / 446.4 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1595, allocations: 12 kB / 446.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1596, allocations: 164.5 kB / 446.6 MB, free: 7.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1596, allocations: 0 / 446.6 MB, free: 7.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.16, allocations: 75.73 kB / 446.7 MB, free: 6.988 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.0001212/0.1601, allocations: 119.2 kB / 446.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.1607, allocations: 280.3 kB / 447.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1607, allocations: 0 / 447.1 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.161, allocations: 132 kB / 447.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1613, allocations: 32.36 kB / 447.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.1623, allocations: 0.5954 MB / 447.8 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1626, allocations: 0.7802 MB / 448.6 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.1628, allocations: 38.97 kB / 448.7 MB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.1629, allocations: 35.42 kB / 448.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1629, allocations: 0 / 448.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of Templates: time 0.006721/0.1696, allocations: 2.5 MB / 451.2 MB, free: 2.43 MB / 382.1 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)