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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.093/2.093, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.761e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2649, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.3838, allocations: 80.14 MB / 438.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.384, allocations: 63.97 kB / 438.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006663/0.3907, allocations: 1.638 MB / 439.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.095e-06/0.3907, allocations: 4 kB / 439.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3908, allocations: 0 / 439.9 MB, free: 12.99 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.0005663/0.3913, allocations: 386 kB / 440.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3914, allocations: 8.031 kB / 440.3 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.3914, allocations: 15.91 kB / 440.3 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3918, allocations: 208 kB / 440.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3918, allocations: 0 / 440.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.3918, allocations: 4 kB / 440.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/0.392, allocations: 35.94 kB / 440.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.3922, allocations: 81.64 kB / 440.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3922, allocations: 0 / 440.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.3922, allocations: 7.891 kB / 440.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-06/0.3922, allocations: 4 kB / 440.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.3929, allocations: 333.2 kB / 440.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.393, allocations: 58.45 kB / 441 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.3931, allocations: 20.95 kB / 441 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3931, allocations: 4 kB / 441 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.3933, allocations: 91.34 kB / 441.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.437e-06/0.3933, allocations: 0 / 441.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002619/0.3936, allocations: 89.48 kB / 441.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3937, allocations: 51.41 kB / 441.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3938, allocations: 123.8 kB / 441.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3939, allocations: 29.7 kB / 441.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.394, allocations: 174.7 kB / 441.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.394, allocations: 23.66 kB / 441.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.394, allocations: 0 / 441.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3942, allocations: 322.8 kB / 441.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.3943, allocations: 16 kB / 441.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3944, allocations: 75.73 kB / 442 MB, free: 10.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.895e-05/0.3945, allocations: 23.98 kB / 442 MB, free: 10.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-06/0.3945, allocations: 0 / 442 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002649/0.3948, allocations: 121.3 kB / 442.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3948, allocations: 4 kB / 442.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.223e-06/0.3948, allocations: 4 kB / 442.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3949, allocations: 4 kB / 442.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.395, allocations: 27.92 kB / 442.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.755e-06/0.3951, allocations: 3.938 kB / 442.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3952, allocations: 8.219 kB / 442.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3952, allocations: 12 kB / 442.2 MB, free: 10.44 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 () * 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.000106/0.3953, allocations: 112.9 kB / 442.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.3954, allocations: 11.86 kB / 442.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.3954, allocations: 8.625 kB / 442.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3954, allocations: 4.188 kB / 442.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3955, allocations: 7.922 kB / 442.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.824e-06/0.3955, allocations: 0 / 442.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.3957, allocations: 182.2 kB / 442.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-06/0.3957, allocations: 4 kB / 442.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3958, allocations: 12 kB / 442.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.735e-06/0.3958, allocations: 0 / 442.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3959, allocations: 3.984 kB / 442.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.367e-06/0.3959, allocations: 3.953 kB / 442.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.933e-06/0.3959, allocations: 8 kB / 442.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.3962, allocations: 141 kB / 442.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.3963, allocations: 81.02 kB / 442.8 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.3963, allocations: 8.094 kB / 442.8 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.3965, allocations: 3.984 kB / 442.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3965, allocations: 11.94 kB / 442.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3965, allocations: 8 kB / 442.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.3966, allocations: 99.27 kB / 442.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.3967, allocations: 0 / 442.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.397, allocations: 19.94 kB / 442.9 MB, free: 9.641 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) * 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.0001388/0.3971, allocations: 99.25 kB / 443 MB, free: 9.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.3973, allocations: 63.86 kB / 443.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3974, allocations: 0 / 443.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.3974, allocations: 35.92 kB / 443.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.3976, allocations: 16.55 kB / 443.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.3981, allocations: 186.2 kB / 443.3 MB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3985, allocations: 0.7123 MB / 444 MB, free: 8.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.3986, allocations: 11.44 kB / 444 MB, free: 8.457 MB / 378.7 MB Notification: Performance of SimCode: time 1.478e-06/0.3986, allocations: 3.938 kB / 444 MB, free: 8.453 MB / 378.7 MB Notification: Performance of Templates: time 0.003342/0.402, allocations: 1.281 MB / 445.3 MB, free: 7.172 MB / 378.7 MB