Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, 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.001341/0.00134, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.523/1.523, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.3434/0.3434, allocations: 39.94 MB / 309.7 MB, free: 9.375 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.002001/0.002001, allocations: 74.41 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1585, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004435/0.163, allocations: 1.635 MB / 436.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1645, allocations: 0.5829 MB / 436.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1647, allocations: 4 kB / 436.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.1649, allocations: 7.875 kB / 436.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.618e-05/0.165, allocations: 15.86 kB / 436.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.1654, allocations: 55.81 kB / 436.8 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.1656, allocations: 107.7 kB / 436.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.1659, allocations: 43.95 kB / 436.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.1661, allocations: 39.8 kB / 437 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1663, allocations: 47.77 kB / 437 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.1664, allocations: 8 kB / 437 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.1664, allocations: 12 kB / 437 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.1665, allocations: 23.92 kB / 437.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1666, allocations: 47.78 kB / 437.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1668, allocations: 103.9 kB / 437.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1668, allocations: 0 / 437.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1668, allocations: 4 kB / 437.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1668, allocations: 0 / 437.2 MB, free: 0.9414 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.0009706/0.1678, allocations: 407 kB / 437.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1679, allocations: 19.83 kB / 437.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.1679, allocations: 12.84 kB / 437.6 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1682, allocations: 200.1 kB / 437.8 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1682, allocations: 8.375 kB / 437.8 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.1683, allocations: 20.03 kB / 437.9 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1685, allocations: 89.64 kB / 438 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1686, allocations: 0 / 438 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.1686, allocations: 4 kB / 438 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1686, allocations: 0 / 438 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1688, allocations: 55.91 kB / 438 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.1694, allocations: 368.6 kB / 438.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1696, allocations: 58.53 kB / 438.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.1696, allocations: 28.95 kB / 438.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.1697, allocations: 0 / 438.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.1699, allocations: 99.34 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.1699, allocations: 3.938 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003924/0.1703, allocations: 129.5 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1704, allocations: 59.34 kB / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1705, allocations: 137.1 kB / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1706, allocations: 33.64 kB / 438.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.1707, allocations: 108.2 kB / 439 MB, free: 14.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1707, allocations: 23.62 kB / 439 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.1708, allocations: 33.7 kB / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1709, allocations: 322.8 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.171, allocations: 23.98 kB / 439.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1711, allocations: 95.44 kB / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1713, allocations: 119.6 kB / 439.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1713, allocations: 0 / 439.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000283/0.1716, allocations: 141.4 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1717, allocations: 4 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1717, allocations: 4.219 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1717, allocations: 11.94 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1718, allocations: 23.92 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.1719, allocations: 4 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.1719, allocations: 11.84 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.172, allocations: 12 kB / 439.8 MB, free: 14.05 MB / 382.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.000115/0.1721, allocations: 125.8 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1721, allocations: 11.91 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.1722, allocations: 12.72 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1722, allocations: 3.938 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1722, allocations: 4 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1722, allocations: 0 / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.1724, allocations: 205.5 kB / 440.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1724, allocations: 0 / 440.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.1725, allocations: 11.98 kB / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1725, allocations: 0 / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1725, allocations: 0 / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1726, allocations: 12.31 kB / 440.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1726, allocations: 0 / 440.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.1729, allocations: 172.9 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.173, allocations: 81.02 kB / 440.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.173, allocations: 12.02 kB / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.1731, allocations: 3.938 kB / 440.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.1731, allocations: 7.984 kB / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1732, allocations: 4 kB / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.1733, allocations: 111.3 kB / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1733, allocations: 0 / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1735, allocations: 15.91 kB / 440.6 MB, free: 13.18 MB / 382.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.0001563/0.1737, allocations: 111.1 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.1739, allocations: 75.84 kB / 440.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1739, allocations: 0 / 440.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.174, allocations: 32.42 kB / 440.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1742, allocations: 15.98 kB / 440.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.1749, allocations: 249.1 kB / 441.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1752, allocations: 0.7041 MB / 441.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.821e-05/0.1752, allocations: 4.844 kB / 441.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.1753, allocations: 15.44 kB / 441.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1753, allocations: 3.938 kB / 441.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of Templates: time 0.003959/0.1792, allocations: 0.9219 MB / 442.7 MB, free: 10.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)