Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 1.773/1.773, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.286, allocations: 48.7 MB / 331.3 MB, free: 6.477 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.3988, allocations: 74.54 MB / 405.8 MB, free: 3.875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.3991, allocations: 63.91 kB / 405.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007115/0.4062, allocations: 1.655 MB / 407.5 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.667e-06/0.4062, allocations: 0 / 407.5 MB, free: 2.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.4063, allocations: 4 kB / 407.5 MB, free: 2.152 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.0006581/0.4069, allocations: 386.9 kB / 407.9 MB, free: 1.727 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.407, allocations: 13.89 kB / 407.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.4071, allocations: 11.81 kB / 407.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.4074, allocations: 222.8 kB / 408.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.4074, allocations: 4 kB / 408.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.4075, allocations: 8 kB / 408.2 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.4078, allocations: 85.64 kB / 408.2 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4078, allocations: 0 / 408.2 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.4078, allocations: 8 kB / 408.3 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-06/0.4078, allocations: 0 / 408.3 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.408, allocations: 55.95 kB / 408.3 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.4088, allocations: 376.6 kB / 408.7 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.409, allocations: 62.5 kB / 408.7 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.409, allocations: 0 / 408.7 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.4093, allocations: 99.48 kB / 408.8 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.763e-06/0.4093, allocations: 2.188 kB / 408.8 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004678/0.4098, allocations: 137.4 kB / 409 MB, free: 0.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.4099, allocations: 59.41 kB / 409 MB, free: 484 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.41, allocations: 121.3 kB / 409.2 MB, free: 352 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.4101, allocations: 29.7 kB / 409.2 MB, free: 316 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.4102, allocations: 171.1 kB / 409.3 MB, free: 140 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.4103, allocations: 27.61 kB / 409.4 MB, free: 112 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.4103, allocations: 8 kB / 409.4 MB, free: 104 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4105, allocations: 318.8 kB / 409.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4106, allocations: 31.92 kB / 409.7 MB, free: 15.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.4108, allocations: 85.14 kB / 409.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.4109, allocations: 39.98 kB / 409.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.262e-06/0.411, allocations: 0 / 409.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003715/0.4113, allocations: 137.5 kB / 410 MB, free: 15.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4114, allocations: 4 kB / 410 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.4114, allocations: 4 kB / 410 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4114, allocations: 7.953 kB / 410 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.4116, allocations: 27.92 kB / 410 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.4116, allocations: 3.984 kB / 410 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.4118, allocations: 16.12 kB / 410 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.4118, allocations: 15.92 kB / 410.1 MB, free: 15.38 MB / 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.0001506/0.4119, allocations: 121.8 kB / 410.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.412, allocations: 11.91 kB / 410.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.412, allocations: 16.7 kB / 410.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.267e-06/0.4121, allocations: 3.953 kB / 410.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.494e-06/0.4121, allocations: 0 / 410.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.312e-06/0.4121, allocations: 0 / 410.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.4124, allocations: 209.7 kB / 410.4 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-06/0.4124, allocations: 0 / 410.4 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.4125, allocations: 12 kB / 410.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.806e-06/0.4125, allocations: 3.984 kB / 410.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.4126, allocations: 0 / 410.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.302e-06/0.4126, allocations: 4 kB / 410.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.966e-06/0.4126, allocations: 3.953 kB / 410.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.4131, allocations: 180.9 kB / 410.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.4132, allocations: 93.03 kB / 410.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.4132, allocations: 0 / 410.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.4133, allocations: 11.94 kB / 410.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.4134, allocations: 7.984 kB / 410.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4134, allocations: 7.953 kB / 410.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.4136, allocations: 110.5 kB / 410.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.4136, allocations: 4.062 kB / 410.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.4139, allocations: 20.09 kB / 410.9 MB, free: 14.48 MB / 346.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.0001641/0.4141, allocations: 119.2 kB / 411 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.4144, allocations: 71.84 kB / 411 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.269e-06/0.4144, allocations: 4.438 kB / 411.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.4146, allocations: 35.98 kB / 411.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.4148, allocations: 16.86 kB / 411.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.4155, allocations: 309.5 kB / 411.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4159, allocations: 0.7004 MB / 412.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.416, allocations: 19.42 kB / 412.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.725e-06/0.416, allocations: 0 / 412.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of Templates: time 0.003541/0.4195, allocations: 1.297 MB / 413.4 MB, free: 11.86 MB / 346.7 MB