Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 234.9 MB / 250.5 MB, free: 9.523 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004503, allocations: 16 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4039, allocations: 80.91 MB / 450.2 MB, free: 9.688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4042, allocations: 63.91 kB / 450.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006896/0.4111, allocations: 1.645 MB / 451.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.703e-06/0.4111, allocations: 0 / 451.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.4111, allocations: 4 kB / 451.9 MB, free: 7.969 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.0006315/0.4118, allocations: 398.9 kB / 452.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4118, allocations: 12.03 kB / 452.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.4119, allocations: 7.906 kB / 452.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4122, allocations: 206.8 kB / 452.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.4123, allocations: 8 kB / 452.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.4123, allocations: 8 kB / 452.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.4126, allocations: 89.64 kB / 452.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4126, allocations: 7.938 kB / 452.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.4126, allocations: 4 kB / 452.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-06/0.4127, allocations: 3.953 kB / 452.6 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.4129, allocations: 47.97 kB / 452.7 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.4136, allocations: 384.5 kB / 453 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4138, allocations: 66.47 kB / 453.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4138, allocations: 4.094 kB / 453.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.4141, allocations: 103.3 kB / 453.2 MB, free: 6.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.862e-06/0.4141, allocations: 0 / 453.2 MB, free: 6.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004519/0.4146, allocations: 125.8 kB / 453.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.4147, allocations: 55.5 kB / 453.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.4148, allocations: 130.2 kB / 453.5 MB, free: 6.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.4149, allocations: 25.7 kB / 453.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.415, allocations: 174.7 kB / 453.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.415, allocations: 31.7 kB / 453.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.4151, allocations: 4 kB / 453.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4152, allocations: 318.8 kB / 454.1 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4154, allocations: 23.98 kB / 454.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.4155, allocations: 83.72 kB / 454.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.4157, allocations: 39.92 kB / 454.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.049e-06/0.4157, allocations: 4 kB / 454.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000364/0.4161, allocations: 137.4 kB / 454.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4161, allocations: 7.984 kB / 454.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.833e-06/0.4161, allocations: 4 kB / 454.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4161, allocations: 4 kB / 454.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.4163, allocations: 24.2 kB / 454.4 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.4163, allocations: 11.92 kB / 454.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4164, allocations: 19.84 kB / 454.4 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.4165, allocations: 4 kB / 454.4 MB, free: 5.195 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 0.0001482/0.4166, allocations: 121.8 kB / 454.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.4167, allocations: 15.84 kB / 454.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.4167, allocations: 8.719 kB / 454.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4168, allocations: 11.94 kB / 454.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.472e-06/0.4168, allocations: 0 / 454.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.855e-06/0.4168, allocations: 0 / 454.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.417, allocations: 201.5 kB / 454.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-06/0.417, allocations: 0 / 454.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.4172, allocations: 15.98 kB / 454.8 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.04e-06/0.4172, allocations: 3.953 kB / 454.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.4172, allocations: 4 kB / 454.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.609e-06/0.4172, allocations: 0 / 454.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-06/0.4172, allocations: 0 / 454.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.4178, allocations: 172.9 kB / 455 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.4178, allocations: 88.98 kB / 455 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.4179, allocations: 4.047 kB / 455 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.418, allocations: 11.92 kB / 455.1 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.418, allocations: 8 kB / 455.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.4181, allocations: 12.05 kB / 455.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4182, allocations: 108.9 kB / 455.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4182, allocations: 0 / 455.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.4186, allocations: 20 kB / 455.2 MB, free: 4.301 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.000157/0.4187, allocations: 103.3 kB / 455.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.419, allocations: 87.95 kB / 455.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.134e-06/0.419, allocations: 0 / 455.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.4192, allocations: 39.91 kB / 455.4 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.4194, allocations: 4 kB / 455.4 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.42, allocations: 321 kB / 455.7 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.4205, allocations: 0.7082 MB / 456.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.4205, allocations: 11.44 kB / 456.5 MB, free: 2.973 MB / 378.7 MB Notification: Performance of SimCode: time 1.298e-06/0.4205, allocations: 4 kB / 456.5 MB, free: 2.969 MB / 378.7 MB Notification: Performance of Templates: time 0.00345/0.424, allocations: 1.295 MB / 457.8 MB, free: 1.672 MB / 378.7 MB