Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002841/0.002846, allocations: 362.4 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.413/4.413, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003601/0.0036, allocations: 230.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6672/0.6672, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004901, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.5939, allocations: 80.91 MB / 0.7591 GB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.5942, allocations: 62.98 kB / 0.7591 GB, free: 4.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006828/0.601, allocations: 1.653 MB / 0.7608 GB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6011, allocations: 0 / 0.7608 GB, free: 2.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.6011, allocations: 4 kB / 0.7608 GB, free: 2.988 MB / 346.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.0006165/0.6017, allocations: 394.8 kB / 0.7611 GB, free: 2.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.6018, allocations: 12.83 kB / 0.7612 GB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.6018, allocations: 15.75 kB / 0.7612 GB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.6021, allocations: 198.3 kB / 0.7614 GB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.6022, allocations: 7.984 kB / 0.7614 GB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.6022, allocations: 7.875 kB / 0.7614 GB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.6025, allocations: 96.34 kB / 0.7615 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.6025, allocations: 7.891 kB / 0.7615 GB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.6025, allocations: 0 / 0.7615 GB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.6026, allocations: 3.953 kB / 0.7615 GB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.6028, allocations: 59.03 kB / 0.7615 GB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.6034, allocations: 367 kB / 0.7619 GB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.6036, allocations: 61.91 kB / 0.7619 GB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.6038, allocations: 32.75 kB / 0.762 GB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.6038, allocations: 3.984 kB / 0.762 GB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.6041, allocations: 106.9 kB / 0.7621 GB, free: 1.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.334e-06/0.6041, allocations: 0 / 0.7621 GB, free: 1.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000475/0.6046, allocations: 136.5 kB / 0.7622 GB, free: 1.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.6046, allocations: 51.41 kB / 0.7623 GB, free: 1.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.6048, allocations: 136.6 kB / 0.7624 GB, free: 1.285 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.6048, allocations: 37.52 kB / 0.7624 GB, free: 1.246 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.6049, allocations: 100.1 kB / 0.7625 GB, free: 1.148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.6049, allocations: 35.36 kB / 0.7626 GB, free: 1.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.6049, allocations: 0 / 0.7626 GB, free: 1.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.605, allocations: 322.8 kB / 0.7629 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.6051, allocations: 23.73 kB / 0.7629 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.6053, allocations: 85.81 kB / 0.763 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.6054, allocations: 43.3 kB / 0.763 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.6054, allocations: 3.953 kB / 0.763 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003411/0.6058, allocations: 140.2 kB / 0.7631 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6058, allocations: 4 kB / 0.7631 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.6058, allocations: 7.984 kB / 0.7632 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6059, allocations: 4.219 kB / 0.7632 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.6061, allocations: 27.92 kB / 0.7632 GB, free: 496 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6061, allocations: 4 kB / 0.7632 GB, free: 492 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.6062, allocations: 20.34 kB / 0.7632 GB, free: 476 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.6063, allocations: 8 kB / 0.7632 GB, free: 468 kB / 346.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.0001106/0.6064, allocations: 123.5 kB / 0.7633 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.6064, allocations: 15.84 kB / 0.7633 GB, free: 328 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.6065, allocations: 12.66 kB / 0.7634 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.6065, allocations: 7.938 kB / 0.7634 GB, free: 308 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6065, allocations: 0 / 0.7634 GB, free: 308 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6065, allocations: 0 / 0.7634 GB, free: 308 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.6067, allocations: 209 kB / 0.7636 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6067, allocations: 0 / 0.7636 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.6069, allocations: 15.94 kB / 0.7636 GB, free: 52 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.6069, allocations: 0 / 0.7636 GB, free: 52 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.6069, allocations: 4 kB / 0.7636 GB, free: 48 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6069, allocations: 0 / 0.7636 GB, free: 48 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6069, allocations: 0 / 0.7636 GB, free: 48 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.6075, allocations: 179.5 kB / 0.7638 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.6076, allocations: 88.98 kB / 0.7638 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.6076, allocations: 3.953 kB / 0.7638 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.6077, allocations: 7.984 kB / 0.7639 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.6078, allocations: 11.94 kB / 0.7639 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.6078, allocations: 7.984 kB / 0.7639 GB, free: 15.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.241e-05/0.6079, allocations: 98.95 kB / 0.764 GB, free: 15.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6079, allocations: 0 / 0.764 GB, free: 15.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.6083, allocations: 27.59 kB / 0.764 GB, free: 15.64 MB / 362.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.0001614/0.6085, allocations: 103.2 kB / 0.7641 GB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.6088, allocations: 79.78 kB / 0.7642 GB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6089, allocations: 0 / 0.7642 GB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.609, allocations: 35.48 kB / 0.7642 GB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.6093, allocations: 12.62 kB / 0.7642 GB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/0.61, allocations: 294.8 kB / 0.7645 GB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.6103, allocations: 0.7004 MB / 0.7652 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.398e-05/0.6104, allocations: 12.55 kB / 0.7652 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.6105, allocations: 19.38 kB / 0.7652 GB, free: 14.38 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6105, allocations: 0 / 0.7652 GB, free: 14.38 MB / 362.7 MB Notification: Performance of Templates: time 0.004528/0.615, allocations: 0.819 MB / 0.766 GB, free: 13.58 MB / 362.7 MB