Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.First.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) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.868/1.868, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003693, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08203, allocations: 44.51 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4188, allocations: 73.14 MB / 381.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.419, allocations: 70.62 kB / 381.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.4334, allocations: 3.837 MB / 385.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.511e-06/0.4335, allocations: 4 kB / 385.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.4335, allocations: 4.969 kB / 385.5 MB, free: 18.31 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006749/0.4342, allocations: 491.7 kB / 386 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4343, allocations: 8.844 kB / 386 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.4343, allocations: 24.75 kB / 386 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.4346, allocations: 247.2 kB / 386.3 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.4347, allocations: 19.31 kB / 386.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.4347, allocations: 22.34 kB / 386.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.4352, allocations: 190.2 kB / 386.5 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.4352, allocations: 8.938 kB / 386.5 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4353, allocations: 6.219 kB / 386.5 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4353, allocations: 5.094 kB / 386.5 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.4357, allocations: 139.4 kB / 386.6 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4368, allocations: 0.6293 MB / 387.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.4372, allocations: 174.9 kB / 387.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4372, allocations: 5.984 kB / 387.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4373, allocations: 35.66 kB / 387.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.518e-06/0.4373, allocations: 0 / 387.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002374/0.4396, allocations: 1.081 MB / 388.6 MB, free: 16.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.4397, allocations: 58.17 kB / 388.6 MB, free: 16.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.4399, allocations: 161.4 kB / 388.8 MB, free: 16.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.4399, allocations: 31.33 kB / 388.8 MB, free: 16.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.44, allocations: 195.5 kB / 389 MB, free: 16.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.4401, allocations: 114.7 kB / 389.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.4401, allocations: 8.719 kB / 389.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.4402, allocations: 326.5 kB / 389.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.4404, allocations: 76.89 kB / 389.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.4406, allocations: 103.5 kB / 389.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.4409, allocations: 83.83 kB / 389.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4409, allocations: 1.406 kB / 389.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006558/0.4416, allocations: 297.1 kB / 390 MB, free: 15.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4416, allocations: 4.344 kB / 390 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.762e-06/0.4416, allocations: 1.375 kB / 390 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.4418, allocations: 46.28 kB / 390 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.4421, allocations: 54.33 kB / 390.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.4436, allocations: 1.592 MB / 391.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.4439, allocations: 10.14 kB / 391.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.4439, allocations: 11.66 kB / 391.7 MB, free: 14.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.4441, allocations: 136 kB / 391.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.4441, allocations: 19.41 kB / 391.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.4442, allocations: 35.7 kB / 391.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4442, allocations: 3.938 kB / 391.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.707e-06/0.4442, allocations: 4.062 kB / 391.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-06/0.4443, allocations: 0 / 391.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.4456, allocations: 0.7924 MB / 392.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.215e-06/0.4456, allocations: 2.766 kB / 392.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.446, allocations: 61.06 kB / 392.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.4462, allocations: 33.12 kB / 392.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.4462, allocations: 3.938 kB / 392.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.4474, allocations: 1.394 MB / 394.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.4474, allocations: 4 kB / 394.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.4482, allocations: 0.5166 MB / 394.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.4483, allocations: 98.88 kB / 394.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.4484, allocations: 6.781 kB / 394.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.4486, allocations: 9.422 kB / 394.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.4487, allocations: 27.84 kB / 394.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.4487, allocations: 11.25 kB / 394.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.4488, allocations: 130.3 kB / 395 MB, free: 12.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.4488, allocations: 0 / 395 MB, free: 12.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005411/0.4494, allocations: 68.53 kB / 395 MB, free: 12.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/0.4495, allocations: 112.5 kB / 395.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.4503, allocations: 339.3 kB / 395.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.4503, allocations: 0 / 395.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.4507, allocations: 255.2 kB / 395.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.4512, allocations: 39.62 kB / 395.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4527, allocations: 0.8868 MB / 396.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.453, allocations: 0.7644 MB / 397.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.4531, allocations: 24.67 kB / 397.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.859e-06/0.4531, allocations: 0 / 397.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of Templates: time 0.006669/0.4598, allocations: 3.696 MB / 401.1 MB, free: 10.32 MB / 314.7 MB