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.01313/0.01313, allocations: 100.9 kB / 15.73 MB, free: 5.98 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.002981/0.002981, allocations: 200.6 kB / 16.68 MB, free: 5.906 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.754/1.754, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3176/0.3176, allocations: 38 MB / 307.9 MB, free: 10.04 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.001595/0.001595, allocations: 79.83 kB / 433 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3502, allocations: 56.47 MB / 489.4 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003224/0.3534, allocations: 1.638 MB / 491.1 MB, free: 18.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3546, allocations: 0.5683 MB / 491.7 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3547, allocations: 1.438 kB / 491.7 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.3549, allocations: 13.8 kB / 491.7 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.467e-05/0.355, allocations: 19.52 kB / 491.7 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.3554, allocations: 54.09 kB / 491.7 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.3556, allocations: 111 kB / 491.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.3558, allocations: 40.17 kB / 491.9 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3559, allocations: 42.11 kB / 491.9 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.3561, allocations: 49.66 kB / 492 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.3562, allocations: 13.91 kB / 492 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.3562, allocations: 8.75 kB / 492 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.3563, allocations: 25.03 kB / 492 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.3564, allocations: 46.62 kB / 492.1 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3566, allocations: 100.6 kB / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3566, allocations: 0 / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3566, allocations: 0 / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3566, allocations: 0 / 492.2 MB, free: 17.98 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007426/0.3574, allocations: 413.9 kB / 492.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3574, allocations: 12.77 kB / 492.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.3575, allocations: 11.66 kB / 492.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3577, allocations: 211 kB / 492.8 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3578, allocations: 8.703 kB / 492.8 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.3578, allocations: 5.906 kB / 492.8 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.358, allocations: 97.23 kB / 492.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3581, allocations: 5.375 kB / 492.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3581, allocations: 0.6094 kB / 492.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3581, allocations: 2.562 kB / 492.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3582, allocations: 45.16 kB / 493 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3588, allocations: 364 kB / 493.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.359, allocations: 61.19 kB / 493.4 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.359, allocations: 27.31 kB / 493.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.3591, allocations: 1.906 kB / 493.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.3593, allocations: 108.1 kB / 493.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3593, allocations: 0 / 493.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003578/0.3597, allocations: 128.2 kB / 493.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3597, allocations: 53.22 kB / 493.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3598, allocations: 147.2 kB / 493.8 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3599, allocations: 28.17 kB / 493.9 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.3599, allocations: 103.8 kB / 494 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.36, allocations: 26.2 kB / 494 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.36, allocations: 31.17 kB / 494 MB, free: 16.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.3601, allocations: 331.1 kB / 494.3 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.3602, allocations: 24.55 kB / 494.4 MB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3603, allocations: 83.52 kB / 494.4 MB, free: 16.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.3605, allocations: 127.5 kB / 494.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3606, allocations: 0 / 494.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003097/0.3609, allocations: 142.8 kB / 494.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.3609, allocations: 6.859 kB / 494.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3609, allocations: 1.25 kB / 494.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.361, allocations: 3.953 kB / 494.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3611, allocations: 25.52 kB / 494.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.3611, allocations: 10.78 kB / 494.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.3612, allocations: 18.61 kB / 494.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.3613, allocations: 6.328 kB / 494.8 MB, free: 15.8 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.0001151/0.3614, allocations: 122 kB / 494.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3614, allocations: 8.719 kB / 494.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.3615, allocations: 12.08 kB / 494.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3615, allocations: 2.344 kB / 494.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3615, allocations: 4.453 kB / 494.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3615, allocations: 0.6094 kB / 494.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3617, allocations: 208.7 kB / 495.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3617, allocations: 4 kB / 495.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3618, allocations: 16.25 kB / 495.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3619, allocations: 5.031 kB / 495.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3619, allocations: 2.375 kB / 495.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3619, allocations: 1.156 kB / 495.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3619, allocations: 3.938 kB / 495.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.3623, allocations: 173 kB / 495.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.3624, allocations: 84.98 kB / 495.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3624, allocations: 1.281 kB / 495.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3625, allocations: 7.625 kB / 495.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.3626, allocations: 10.98 kB / 495.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3626, allocations: 3.906 kB / 495.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.772e-05/0.3627, allocations: 103.3 kB / 495.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3627, allocations: 96 / 495.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.3629, allocations: 24.34 kB / 495.6 MB, free: 15.12 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.0001544/0.3631, allocations: 103.2 kB / 495.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.3634, allocations: 78.41 kB / 495.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3634, allocations: 0 / 495.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.3635, allocations: 36.08 kB / 495.8 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3637, allocations: 15.64 kB / 495.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.3642, allocations: 247.2 kB / 496 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.3644, allocations: 0.6999 MB / 496.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.969e-05/0.3645, allocations: 16.81 kB / 496.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.3645, allocations: 18.62 kB / 496.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3645, allocations: 0 / 496.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of Templates: time 0.003659/0.3682, allocations: 0.9366 MB / 497.7 MB, free: 13.99 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)