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.01144/0.01144, allocations: 165.6 kB / 15.11 MB, free: 5.969 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.299/1.299, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001608/0.001608, allocations: 106.6 kB / 226.2 MB, free: 10.11 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.3166/0.3166, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 8 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 48.69 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.493, allocations: 74.54 MB / 486.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4932, allocations: 63.86 kB / 486.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004759/0.498, allocations: 1.661 MB / 487.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.498, allocations: 0 / 487.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.498, allocations: 4 kB / 487.8 MB, free: 11.7 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.0005043/0.4985, allocations: 391.2 kB / 488.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4986, allocations: 12.03 kB / 488.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.4987, allocations: 11.81 kB / 488.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4989, allocations: 217.3 kB / 488.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4989, allocations: 7.625 kB / 488.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.499, allocations: 4 kB / 488.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4991, allocations: 89.83 kB / 488.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4992, allocations: 7.984 kB / 488.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4992, allocations: 3.938 kB / 488.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4992, allocations: 0 / 488.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.4993, allocations: 56.44 kB / 488.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.4999, allocations: 367.2 kB / 489 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.5, allocations: 62.12 kB / 489 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.5001, allocations: 8.031 kB / 489 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.5003, allocations: 94.58 kB / 489.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.5003, allocations: 0 / 489.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003257/0.5006, allocations: 140.5 kB / 489.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.5007, allocations: 55.41 kB / 489.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.5007, allocations: 126.9 kB / 489.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5008, allocations: 33.52 kB / 489.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.5008, allocations: 107.8 kB / 489.6 MB, free: 9.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.5009, allocations: 27.95 kB / 489.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.5009, allocations: 4 kB / 489.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.5009, allocations: 322.3 kB / 489.9 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.501, allocations: 27.73 kB / 490 MB, free: 9.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.5011, allocations: 98.95 kB / 490.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/0.5012, allocations: 30.81 kB / 490.1 MB, free: 9.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5012, allocations: 0 / 490.1 MB, free: 9.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002288/0.5014, allocations: 143.8 kB / 490.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5015, allocations: 8 kB / 490.2 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5015, allocations: 9.922 kB / 490.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.5015, allocations: 4 kB / 490.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5016, allocations: 23.98 kB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.5016, allocations: 7.938 kB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.5017, allocations: 14.66 kB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.5017, allocations: 11.75 kB / 490.3 MB, free: 9.215 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 () * 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.0001048/0.5018, allocations: 126.6 kB / 490.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.5019, allocations: 11.91 kB / 490.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.5019, allocations: 8.344 kB / 490.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.5019, allocations: 4.047 kB / 490.4 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5019, allocations: 7.984 kB / 490.5 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5019, allocations: 3.984 kB / 490.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.5021, allocations: 204.7 kB / 490.7 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5021, allocations: 0 / 490.7 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.5022, allocations: 11.98 kB / 490.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5022, allocations: 0 / 490.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5022, allocations: 4 kB / 490.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5022, allocations: 3.938 kB / 490.7 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.5023, allocations: 3.953 kB / 490.7 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.5026, allocations: 171.5 kB / 490.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.5026, allocations: 92.91 kB / 490.9 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.5027, allocations: 7.984 kB / 490.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.5027, allocations: 3.688 kB / 491 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.5028, allocations: 11.94 kB / 491 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5028, allocations: 4 kB / 491 MB, free: 8.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.095e-05/0.5029, allocations: 103.1 kB / 491.1 MB, free: 8.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5029, allocations: 4.062 kB / 491.1 MB, free: 8.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.5031, allocations: 27.77 kB / 491.1 MB, free: 8.398 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) * 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.0001097/0.5032, allocations: 112.2 kB / 491.2 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.5035, allocations: 79.64 kB / 491.3 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5035, allocations: 4.375 kB / 491.3 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.5036, allocations: 39.67 kB / 491.3 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.5038, allocations: 7.688 kB / 491.3 MB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.5043, allocations: 283.2 kB / 491.6 MB, free: 7.902 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.5044, allocations: 0.7043 MB / 492.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.5045, allocations: 8.562 kB / 492.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.5045, allocations: 15.42 kB / 492.3 MB, free: 7.148 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5046, allocations: 4 kB / 492.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of Templates: time 0.002849/0.5074, allocations: 0.8172 MB / 493.2 MB, free: 6.348 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)