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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001249/0.001249, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.226/1.226, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001708/0.001708, allocations: 103.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1892/0.1892, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.209e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.08708, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/0.4322, allocations: 74.44 MB / 480.1 MB, free: 18.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4325, allocations: 61.98 kB / 480.2 MB, free: 18.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005279/0.4378, allocations: 1.655 MB / 481.8 MB, free: 18.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4378, allocations: 0 / 481.8 MB, free: 18.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.4378, allocations: 2.25 kB / 481.8 MB, free: 18.29 MB / 330.7 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.0005153/0.4384, allocations: 383.5 kB / 482.2 MB, free: 17.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.4384, allocations: 9.375 kB / 482.2 MB, free: 17.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.4385, allocations: 12.38 kB / 482.2 MB, free: 17.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.4388, allocations: 210.2 kB / 482.5 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.4389, allocations: 6.75 kB / 482.5 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.4389, allocations: 11.8 kB / 482.5 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.4392, allocations: 80.47 kB / 482.5 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4392, allocations: 5.156 kB / 482.6 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.4392, allocations: 0.6562 kB / 482.6 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4392, allocations: 1.438 kB / 482.6 MB, free: 17.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4394, allocations: 45.61 kB / 482.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.44, allocations: 362.3 kB / 483 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.4402, allocations: 62.25 kB / 483 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.4402, allocations: 18.2 kB / 483 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.4402, allocations: 0 / 483 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.4404, allocations: 108.8 kB / 483.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.4404, allocations: 5.156 kB / 483.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002559/0.4407, allocations: 92 kB / 483.2 MB, free: 17.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.4407, allocations: 54.19 kB / 483.3 MB, free: 17.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4409, allocations: 131.7 kB / 483.4 MB, free: 17.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4409, allocations: 31.33 kB / 483.4 MB, free: 17.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.4409, allocations: 97.98 kB / 483.5 MB, free: 16.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.441, allocations: 32.86 kB / 483.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.441, allocations: 1.281 kB / 483.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.4411, allocations: 325.5 kB / 483.9 MB, free: 16.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.4411, allocations: 19.69 kB / 483.9 MB, free: 16.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.4412, allocations: 76.2 kB / 484 MB, free: 16.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.4413, allocations: 39.86 kB / 484 MB, free: 16.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4413, allocations: 0 / 484 MB, free: 16.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002213/0.4415, allocations: 127.3 kB / 484.1 MB, free: 16.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4416, allocations: 10.17 kB / 484.2 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4416, allocations: 6.906 kB / 484.2 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4416, allocations: 2.812 kB / 484.2 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4417, allocations: 24.41 kB / 484.2 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4417, allocations: 3.125 kB / 484.2 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.4418, allocations: 18.69 kB / 484.2 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.4419, allocations: 8.969 kB / 484.2 MB, free: 16.48 MB / 330.7 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 () * 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 6.433e-05/0.4419, allocations: 109.8 kB / 484.3 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.442, allocations: 12.19 kB / 484.3 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.442, allocations: 15.73 kB / 484.4 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.442, allocations: 0 / 484.4 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.442, allocations: 1.312 kB / 484.4 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.442, allocations: 2.859 kB / 484.4 MB, free: 16.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.4422, allocations: 196.7 kB / 484.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4422, allocations: 0 / 484.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.4423, allocations: 22.56 kB / 484.6 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4423, allocations: 0 / 484.6 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.4423, allocations: 8.016 kB / 484.6 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4423, allocations: 8.047 kB / 484.6 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4423, allocations: 5.812 kB / 484.6 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.4426, allocations: 153.2 kB / 484.7 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.4427, allocations: 94.8 kB / 484.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4427, allocations: 1.594 kB / 484.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.4428, allocations: 9.422 kB / 484.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.4428, allocations: 9.938 kB / 484.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.4428, allocations: 5.781 kB / 484.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.173e-05/0.4429, allocations: 108 kB / 485 MB, free: 15.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4429, allocations: 0 / 485 MB, free: 15.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.4432, allocations: 23.97 kB / 485 MB, free: 15.9 MB / 330.7 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) * 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.0001529/0.4433, allocations: 106 kB / 485.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.4435, allocations: 66.91 kB / 485.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4435, allocations: 448 / 485.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.4436, allocations: 33.38 kB / 485.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.4438, allocations: 11.84 kB / 485.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.4442, allocations: 155.4 kB / 485.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.4444, allocations: 0.7057 MB / 486.1 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.156e-05/0.4445, allocations: 17.39 kB / 486.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.4445, allocations: 15.72 kB / 486.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4445, allocations: 1.719 kB / 486.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of Templates: time 0.003383/0.4479, allocations: 0.8206 MB / 486.9 MB, free: 14.91 MB / 330.7 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)