Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 234.9 MB / 251.1 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004401, allocations: 20 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4408, allocations: 54.85 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5942, allocations: 81.06 MB / 450.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5945, allocations: 71.95 kB / 450.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03533/0.6298, allocations: 6.862 MB / 457.8 MB, free: 4.672 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6299, allocations: 0 / 457.8 MB, free: 4.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-05/0.63, allocations: 12 kB / 457.8 MB, free: 4.66 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001805/0.6318, allocations: 0.624 MB / 458.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.6319, allocations: 15.97 kB / 458.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.6321, allocations: 55.3 kB / 458.5 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.6324, allocations: 220.2 kB / 458.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/0.6325, allocations: 41 kB / 458.8 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.6327, allocations: 51.91 kB / 458.8 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6343, allocations: 461.9 kB / 459.3 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.6344, allocations: 11.91 kB / 459.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.6345, allocations: 20 kB / 459.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.6345, allocations: 12 kB / 459.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.6355, allocations: 254.3 kB / 459.5 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00447/0.64, allocations: 1.711 MB / 461.3 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.6411, allocations: 407.7 kB / 461.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.6412, allocations: 15.98 kB / 461.7 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.6413, allocations: 46.5 kB / 461.7 MB, free: 460 kB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.717e-06/0.6413, allocations: 0 / 461.7 MB, free: 460 kB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001565/0.6429, allocations: 346.5 kB / 462.1 MB, free: 108 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002206/0.6431, allocations: 277.5 kB / 462.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.6436, allocations: 242.6 kB / 462.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.6437, allocations: 33.7 kB / 462.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.644, allocations: 302 kB / 462.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.6443, allocations: 181.5 kB / 463.1 MB, free: 15.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.6443, allocations: 12 kB / 463.1 MB, free: 15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.6445, allocations: 338.8 kB / 463.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.645, allocations: 114 kB / 463.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/0.6459, allocations: 417.6 kB / 463.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.6466, allocations: 188 kB / 464.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.6466, allocations: 7.953 kB / 464.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001933/0.6486, allocations: 0.5482 MB / 464.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.6486, allocations: 12 kB / 464.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.6487, allocations: 12.16 kB / 464.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.313e-05/0.6487, allocations: 16 kB / 464.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.6502, allocations: 175.7 kB / 464.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.502e-05/0.6503, allocations: 23.88 kB / 464.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.651, allocations: 67.31 kB / 465 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.6511, allocations: 36 kB / 465 MB, free: 12.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0004103/0.6515, allocations: 185.5 kB / 465.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/0.652, allocations: 39.58 kB / 465.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.6521, allocations: 45.7 kB / 465.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.6522, allocations: 4 kB / 465.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.6522, allocations: 4 kB / 465.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.6522, allocations: 4 kB / 465.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.6546, allocations: 413.1 kB / 465.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.6546, allocations: 4 kB / 465.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.6562, allocations: 127.8 kB / 465.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.6562, allocations: 4 kB / 465.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.6563, allocations: 15.98 kB / 465.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.6563, allocations: 4 kB / 465.8 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.6564, allocations: 15.88 kB / 465.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.658, allocations: 1.063 MB / 466.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.6582, allocations: 112.6 kB / 467 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.6584, allocations: 23.89 kB / 467 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.6594, allocations: 8 kB / 467.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.6595, allocations: 31.95 kB / 467.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.6596, allocations: 12 kB / 467.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003417/0.6599, allocations: 174 kB / 467.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.66, allocations: 0 / 467.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001999/0.662, allocations: 139.7 kB / 467.4 MB, free: 10.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0002488/0.6622, allocations: 111.5 kB / 467.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.6635, allocations: 348.2 kB / 467.9 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.6635, allocations: 1.812 kB / 467.9 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.6639, allocations: 135.7 kB / 468 MB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.6658, allocations: 84.69 kB / 468.1 MB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/0.6725, allocations: 2.458 MB / 470.5 MB, free: 7.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/0.6734, allocations: 0.8433 MB / 471.4 MB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.6736, allocations: 35.44 kB / 471.4 MB, free: 6.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6736, allocations: 0 / 471.4 MB, free: 6.32 MB / 394.7 MB Notification: Performance of Templates: time 0.01402/0.6876, allocations: 4.866 MB / 476.3 MB, free: 1.461 MB / 394.7 MB