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.001237/0.001237, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001913/0.001913, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.4007/0.4007, allocations: 40.01 MB / 310.4 MB, free: 10.09 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.0006227/0.0006232, allocations: 16 kB / 378.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1688, allocations: 57.95 MB / 436.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.003457/0.1723, allocations: 1.838 MB / 438.6 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.1744, allocations: 0.757 MB / 439.4 MB, free: 288 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.1748, allocations: 7.938 kB / 439.4 MB, free: 280 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.1753, allocations: 19.8 kB / 439.4 MB, free: 260 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.1757, allocations: 43.64 kB / 439.4 MB, free: 216 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.1763, allocations: 99.81 kB / 439.5 MB, free: 116 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007793/0.1771, allocations: 315.1 kB / 439.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.1776, allocations: 110.5 kB / 440 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.178, allocations: 99.5 kB / 440.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.1783, allocations: 119.4 kB / 440.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.1784, allocations: 8 kB / 440.2 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-05/0.1784, allocations: 12 kB / 440.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.1785, allocations: 51.75 kB / 440.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.1788, allocations: 81.52 kB / 440.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.1792, allocations: 251.6 kB / 440.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.1792, allocations: 0 / 440.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.097e-06/0.1792, allocations: 0 / 440.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.1793, allocations: 4 kB / 440.6 MB, free: 15.08 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.001559/0.1808, allocations: 0.5442 MB / 441.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.1809, allocations: 12.03 kB / 441.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.1811, allocations: 39.58 kB / 441.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.1821, allocations: 325.9 kB / 441.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.1821, allocations: 20.56 kB / 441.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/0.1822, allocations: 32 kB / 441.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/0.183, allocations: 260.8 kB / 441.8 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.183, allocations: 0 / 441.8 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.1831, allocations: 15.98 kB / 441.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.1831, allocations: 4 kB / 441.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.1836, allocations: 198.1 kB / 442 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.1855, allocations: 0.795 MB / 442.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.1861, allocations: 206.8 kB / 443 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.1863, allocations: 100.8 kB / 443.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.1863, allocations: 7.984 kB / 443.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005684/0.1869, allocations: 235 kB / 443.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/0.1869, allocations: 0 / 443.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001202/0.1882, allocations: 389.2 kB / 443.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1882, allocations: 55.41 kB / 443.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.1886, allocations: 240.9 kB / 444 MB, free: 11.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-05/0.1887, allocations: 37.69 kB / 444 MB, free: 11.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1889, allocations: 160.6 kB / 444.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.189, allocations: 98.69 kB / 444.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.189, allocations: 8 kB / 444.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1892, allocations: 338.8 kB / 444.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1894, allocations: 96.64 kB / 444.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.1897, allocations: 238.2 kB / 445 MB, free: 10.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.19, allocations: 123.9 kB / 445.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.19, allocations: 8 kB / 445.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007819/0.1908, allocations: 373.2 kB / 445.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1908, allocations: 8 kB / 445.5 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1909, allocations: 7.984 kB / 445.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.1909, allocations: 8 kB / 445.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.1913, allocations: 71.84 kB / 445.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.1913, allocations: 15.92 kB / 445.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.1915, allocations: 43.72 kB / 445.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.1916, allocations: 19.92 kB / 445.6 MB, free: 9.734 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,$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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003572/0.1919, allocations: 169.5 kB / 445.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.192, allocations: 27.72 kB / 445.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008009/0.1928, allocations: 335.4 kB / 446.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1928, allocations: 4 kB / 446.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1928, allocations: 4 kB / 446.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1928, allocations: 0 / 446.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1941, allocations: 0.7168 MB / 446.9 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1942, allocations: 0 / 446.9 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.1944, allocations: 55.91 kB / 446.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1944, allocations: 0 / 446.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.1945, allocations: 11.98 kB / 446.9 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.1945, allocations: 4 kB / 446.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1945, allocations: 0 / 446.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.1954, allocations: 0.5383 MB / 447.5 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1955, allocations: 104.7 kB / 447.6 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.1956, allocations: 12 kB / 447.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1958, allocations: 19.98 kB / 447.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1959, allocations: 19.97 kB / 447.6 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.1959, allocations: 15.98 kB / 447.7 MB, free: 7.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.1961, allocations: 164.6 kB / 447.8 MB, free: 7.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1961, allocations: 3.938 kB / 447.8 MB, free: 7.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.1966, allocations: 63.84 kB / 447.9 MB, free: 7.375 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 (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.0003469/0.1969, allocations: 123.3 kB / 448 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007385/0.1977, allocations: 268.3 kB / 448.3 MB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.1977, allocations: 4.25 kB / 448.3 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.198, allocations: 131.8 kB / 448.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.1985, allocations: 40.36 kB / 448.4 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2, allocations: 0.701 MB / 449.1 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.2005, allocations: 0.7764 MB / 449.9 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.2007, allocations: 42.95 kB / 450 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.2008, allocations: 31.42 kB / 450 MB, free: 5.207 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2008, allocations: 0 / 450 MB, free: 5.207 MB / 382.1 MB Notification: Performance of Templates: time 0.007075/0.2079, allocations: 2.208 MB / 452.2 MB, free: 3.004 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: