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.001066/0.001066, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001038/0.001038, allocations: 177.3 kB / 15.94 MB, free: 228 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.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3166/0.3166, allocations: 39.99 MB / 310.4 MB, free: 10.05 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.0006492/0.0006494, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1179, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.002234/0.1202, allocations: 1.818 MB / 438.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1215, allocations: 0.7533 MB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1217, allocations: 7.938 kB / 439.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1218, allocations: 27.72 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1221, allocations: 47.77 kB / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1223, allocations: 103.8 kB / 439.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.1227, allocations: 203.6 kB / 439.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1229, allocations: 102.6 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.123, allocations: 95.55 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1232, allocations: 123.4 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.1233, allocations: 12 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.519e-05/0.1233, allocations: 8 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1234, allocations: 47.81 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.1235, allocations: 77.52 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1237, allocations: 251.6 kB / 440.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1237, allocations: 3.938 kB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1237, allocations: 0 / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1237, allocations: 4 kB / 440.4 MB, free: 14.89 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.00099/0.1247, allocations: 0.5442 MB / 441 MB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1248, allocations: 12.03 kB / 441 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.1248, allocations: 39.56 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.1253, allocations: 337.9 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1253, allocations: 20.56 kB / 441.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.1254, allocations: 32 kB / 441.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.1259, allocations: 256.8 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1259, allocations: 4 kB / 441.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.1259, allocations: 12 kB / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.1259, allocations: 4 kB / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.1263, allocations: 198.1 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1275, allocations: 0.7911 MB / 442.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.1279, allocations: 206.8 kB / 442.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1279, allocations: 15.97 kB / 442.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.1283, allocations: 235 kB / 443.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.1283, allocations: 0 / 443.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.0007332/0.1291, allocations: 377.2 kB / 443.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1291, allocations: 63.41 kB / 443.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1293, allocations: 240.8 kB / 443.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.1294, allocations: 33.7 kB / 443.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.1295, allocations: 168.6 kB / 444 MB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.1296, allocations: 90.7 kB / 444 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.1296, allocations: 8 kB / 444.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1297, allocations: 338.8 kB / 444.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.1299, allocations: 96.69 kB / 444.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1302, allocations: 230.3 kB / 444.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1304, allocations: 127.9 kB / 444.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1304, allocations: 0 / 444.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006165/0.131, allocations: 384.9 kB / 445.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1311, allocations: 4 kB / 445.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1311, allocations: 4 kB / 445.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1311, allocations: 8 kB / 445.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.1314, allocations: 83.83 kB / 445.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1314, allocations: 4.156 kB / 445.3 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.1316, allocations: 43.67 kB / 445.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.1316, allocations: 20 kB / 445.4 MB, free: 9.652 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.0001487/0.1318, allocations: 169.5 kB / 445.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.1318, allocations: 27.7 kB / 445.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.1324, allocations: 335.5 kB / 445.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1324, allocations: 4 kB / 445.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1324, allocations: 4 kB / 445.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1325, allocations: 7.984 kB / 445.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008327/0.1333, allocations: 0.709 MB / 446.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1333, allocations: 0 / 446.6 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1336, allocations: 55.91 kB / 446.7 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1336, allocations: 4 kB / 446.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.1336, allocations: 7.984 kB / 446.7 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1336, allocations: 4 kB / 446.7 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1336, allocations: 0 / 446.7 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007953/0.1344, allocations: 0.5383 MB / 447.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1345, allocations: 108.6 kB / 447.3 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.1345, allocations: 8.062 kB / 447.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1347, allocations: 19.98 kB / 447.4 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.1348, allocations: 27.95 kB / 447.4 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.1348, allocations: 12 kB / 447.4 MB, free: 7.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.135, allocations: 164.5 kB / 447.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.135, allocations: 0 / 447.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.1353, allocations: 67.83 kB / 447.6 MB, free: 7.289 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.0001328/0.1355, allocations: 111.2 kB / 447.7 MB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.136, allocations: 272.5 kB / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.136, allocations: 0 / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1363, allocations: 132.1 kB / 448.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1365, allocations: 32.64 kB / 448.2 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009683/0.1375, allocations: 0.6895 MB / 448.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.1379, allocations: 0.7958 MB / 449.6 MB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.1381, allocations: 43.22 kB / 449.7 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.1382, allocations: 27.44 kB / 449.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1382, allocations: 4 kB / 449.7 MB, free: 5.133 MB / 382.1 MB Notification: Performance of Templates: time 0.005364/0.1435, allocations: 2.185 MB / 451.9 MB, free: 2.949 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: