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.001266/0.001266, allocations: 99.08 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.00152/0.00152, 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.903/1.903, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.5078/0.5078, allocations: 38.03 MB / 308.4 MB, free: 10.52 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.0006167/0.0006167, allocations: 15.98 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1553, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002367/0.1577, allocations: 1.323 MB / 435.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1589, allocations: 0.539 MB / 435.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.159, allocations: 0 / 435.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.1591, allocations: 11.92 kB / 435.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.1592, allocations: 19.91 kB / 435.8 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1595, allocations: 35.89 kB / 435.8 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1597, allocations: 71.84 kB / 435.9 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1598, allocations: 27.97 kB / 435.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.212e-05/0.1599, allocations: 31.84 kB / 436 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1601, allocations: 39.83 kB / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1601, allocations: 4 kB / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.1601, allocations: 4 kB / 436 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.1601, allocations: 15.92 kB / 436 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.1602, allocations: 41.64 kB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1603, allocations: 68.08 kB / 436.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1604, allocations: 0 / 436.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1604, allocations: 4 kB / 436.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1604, allocations: 0 / 436.1 MB, free: 3.332 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.000855/0.1612, allocations: 395 kB / 436.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.1613, allocations: 8.031 kB / 436.5 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.1613, allocations: 15.8 kB / 436.6 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1616, allocations: 206.9 kB / 436.8 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.1617, allocations: 12 kB / 436.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.1617, allocations: 4 kB / 436.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.162, allocations: 89.59 kB / 436.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.162, allocations: 3.984 kB / 436.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.162, allocations: 0 / 436.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1621, allocations: 7.984 kB / 436.9 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1622, allocations: 47.97 kB / 436.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.1628, allocations: 368.6 kB / 437.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.163, allocations: 58.59 kB / 437.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.163, allocations: 8.031 kB / 437.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.1633, allocations: 107.2 kB / 437.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1633, allocations: 0 / 437.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003608/0.1636, allocations: 137.5 kB / 437.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.1637, allocations: 51.41 kB / 437.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1639, allocations: 137.9 kB / 437.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.1639, allocations: 37.69 kB / 437.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.164, allocations: 100.3 kB / 437.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.164, allocations: 27.84 kB / 437.9 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.164, allocations: 4 kB / 437.9 MB, free: 1.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1642, allocations: 318.8 kB / 438.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.1643, allocations: 27.98 kB / 438.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1644, allocations: 83.66 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.1645, allocations: 47.92 kB / 438.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1645, allocations: 0 / 438.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002603/0.1648, allocations: 137.5 kB / 438.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.1648, allocations: 15.94 kB / 438.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1648, allocations: 4 kB / 438.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1648, allocations: 4 kB / 438.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.165, allocations: 27.92 kB / 438.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.165, allocations: 4 kB / 438.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.1651, allocations: 11.91 kB / 438.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1651, allocations: 4 kB / 438.6 MB, free: 0.625 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 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.1653, allocations: 134.9 kB / 438.7 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.1653, allocations: 11.89 kB / 438.7 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.1653, allocations: 16.67 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1653, allocations: 3.938 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1654, allocations: 0 / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1654, allocations: 0 / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1656, allocations: 201.6 kB / 439 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1656, allocations: 0 / 439 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1657, allocations: 27.97 kB / 439 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1657, allocations: 384 / 439 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1657, allocations: 4 kB / 439 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1657, allocations: 3.953 kB / 439 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1657, allocations: 0 / 439 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.1661, allocations: 180.8 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.1662, allocations: 85.05 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1662, allocations: 0 / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.1663, allocations: 7.984 kB / 439.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.1664, allocations: 11.95 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1664, allocations: 3.984 kB / 439.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.504e-05/0.1665, allocations: 106.5 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1665, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1667, allocations: 20 kB / 439.4 MB, free: 15.73 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 (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.0001437/0.1669, allocations: 107.2 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1671, allocations: 75.91 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1671, allocations: 0 / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.1672, allocations: 35.92 kB / 439.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.1674, allocations: 12.42 kB / 439.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.1679, allocations: 287.2 kB / 439.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1683, allocations: 0.712 MB / 440.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.755e-05/0.1683, allocations: 12.55 kB / 440.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1684, allocations: 11.44 kB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1684, allocations: 0 / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of Templates: time 0.003168/0.1715, allocations: 0.8122 MB / 441.5 MB, free: 13.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: