Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.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.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadModel(ModelicaTest): time 1.802/1.802, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.611e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.08973, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.4295, allocations: 75.83 MB / 402.4 MB, free: 9.949 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.4298, allocations: 65.19 kB / 402.4 MB, free: 9.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03107/0.4609, allocations: 8.395 MB / 410.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.836e-06/0.4609, allocations: 4 kB / 410.8 MB, free: 6.887 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.4609, allocations: 15.53 kB / 410.8 MB, free: 6.883 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008796/0.4618, allocations: 0.6251 MB / 411.5 MB, free: 6.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4619, allocations: 15.5 kB / 411.5 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.462, allocations: 62.2 kB / 411.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.4623, allocations: 295.7 kB / 411.8 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.4624, allocations: 36.16 kB / 411.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.253e-05/0.4625, allocations: 52.25 kB / 411.9 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.4633, allocations: 418.2 kB / 412.3 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.4633, allocations: 11 kB / 412.3 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.4634, allocations: 19.2 kB / 412.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4634, allocations: 15.53 kB / 412.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.464, allocations: 301.2 kB / 412.7 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.4659, allocations: 1.165 MB / 413.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.4667, allocations: 475.2 kB / 414.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.4671, allocations: 204.5 kB / 414.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.4671, allocations: 8.438 kB / 414.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.4671, allocations: 42.19 kB / 414.5 MB, free: 4.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 3.744e-06/0.4671, allocations: 0 / 414.5 MB, free: 4.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.00303/0.4702, allocations: 1.991 MB / 416.5 MB, free: 2.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.4702, allocations: 89.67 kB / 416.6 MB, free: 2.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4705, allocations: 217.7 kB / 416.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.4706, allocations: 39.83 kB / 416.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.4707, allocations: 263.8 kB / 417.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.4709, allocations: 271.1 kB / 417.4 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.4709, allocations: 15.75 kB / 417.4 MB, free: 2.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.471, allocations: 342.4 kB / 417.7 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.4713, allocations: 146.8 kB / 417.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.4717, allocations: 260.4 kB / 418.1 MB, free: 1.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.4721, allocations: 204.9 kB / 418.3 MB, free: 1.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-06/0.4721, allocations: 0 / 418.3 MB, free: 1.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009373/0.4731, allocations: 0.5329 MB / 418.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4731, allocations: 8 kB / 418.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.633e-06/0.4731, allocations: 4 kB / 418.9 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.4731, allocations: 4 kB / 418.9 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.4739, allocations: 174.4 kB / 419.1 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.4739, allocations: 19.88 kB / 419.1 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.4743, allocations: 21.19 kB / 419.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.4743, allocations: 26.97 kB / 419.1 MB, free: 0.5898 MB / 314.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 () * 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.0001177/0.4745, allocations: 148 kB / 419.3 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4746, allocations: 47.44 kB / 419.3 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.4747, allocations: 55.83 kB / 419.4 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.531e-06/0.4748, allocations: 4 kB / 419.4 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.442e-06/0.4748, allocations: 4 kB / 419.4 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4748, allocations: 7.938 kB / 419.4 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.4773, allocations: 1.439 MB / 420.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4774, allocations: 4.344 kB / 420.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/0.4783, allocations: 166.6 kB / 421 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/0.4783, allocations: 12 kB / 421 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.4784, allocations: 20.94 kB / 421 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.401e-05/0.4784, allocations: 11.94 kB / 421 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.16e-06/0.4784, allocations: 4 kB / 421 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.48, allocations: 1.029 MB / 422.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.4802, allocations: 120.2 kB / 422.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.4803, allocations: 18.94 kB / 422.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.4807, allocations: 22.81 kB / 422.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.4808, allocations: 48.02 kB / 422.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.4808, allocations: 27.86 kB / 422.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002264/0.4811, allocations: 174.9 kB / 422.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.4811, allocations: 0 / 422.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007277/0.4818, allocations: 144.6 kB / 422.6 MB, free: 13.47 MB / 330.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 () * 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.0001795/0.482, allocations: 121.6 kB / 422.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009266/0.483, allocations: 442.9 kB / 423.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.094e-06/0.483, allocations: 4 kB / 423.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.4834, allocations: 229.5 kB / 423.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.4842, allocations: 103.5 kB / 423.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.4873, allocations: 1.584 MB / 425.1 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.4879, allocations: 0.8644 MB / 425.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.4881, allocations: 43.44 kB / 426 MB, free: 10.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.922e-06/0.4881, allocations: 3.938 kB / 426 MB, free: 10.28 MB / 330.7 MB Notification: Performance of Templates: time 0.01089/0.499, allocations: 5.73 MB / 431.7 MB, free: 4.625 MB / 330.7 MB