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.0008215/0.0008216, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008827/0.0008828, allocations: 172.7 kB / 15.95 MB, free: 208 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.228/1.228, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2624/0.2624, allocations: 38.04 MB / 308.4 MB, free: 10.35 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.0005384/0.0005385, allocations: 12 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.09229, allocations: 57.52 MB / 433.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.001448/0.09378, allocations: 1.338 MB / 435.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007207/0.09452, allocations: 0.539 MB / 435.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.09459, allocations: 0 / 435.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.726e-05/0.09466, allocations: 3.938 kB / 435.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.09471, allocations: 11.88 kB / 435.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.09491, allocations: 47.88 kB / 435.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.09503, allocations: 99.69 kB / 436 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.09515, allocations: 23.97 kB / 436 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.09523, allocations: 39.78 kB / 436 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.09533, allocations: 31.84 kB / 436.1 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.09535, allocations: 4 kB / 436.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.09538, allocations: 4 kB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.09541, allocations: 19.92 kB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.09545, allocations: 41.64 kB / 436.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.09554, allocations: 72.08 kB / 436.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09555, allocations: 0 / 436.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09556, allocations: 0 / 436.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.09557, allocations: 0 / 436.2 MB, free: 3.266 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.0005045/0.09607, allocations: 395 kB / 436.6 MB, free: 2.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.09611, allocations: 12.03 kB / 436.6 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.09615, allocations: 11.86 kB / 436.6 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.09634, allocations: 210.6 kB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.09636, allocations: 3.938 kB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.09639, allocations: 15.98 kB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.09659, allocations: 85.66 kB / 436.9 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.09661, allocations: 3.984 kB / 436.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.09663, allocations: 8 kB / 436.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.09664, allocations: 0 / 436.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.09677, allocations: 51.97 kB / 437 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.09723, allocations: 360.6 kB / 437.3 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.09735, allocations: 62.56 kB / 437.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.09742, allocations: 32.98 kB / 437.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.09745, allocations: 7.953 kB / 437.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.09762, allocations: 111.3 kB / 437.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.09763, allocations: 3.938 kB / 437.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002748/0.09791, allocations: 133.4 kB / 437.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.09795, allocations: 55.41 kB / 437.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.09805, allocations: 137.9 kB / 437.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.09807, allocations: 33.7 kB / 437.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.09813, allocations: 104.2 kB / 438 MB, free: 1.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.09816, allocations: 27.7 kB / 438 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.09817, allocations: 0 / 438 MB, free: 1.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.09826, allocations: 322.8 kB / 438.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.09833, allocations: 27.98 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.09842, allocations: 87.59 kB / 438.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.09851, allocations: 39.98 kB / 438.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.09852, allocations: 0 / 438.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000218/0.09874, allocations: 145.3 kB / 438.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.09876, allocations: 4 kB / 438.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.09877, allocations: 4 kB / 438.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.09879, allocations: 8.203 kB / 438.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.09889, allocations: 23.94 kB / 438.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.09891, allocations: 7.984 kB / 438.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.09898, allocations: 11.91 kB / 438.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.09899, allocations: 4 kB / 438.7 MB, free: 0.5195 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 7.972e-05/0.09908, allocations: 126.9 kB / 438.8 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.09911, allocations: 15.84 kB / 438.9 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.09915, allocations: 20.7 kB / 438.9 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.09916, allocations: 4 kB / 438.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.09917, allocations: 0 / 438.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.09918, allocations: 0 / 438.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.09931, allocations: 201.5 kB / 439.1 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.09932, allocations: 0 / 439.1 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.09941, allocations: 12 kB / 439.1 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.09942, allocations: 3.984 kB / 439.1 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.09944, allocations: 3.953 kB / 439.1 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.09944, allocations: 0 / 439.1 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09945, allocations: 0 / 439.1 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.09974, allocations: 189.1 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.09978, allocations: 81.02 kB / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.09981, allocations: 8 kB / 439.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.09987, allocations: 7.938 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.09991, allocations: 8.062 kB / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.09992, allocations: 7.984 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.09999, allocations: 103.3 kB / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09999, allocations: 3.938 kB / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.1002, allocations: 16 kB / 439.5 MB, free: 15.63 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 7.31e-05/0.1003, allocations: 107.2 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1005, allocations: 79.84 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1005, allocations: 0 / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.1006, allocations: 39.97 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.1007, allocations: 15.27 kB / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.1011, allocations: 279.7 kB / 440 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.1013, allocations: 0.7041 MB / 440.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.1014, allocations: 12.55 kB / 440.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.1014, allocations: 15.44 kB / 440.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1014, allocations: 0 / 440.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of Templates: time 0.002379/0.1038, allocations: 0.8162 MB / 441.6 MB, free: 13.52 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: