Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 12 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3751, allocations: 54.86 MB / 369.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.5188, allocations: 82.29 MB / 451.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5191, allocations: 71.95 kB / 451.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03463/0.5537, allocations: 8.401 MB / 460 MB, free: 1.816 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.443e-06/0.5538, allocations: 4 kB / 460 MB, free: 1.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.5538, allocations: 8 kB / 460 MB, free: 1.805 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001234/0.5551, allocations: 0.6664 MB / 460.7 MB, free: 1.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5551, allocations: 12.03 kB / 460.7 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.5552, allocations: 59.34 kB / 460.8 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.5557, allocations: 289.3 kB / 461.1 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.5558, allocations: 40.98 kB / 461.1 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5559, allocations: 59.86 kB / 461.2 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009389/0.5569, allocations: 422.6 kB / 461.6 MB, free: 172 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.5569, allocations: 7.906 kB / 461.6 MB, free: 164 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.557, allocations: 20 kB / 461.6 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.557, allocations: 19.94 kB / 461.6 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.5578, allocations: 308.6 kB / 461.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.5601, allocations: 1.157 MB / 463.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009964/0.5611, allocations: 481.2 kB / 463.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.5611, allocations: 8.656 kB / 463.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.5612, allocations: 42.92 kB / 463.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 3.815e-06/0.5612, allocations: 0 / 463.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.004188/0.5654, allocations: 2.127 MB / 465.7 MB, free: 11.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.5655, allocations: 89.67 kB / 465.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.5658, allocations: 226.1 kB / 466 MB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.5659, allocations: 37.7 kB / 466.1 MB, free: 11.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.5661, allocations: 267.4 kB / 466.3 MB, free: 11.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.5664, allocations: 264.1 kB / 466.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.5664, allocations: 16 kB / 466.6 MB, free: 10.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5666, allocations: 342.8 kB / 466.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.567, allocations: 153.9 kB / 467.1 MB, free: 10.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.5675, allocations: 272.8 kB / 467.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.568, allocations: 199.2 kB / 467.5 MB, free: 9.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.813e-06/0.568, allocations: 0 / 467.5 MB, free: 9.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001236/0.5693, allocations: 0.5435 MB / 468.1 MB, free: 9.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.5693, allocations: 8 kB / 468.1 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.5693, allocations: 4.281 kB / 468.1 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.5694, allocations: 8 kB / 468.1 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.5701, allocations: 175.7 kB / 468.3 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.5702, allocations: 15.97 kB / 468.3 MB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.5706, allocations: 28 kB / 468.3 MB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.5706, allocations: 20 kB / 468.3 MB, free: 9.027 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.000316/0.571, allocations: 187.1 kB / 468.5 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.5711, allocations: 43.48 kB / 468.6 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.5712, allocations: 59.64 kB / 468.6 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.5713, allocations: 8 kB / 468.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.758e-06/0.5713, allocations: 0 / 468.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.5713, allocations: 8.031 kB / 468.6 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.5741, allocations: 1.45 MB / 470.1 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5742, allocations: 4 kB / 470.1 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/0.5751, allocations: 167.9 kB / 470.3 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.5751, allocations: 7.938 kB / 470.3 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.5751, allocations: 16.34 kB / 470.3 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.93e-06/0.5752, allocations: 8 kB / 470.3 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.467e-06/0.5752, allocations: 4 kB / 470.3 MB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.5769, allocations: 1.049 MB / 471.3 MB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.5771, allocations: 116.5 kB / 471.5 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/0.5772, allocations: 27.98 kB / 471.5 MB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.5776, allocations: 12 kB / 471.5 MB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.5777, allocations: 56.27 kB / 471.6 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.5777, allocations: 23.94 kB / 471.6 MB, free: 5.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.578, allocations: 178 kB / 471.8 MB, free: 5.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.578, allocations: 4 kB / 471.8 MB, free: 5.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000758/0.5788, allocations: 144 kB / 471.9 MB, free: 5.211 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.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 (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.0002128/0.579, allocations: 131 kB / 472 MB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009874/0.58, allocations: 448.6 kB / 472.5 MB, free: 4.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.58, allocations: 0.5625 kB / 472.5 MB, free: 4.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.5805, allocations: 238.2 kB / 472.7 MB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.5814, allocations: 109.1 kB / 472.8 MB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.5851, allocations: 2.053 MB / 474.9 MB, free: 2.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/0.5858, allocations: 0.8566 MB / 475.7 MB, free: 1.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.586, allocations: 51.38 kB / 475.8 MB, free: 1.246 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.586, allocations: 0 / 475.8 MB, free: 1.246 MB / 394.7 MB Notification: Performance of Templates: time 0.01133/0.5973, allocations: 5.741 MB / 481.5 MB, free: 11.52 MB / 410.7 MB