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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 2.036/2.036, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.626e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2634, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.3762, allocations: 73.94 MB / 393.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3765, allocations: 71.94 kB / 394 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02733/0.4038, allocations: 6.816 MB / 400.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.528e-06/0.4039, allocations: 3.938 kB / 400.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.4039, allocations: 12 kB / 400.8 MB, free: 15.6 MB / 346.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.001069/0.405, allocations: 0.5999 MB / 401.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.405, allocations: 8.031 kB / 401.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.4052, allocations: 51.44 kB / 401.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.4054, allocations: 222.6 kB / 401.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.4055, allocations: 16 kB / 401.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.631e-05/0.4056, allocations: 39.89 kB / 401.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005655/0.4062, allocations: 210.6 kB / 402 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/0.407, allocations: 384.2 kB / 402.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/0.4071, allocations: 11.84 kB / 402.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.4071, allocations: 0 / 402.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.4072, allocations: 15.98 kB / 402.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.4103, allocations: 1.618 MB / 404 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.411, allocations: 375.5 kB / 404.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.4113, allocations: 147.7 kB / 404.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4113, allocations: 4 kB / 404.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.4114, allocations: 46.5 kB / 404.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 4.565e-06/0.4114, allocations: 0 / 404.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.000817/0.4122, allocations: 237.7 kB / 404.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.4124, allocations: 277 kB / 405.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.4127, allocations: 198.5 kB / 405.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.4127, allocations: 25.7 kB / 405.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.413, allocations: 305.9 kB / 405.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.4131, allocations: 173.5 kB / 405.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.4132, allocations: 0 / 405.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4134, allocations: 338.8 kB / 406.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.4136, allocations: 93.56 kB / 406.2 MB, free: 9.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.4141, allocations: 389.9 kB / 406.5 MB, free: 9.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.4145, allocations: 172.1 kB / 406.7 MB, free: 9.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.4145, allocations: 7.938 kB / 406.7 MB, free: 9.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001072/0.4156, allocations: 469.7 kB / 407.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.4157, allocations: 11.95 kB / 407.2 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.4157, allocations: 12 kB / 407.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.844e-05/0.4158, allocations: 16.06 kB / 407.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.4165, allocations: 191.6 kB / 407.4 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.4165, allocations: 19.92 kB / 407.4 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.4169, allocations: 47.38 kB / 407.5 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.417, allocations: 32 kB / 407.5 MB, free: 8.391 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.0001696/0.4172, allocations: 128.7 kB / 407.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.4175, allocations: 35.62 kB / 407.7 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.4176, allocations: 49.72 kB / 407.7 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.235e-06/0.4176, allocations: 4 kB / 407.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4177, allocations: 4 kB / 407.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4177, allocations: 3.984 kB / 407.7 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.419, allocations: 345.7 kB / 408.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.501e-06/0.419, allocations: 4 kB / 408.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/0.4198, allocations: 127.9 kB / 408.2 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.4198, allocations: 7.984 kB / 408.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.4198, allocations: 4 kB / 408.2 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.4198, allocations: 7.938 kB / 408.2 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.4199, allocations: 11.94 kB / 408.2 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.4211, allocations: 1.132 MB / 409.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.4212, allocations: 112.6 kB / 409.5 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.4213, allocations: 16.12 kB / 409.5 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.4219, allocations: 4 kB / 409.5 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.422, allocations: 27.97 kB / 409.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.422, allocations: 11.98 kB / 409.5 MB, free: 6.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.4222, allocations: 154 kB / 409.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4222, allocations: 0 / 409.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001176/0.4234, allocations: 119.6 kB / 409.8 MB, free: 5.965 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.000186/0.4236, allocations: 110.9 kB / 409.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007315/0.4244, allocations: 290 kB / 410.2 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.002e-06/0.4244, allocations: 4 kB / 410.2 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.4246, allocations: 111.9 kB / 410.3 MB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4257, allocations: 80.3 kB / 410.4 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/0.4294, allocations: 2.008 MB / 412.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.4301, allocations: 0.8392 MB / 413.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4303, allocations: 35.44 kB / 413.3 MB, free: 2.406 MB / 346.7 MB Notification: Performance of SimCode: time 1.788e-06/0.4303, allocations: 0 / 413.3 MB, free: 2.406 MB / 346.7 MB Notification: Performance of Templates: time 0.009691/0.44, allocations: 4.784 MB / 418 MB, free: 13.63 MB / 362.7 MB