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.Inertia.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.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.146/2.146, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.842e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3355, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4605, allocations: 80.99 MB / 445.5 MB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4608, allocations: 59.97 kB / 445.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02852/0.4893, allocations: 6.885 MB / 452.5 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4894, allocations: 0 / 452.5 MB, free: 8.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.4894, allocations: 8 kB / 452.5 MB, free: 8.543 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.001052/0.4905, allocations: 0.5993 MB / 453.1 MB, free: 7.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4905, allocations: 16.03 kB / 453.1 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.4907, allocations: 47.44 kB / 453.1 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.4909, allocations: 222.4 kB / 453.4 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.491, allocations: 34.03 kB / 453.4 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4911, allocations: 51.91 kB / 453.4 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.492, allocations: 450.5 kB / 453.9 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.4921, allocations: 7.906 kB / 453.9 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.4922, allocations: 20 kB / 453.9 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.4922, allocations: 12 kB / 453.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.4928, allocations: 243.8 kB / 454.2 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.4961, allocations: 1.707 MB / 455.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.497, allocations: 411.8 kB / 456.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.4973, allocations: 151.7 kB / 456.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.4973, allocations: 9.344 kB / 456.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.4974, allocations: 50.56 kB / 456.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 6.187e-06/0.4974, allocations: 0 / 456.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.000896/0.4983, allocations: 273.3 kB / 456.7 MB, free: 3.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.4985, allocations: 265 kB / 457 MB, free: 3.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.4988, allocations: 219.2 kB / 457.2 MB, free: 3.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.4989, allocations: 33.83 kB / 457.2 MB, free: 3.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.4991, allocations: 302 kB / 457.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.4993, allocations: 188.6 kB / 457.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.4994, allocations: 12 kB / 457.7 MB, free: 2.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4995, allocations: 338.8 kB / 458.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.4998, allocations: 113.5 kB / 458.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.5004, allocations: 403.5 kB / 458.6 MB, free: 1.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.5008, allocations: 192 kB / 458.8 MB, free: 1.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.5008, allocations: 4 kB / 458.8 MB, free: 1.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001196/0.5021, allocations: 0.5449 MB / 459.3 MB, free: 1.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.5021, allocations: 12 kB / 459.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.5021, allocations: 8 kB / 459.3 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/0.5022, allocations: 16 kB / 459.3 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.5029, allocations: 176 kB / 459.5 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.097e-05/0.5029, allocations: 19.94 kB / 459.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.5034, allocations: 71.28 kB / 459.6 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.5034, allocations: 32.28 kB / 459.6 MB, free: 0.8281 MB / 378.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.0001771/0.5036, allocations: 156.6 kB / 459.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.504, allocations: 39.61 kB / 459.8 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.5041, allocations: 41.83 kB / 459.9 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5041, allocations: 11.94 kB / 459.9 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.257e-06/0.5041, allocations: 0 / 459.9 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.043e-06/0.5041, allocations: 4 kB / 459.9 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.5056, allocations: 413.2 kB / 460.3 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.17e-06/0.5056, allocations: 4.703 kB / 460.3 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.5065, allocations: 123.9 kB / 460.4 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.5065, allocations: 8 kB / 460.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.5066, allocations: 16 kB / 460.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.259e-06/0.5066, allocations: 7.938 kB / 460.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.402e-06/0.5066, allocations: 0 / 460.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.5079, allocations: 1.162 MB / 461.6 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.5081, allocations: 108.6 kB / 461.7 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/0.5082, allocations: 17.22 kB / 461.7 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/0.5088, allocations: 8 kB / 461.7 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.5088, allocations: 35.84 kB / 461.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.5089, allocations: 16 kB / 461.8 MB, free: 14.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000225/0.5091, allocations: 171.1 kB / 462 MB, free: 14.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.5091, allocations: 0 / 462 MB, free: 14.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001197/0.5103, allocations: 135.7 kB / 462.1 MB, free: 14.22 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 () * 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.0001822/0.5105, allocations: 119.2 kB / 462.2 MB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007939/0.5113, allocations: 335.6 kB / 462.5 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.982e-06/0.5114, allocations: 1.938 kB / 462.5 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.5116, allocations: 132.8 kB / 462.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5127, allocations: 80.25 kB / 462.7 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.5165, allocations: 2.024 MB / 464.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.5172, allocations: 0.8356 MB / 465.6 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.5174, allocations: 39.44 kB / 465.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.821e-06/0.5174, allocations: 0 / 465.6 MB, free: 10.59 MB / 394.7 MB Notification: Performance of Templates: time 0.009729/0.5271, allocations: 4.853 MB / 470.5 MB, free: 5.734 MB / 394.7 MB