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.007712/0.007712, allocations: 102.4 kB / 15.73 MB, free: 6.043 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.001795/0.001796, allocations: 189.4 kB / 16.67 MB, free: 5.957 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3115/0.3115, allocations: 38 MB / 307.9 MB, free: 10.11 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.001441/0.001441, allocations: 63.91 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.35, allocations: 56.47 MB / 489.4 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003065/0.3531, allocations: 1.635 MB / 491.1 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3543, allocations: 0.5755 MB / 491.6 MB, free: 18.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.3544, allocations: 1.156 kB / 491.7 MB, free: 18.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.3545, allocations: 11 kB / 491.7 MB, free: 18.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.3546, allocations: 19.91 kB / 491.7 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3549, allocations: 53.23 kB / 491.7 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.3551, allocations: 106.2 kB / 491.8 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3553, allocations: 41.8 kB / 491.9 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3554, allocations: 45.8 kB / 491.9 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3555, allocations: 48.89 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.3556, allocations: 13.38 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.6e-05/0.3556, allocations: 9.438 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.807e-05/0.3556, allocations: 24.78 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.3557, allocations: 39.19 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.356, allocations: 103.4 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.356, allocations: 1.656 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.356, allocations: 4 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.356, allocations: 0 / 492.2 MB, free: 18.16 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.0007933/0.3568, allocations: 413.2 kB / 492.6 MB, free: 17.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3568, allocations: 13.02 kB / 492.6 MB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.3569, allocations: 15.64 kB / 492.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.3571, allocations: 205.1 kB / 492.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3571, allocations: 7.719 kB / 492.8 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.3572, allocations: 15.16 kB / 492.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3574, allocations: 95.45 kB / 492.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3574, allocations: 1.828 kB / 492.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3575, allocations: 0.75 kB / 492.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3575, allocations: 2.125 kB / 492.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3576, allocations: 44.72 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.3582, allocations: 372.6 kB / 493.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3583, allocations: 60.08 kB / 493.4 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.3584, allocations: 25.41 kB / 493.4 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3584, allocations: 1.094 kB / 493.4 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.3586, allocations: 106.8 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3586, allocations: 1.062 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003819/0.359, allocations: 123.5 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3591, allocations: 57.72 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3592, allocations: 140.8 kB / 493.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3592, allocations: 31.95 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.3593, allocations: 99.91 kB / 494 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3593, allocations: 30.23 kB / 494 MB, free: 16.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.3594, allocations: 31.03 kB / 494 MB, free: 16.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.3594, allocations: 324.8 kB / 494.3 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.3595, allocations: 25.66 kB / 494.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.3596, allocations: 82.41 kB / 494.4 MB, free: 16.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3598, allocations: 127 kB / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3598, allocations: 0 / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002386/0.36, allocations: 138.3 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3601, allocations: 9.953 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3601, allocations: 6.219 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.3601, allocations: 15.52 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3602, allocations: 24.89 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3603, allocations: 7.484 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.3603, allocations: 11.12 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3604, allocations: 4.406 kB / 494.8 MB, free: 15.98 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 8.621e-05/0.3604, allocations: 128.4 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.3605, allocations: 8.219 kB / 494.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.3605, allocations: 11.78 kB / 494.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3605, allocations: 5.469 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3605, allocations: 3.938 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3605, allocations: 2.109 kB / 494.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.3607, allocations: 208.2 kB / 495.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3607, allocations: 0 / 495.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.3608, allocations: 11.44 kB / 495.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3608, allocations: 1.891 kB / 495.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3609, allocations: 2.109 kB / 495.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3609, allocations: 1.125 kB / 495.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3609, allocations: 7.875 kB / 495.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3612, allocations: 172.7 kB / 495.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.3612, allocations: 83.78 kB / 495.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3613, allocations: 7.297 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.3613, allocations: 2.984 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.3614, allocations: 9.656 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3614, allocations: 4.672 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.3615, allocations: 104.1 kB / 495.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3615, allocations: 5.188 kB / 495.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.3617, allocations: 23.42 kB / 495.6 MB, free: 15.3 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 8.187e-05/0.3618, allocations: 101.9 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.362, allocations: 75.45 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.362, allocations: 0 / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.145e-05/0.3621, allocations: 37.7 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.3623, allocations: 15.14 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.3628, allocations: 245.7 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.363, allocations: 0.7036 MB / 496.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.363, allocations: 13.48 kB / 496.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.3631, allocations: 14.3 kB / 496.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3631, allocations: 0 / 496.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of Templates: time 0.003966/0.3671, allocations: 0.9312 MB / 497.7 MB, free: 14.16 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)