Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009966/0.009966, allocations: 173.3 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.616/1.616, allocations: 194.5 MB / 210.3 MB, free: 8.512 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 116.6 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1982/0.1982, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005531/0.0005533, allocations: 13.31 kB / 406.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 54.87 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.2284, allocations: 80.91 MB / 0.5292 GB, free: 2.391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.2287, allocations: 67.91 kB / 0.5293 GB, free: 2.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005632/0.2344, allocations: 1.649 MB / 0.5309 GB, free: 0.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2344, allocations: 0 / 0.5309 GB, free: 0.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.2344, allocations: 4 kB / 0.5309 GB, free: 0.6641 MB / 378.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.0005584/0.235, allocations: 390.8 kB / 0.5313 GB, free: 240 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.235, allocations: 12.03 kB / 0.5313 GB, free: 228 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.2351, allocations: 15.91 kB / 0.5313 GB, free: 212 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2493/0.4844, allocations: 202.1 kB / 0.5315 GB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.4846, allocations: 9.984 kB / 0.5315 GB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.4846, allocations: 10.75 kB / 0.5315 GB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.4849, allocations: 88.69 kB / 0.5316 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4849, allocations: 3.422 kB / 0.5316 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.485, allocations: 5.375 kB / 0.5316 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.485, allocations: 2.5 kB / 0.5316 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.4852, allocations: 53.2 kB / 0.5317 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.4858, allocations: 372.8 kB / 0.532 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.486, allocations: 60.98 kB / 0.5321 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.486, allocations: 1.922 kB / 0.5321 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.4862, allocations: 115.1 kB / 0.5322 GB, free: 82.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.076e-06/0.4862, allocations: 0.5625 kB / 0.5322 GB, free: 82.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003589/0.4866, allocations: 129.5 kB / 0.5323 GB, free: 82.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.4866, allocations: 53.28 kB / 0.5324 GB, free: 82.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.4867, allocations: 125.9 kB / 0.5325 GB, free: 82.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4868, allocations: 32.14 kB / 0.5325 GB, free: 82.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.4868, allocations: 103.7 kB / 0.5326 GB, free: 81.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.4869, allocations: 29.64 kB / 0.5326 GB, free: 81.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.4869, allocations: 3.688 kB / 0.5326 GB, free: 81.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.4869, allocations: 319.3 kB / 0.5329 GB, free: 81.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.487, allocations: 26.52 kB / 0.533 GB, free: 81.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.4871, allocations: 87.48 kB / 0.5331 GB, free: 81.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.508e-05/0.4872, allocations: 43.67 kB / 0.5331 GB, free: 81.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4872, allocations: 0.8438 kB / 0.5331 GB, free: 81.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002403/0.4875, allocations: 146.5 kB / 0.5332 GB, free: 81.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4875, allocations: 11.72 kB / 0.5332 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4875, allocations: 2.406 kB / 0.5332 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.4875, allocations: 3.844 kB / 0.5333 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.4877, allocations: 29.58 kB / 0.5333 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4877, allocations: 5.281 kB / 0.5333 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.4878, allocations: 12.62 kB / 0.5333 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4878, allocations: 5.281 kB / 0.5333 GB, free: 81.55 MB / 378.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 8.412e-05/0.4879, allocations: 125.5 kB / 0.5334 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.4879, allocations: 10.39 kB / 0.5334 GB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.488, allocations: 16.97 kB / 0.5334 GB, free: 81.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.488, allocations: 6.094 kB / 0.5335 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.488, allocations: 4.5 kB / 0.5335 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.488, allocations: 0 / 0.5335 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.4881, allocations: 213 kB / 0.5337 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4881, allocations: 0 / 0.5337 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.855e-05/0.4883, allocations: 15.39 kB / 0.5337 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4883, allocations: 1.469 kB / 0.5337 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4883, allocations: 2.188 kB / 0.5337 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4883, allocations: 5.109 kB / 0.5337 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4883, allocations: 0 / 0.5337 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.4886, allocations: 173.3 kB / 0.5339 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.4887, allocations: 83.05 kB / 0.5339 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.4887, allocations: 8.438 kB / 0.5339 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.4888, allocations: 3.344 kB / 0.5339 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.4888, allocations: 9.953 kB / 0.5339 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.4888, allocations: 7 kB / 0.534 GB, free: 81.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.649e-05/0.4889, allocations: 105.4 kB / 0.5341 GB, free: 80.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4889, allocations: 4.062 kB / 0.5341 GB, free: 80.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.4892, allocations: 22.25 kB / 0.5341 GB, free: 80.95 MB / 378.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.0001255/0.4893, allocations: 106.5 kB / 0.5342 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.4895, allocations: 73.53 kB / 0.5343 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4895, allocations: 1.562 kB / 0.5343 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.4896, allocations: 43.91 kB / 0.5343 GB, free: 80.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.4898, allocations: 6.391 kB / 0.5343 GB, free: 80.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.4903, allocations: 286 kB / 0.5346 GB, free: 80.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.4906, allocations: 0.7062 MB / 0.5353 GB, free: 79.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.4906, allocations: 7.344 kB / 0.5353 GB, free: 79.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.4907, allocations: 13.77 kB / 0.5353 GB, free: 79.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4907, allocations: 1.062 kB / 0.5353 GB, free: 79.96 MB / 378.7 MB Notification: Performance of Templates: time 0.003423/0.4941, allocations: 0.8142 MB / 0.5361 GB, free: 79.9 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1)