Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 108 kB / 15.6 MB, free: 132 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.00193/0.00193, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.581/1.581, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3404/0.3404, allocations: 38 MB / 307.8 MB, free: 10 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.1. 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.00168/0.00168, allocations: 67.91 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1534, allocations: 56.45 MB / 431.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004161/0.1576, allocations: 1.634 MB / 433.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1589, allocations: 0.579 MB / 433.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1591, allocations: 0 / 433.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1592, allocations: 11.88 kB / 433.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.1593, allocations: 15.86 kB / 433.9 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.1597, allocations: 55.81 kB / 434 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.1599, allocations: 103.7 kB / 434.1 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1602, allocations: 32.25 kB / 434.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1603, allocations: 55.77 kB / 434.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1605, allocations: 47.78 kB / 434.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.1605, allocations: 8 kB / 434.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.849e-05/0.1606, allocations: 8 kB / 434.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1606, allocations: 19.92 kB / 434.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.1607, allocations: 47.78 kB / 434.3 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1609, allocations: 103.6 kB / 434.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1609, allocations: 0 / 434.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.161, allocations: 0 / 434.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.161, allocations: 0 / 434.4 MB, free: 3.895 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009899/0.162, allocations: 411.1 kB / 434.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.162, allocations: 11.89 kB / 434.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.1621, allocations: 20.73 kB / 434.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1624, allocations: 204.1 kB / 435 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1624, allocations: 12.36 kB / 435.1 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1625, allocations: 4.375 kB / 435.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1627, allocations: 93.95 kB / 435.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1628, allocations: 0 / 435.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.1628, allocations: 4 kB / 435.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1628, allocations: 4 kB / 435.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.163, allocations: 51.84 kB / 435.2 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.1637, allocations: 364.6 kB / 435.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1639, allocations: 66.48 kB / 435.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.164, allocations: 32.98 kB / 435.7 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1641, allocations: 4 kB / 435.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1643, allocations: 103.2 kB / 435.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1643, allocations: 0 / 435.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004386/0.1648, allocations: 125.5 kB / 435.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.1649, allocations: 55.39 kB / 435.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.165, allocations: 141.8 kB / 436.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.165, allocations: 29.7 kB / 436.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1651, allocations: 112.2 kB / 436.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1652, allocations: 23.7 kB / 436.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.1652, allocations: 33.64 kB / 436.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1654, allocations: 326.8 kB / 436.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.165e-05/0.1655, allocations: 23.98 kB / 436.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1656, allocations: 75.72 kB / 436.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1659, allocations: 123.6 kB / 436.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1659, allocations: 4 kB / 436.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003533/0.1663, allocations: 145.3 kB / 437 MB, free: 1.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1663, allocations: 11.64 kB / 437 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1663, allocations: 4 kB / 437 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.1664, allocations: 4 kB / 437 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1665, allocations: 27.92 kB / 437 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1666, allocations: 7.875 kB / 437 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1667, allocations: 16.22 kB / 437 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1667, allocations: 7.984 kB / 437 MB, free: 0.9883 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001447/0.1669, allocations: 129.7 kB / 437.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.1669, allocations: 11.89 kB / 437.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.167, allocations: 12.72 kB / 437.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.167, allocations: 0 / 437.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.167, allocations: 3.938 kB / 437.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.167, allocations: 0 / 437.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.1672, allocations: 205.5 kB / 437.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1672, allocations: 0 / 437.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.1674, allocations: 15.98 kB / 437.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1674, allocations: 7.938 kB / 437.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1674, allocations: 0 / 437.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1674, allocations: 0 / 437.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1674, allocations: 3.938 kB / 437.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.1679, allocations: 168.9 kB / 437.6 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.168, allocations: 85.05 kB / 437.7 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.168, allocations: 0 / 437.7 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.1681, allocations: 7.984 kB / 437.7 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.1682, allocations: 11.94 kB / 437.7 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1682, allocations: 3.984 kB / 437.7 MB, free: 248 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.189e-05/0.1683, allocations: 103.3 kB / 437.8 MB, free: 144 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1683, allocations: 0 / 437.8 MB, free: 144 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003443/0.1687, allocations: 20 kB / 437.8 MB, free: 124 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000134/0.1688, allocations: 107.2 kB / 437.9 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.1691, allocations: 79.92 kB / 438 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1692, allocations: 0 / 438 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1693, allocations: 36.02 kB / 438 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.1696, allocations: 11.98 kB / 438 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/0.1703, allocations: 249.3 kB / 438.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1707, allocations: 0.7002 MB / 439 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.1708, allocations: 16.55 kB / 439 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.1709, allocations: 15.44 kB / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1709, allocations: 0 / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of Templates: time 0.004967/0.1758, allocations: 0.9097 MB / 439.9 MB, free: 13.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)