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.Inertia.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.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.1_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadModel(ModelicaTest): time 1.777/1.777, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.774e-05, allocations: 4 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08507/0.08512, allocations: 48.7 MB / 326.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3206/0.4058, allocations: 74.61 MB / 401.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.406, allocations: 67.97 kB / 401.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02791/0.434, allocations: 6.872 MB / 408.1 MB, free: 5.699 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.322e-06/0.434, allocations: 0 / 408.1 MB, free: 5.699 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.434, allocations: 8 kB / 408.1 MB, free: 5.691 MB / 330.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.001047/0.4351, allocations: 0.5959 MB / 408.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4352, allocations: 12.03 kB / 408.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.4353, allocations: 51.38 kB / 408.7 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.4355, allocations: 230.7 kB / 409 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.4356, allocations: 37 kB / 409 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4357, allocations: 55.91 kB / 409.1 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.4366, allocations: 434.2 kB / 409.5 MB, free: 4.176 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.4367, allocations: 23.88 kB / 409.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.4368, allocations: 20 kB / 409.5 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4368, allocations: 12 kB / 409.5 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005929/0.4374, allocations: 251.2 kB / 409.8 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.4406, allocations: 1.704 MB / 411.5 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.4414, allocations: 399.5 kB / 411.9 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.4417, allocations: 151.7 kB / 412 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4417, allocations: 8 kB / 412 MB, free: 1.438 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.4418, allocations: 50.45 kB / 412.1 MB, free: 1.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 4.353e-06/0.4418, allocations: 0 / 412.1 MB, free: 1.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008607/0.4427, allocations: 273.6 kB / 412.4 MB, free: 1.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.4429, allocations: 269 kB / 412.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.4432, allocations: 215.2 kB / 412.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.4432, allocations: 41.64 kB / 412.9 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.4435, allocations: 302 kB / 413.2 MB, free: 232 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.4437, allocations: 181.5 kB / 413.3 MB, free: 48 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.4437, allocations: 16 kB / 413.4 MB, free: 32 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4439, allocations: 338.9 kB / 413.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.4442, allocations: 109.6 kB / 413.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.4448, allocations: 403.5 kB / 414.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.4452, allocations: 188.2 kB / 414.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.772e-06/0.4452, allocations: 4 kB / 414.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001192/0.4464, allocations: 0.5366 MB / 414.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4465, allocations: 16.03 kB / 414.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.4465, allocations: 11.94 kB / 414.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.645e-05/0.4466, allocations: 19.95 kB / 415 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/0.4473, allocations: 175.7 kB / 415.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.409e-05/0.4473, allocations: 23.92 kB / 415.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.4478, allocations: 63.38 kB / 415.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.4478, allocations: 32 kB / 415.2 MB, free: 13.99 MB / 346.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 () * 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.0001714/0.448, allocations: 148.7 kB / 415.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.4483, allocations: 43.53 kB / 415.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.4485, allocations: 41.83 kB / 415.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.4485, allocations: 15.94 kB / 415.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.4485, allocations: 4 kB / 415.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4485, allocations: 3.984 kB / 415.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.45, allocations: 421.2 kB / 415.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.443e-06/0.4501, allocations: 0 / 415.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.4509, allocations: 123.9 kB / 416 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.4509, allocations: 4 kB / 416 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.451, allocations: 12 kB / 416 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.451, allocations: 11.94 kB / 416.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.645e-06/0.451, allocations: 3.953 kB / 416.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.4524, allocations: 1.164 MB / 417.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.4526, allocations: 116.6 kB / 417.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.4527, allocations: 15.98 kB / 417.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.4533, allocations: 8 kB / 417.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.4534, allocations: 23.97 kB / 417.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.4534, allocations: 16.12 kB / 417.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002587/0.4537, allocations: 175 kB / 417.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.4537, allocations: 0 / 417.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001207/0.4549, allocations: 139.7 kB / 417.7 MB, free: 11.37 MB / 346.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 () * 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.0002094/0.4551, allocations: 122.9 kB / 417.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.4559, allocations: 333.2 kB / 418.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.683e-06/0.456, allocations: 0 / 418.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.4562, allocations: 128.4 kB / 418.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4573, allocations: 81.83 kB / 418.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.461, allocations: 2.022 MB / 420.4 MB, free: 8.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006794/0.4617, allocations: 0.8355 MB / 421.2 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.4619, allocations: 43.31 kB / 421.3 MB, free: 7.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.668e-06/0.4619, allocations: 0 / 421.3 MB, free: 7.734 MB / 346.7 MB Notification: Performance of Templates: time 0.00986/0.4718, allocations: 4.848 MB / 426.1 MB, free: 2.879 MB / 346.7 MB