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.87/1.87, allocations: 209.3 MB / 224.9 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004449, allocations: 16 kB / 282.6 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08828, allocations: 48.71 MB / 331.3 MB, free: 8.977 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.326/0.4143, allocations: 74.69 MB / 406 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/0.4147, allocations: 66.72 kB / 406 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04674/0.4615, allocations: 6.861 MB / 412.9 MB, free: 3.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.534e-06/0.4616, allocations: 4 kB / 412.9 MB, free: 3.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.165e-05/0.4616, allocations: 9.531 kB / 412.9 MB, free: 3.586 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.001975/0.4636, allocations: 0.6275 MB / 413.5 MB, free: 2.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.4637, allocations: 8.031 kB / 413.5 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.4639, allocations: 55.42 kB / 413.6 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.4643, allocations: 214.8 kB / 413.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/0.4645, allocations: 41 kB / 413.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.4647, allocations: 59.89 kB / 413.9 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.4665, allocations: 450 kB / 414.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.739e-05/0.4666, allocations: 15.89 kB / 414.4 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.4667, allocations: 20 kB / 414.4 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.4668, allocations: 12 kB / 414.4 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.468, allocations: 265.2 kB / 414.6 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00552/0.4736, allocations: 1.698 MB / 416.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.475, allocations: 411.9 kB / 416.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.475, allocations: 7.938 kB / 416.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.43e-05/0.4751, allocations: 50.5 kB / 416.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 6.761e-06/0.4752, allocations: 0 / 416.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.002045/0.4772, allocations: 353.9 kB / 417.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/0.4775, allocations: 269.5 kB / 417.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000584/0.4781, allocations: 221.8 kB / 417.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.4782, allocations: 29.7 kB / 417.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/0.4786, allocations: 302 kB / 417.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.479, allocations: 181.4 kB / 418.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.479, allocations: 12 kB / 418.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002934/0.4794, allocations: 338.8 kB / 418.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/0.48, allocations: 121.9 kB / 418.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.481, allocations: 413.6 kB / 419 MB, free: 12.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.4819, allocations: 192.4 kB / 419.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/0.4819, allocations: 4 kB / 419.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002411/0.4844, allocations: 0.5444 MB / 419.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.4844, allocations: 8 kB / 419.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.4845, allocations: 16.12 kB / 419.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.862e-05/0.4846, allocations: 19.95 kB / 419.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.486, allocations: 175.7 kB / 419.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.339e-05/0.4861, allocations: 23.88 kB / 420 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008505/0.487, allocations: 59.38 kB / 420 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.4871, allocations: 32 kB / 420.1 MB, free: 11.91 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 () * 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.0005899/0.4877, allocations: 193.5 kB / 420.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006776/0.4884, allocations: 35.61 kB / 420.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.4887, allocations: 49.7 kB / 420.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.4887, allocations: 4 kB / 420.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/0.4888, allocations: 11.89 kB / 420.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.163e-05/0.4888, allocations: 3.984 kB / 420.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.4919, allocations: 413.2 kB / 420.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.893e-06/0.4919, allocations: 4 kB / 420.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.4927, allocations: 119.9 kB / 420.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.4927, allocations: 4 kB / 420.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.4928, allocations: 19.98 kB / 420.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.457e-06/0.4928, allocations: 4 kB / 420.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.465e-06/0.4928, allocations: 8 kB / 420.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.4942, allocations: 1.166 MB / 422.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.4943, allocations: 120.6 kB / 422.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.4944, allocations: 15.94 kB / 422.2 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/0.4951, allocations: 15.94 kB / 422.2 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.4952, allocations: 31.91 kB / 422.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.4952, allocations: 12.12 kB / 422.3 MB, free: 9.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002406/0.4955, allocations: 174 kB / 422.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.4955, allocations: 0 / 422.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001213/0.4967, allocations: 135.7 kB / 422.6 MB, free: 9.234 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 () * 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.0002024/0.4969, allocations: 118.9 kB / 422.7 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007906/0.4977, allocations: 337 kB / 423 MB, free: 8.781 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.778e-06/0.4977, allocations: 4 kB / 423 MB, free: 8.777 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.498, allocations: 128.5 kB / 423.1 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.499, allocations: 78.06 kB / 423.2 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.5033, allocations: 2.469 MB / 425.7 MB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.504, allocations: 0.851 MB / 426.5 MB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.5041, allocations: 35.44 kB / 426.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of SimCode: time 1.492e-06/0.5041, allocations: 0 / 426.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of Templates: time 0.009698/0.5138, allocations: 4.85 MB / 431.4 MB, free: 284 kB / 346.7 MB