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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.198/2.198, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.23e-05, allocations: 3.984 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3492, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4706, allocations: 80.32 MB / 438.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.4708, allocations: 67.97 kB / 438.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02706/0.4979, allocations: 6.803 MB / 445.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.327e-06/0.4979, allocations: 3.938 kB / 445.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.498, allocations: 12 kB / 445.2 MB, free: 7.621 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.0009855/0.499, allocations: 0.5965 MB / 445.8 MB, free: 6.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.499, allocations: 11.97 kB / 445.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.4992, allocations: 63.23 kB / 445.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.4994, allocations: 214.5 kB / 446.1 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.4995, allocations: 16 kB / 446.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.4996, allocations: 35.91 kB / 446.2 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005433/0.5001, allocations: 218.5 kB / 446.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007778/0.5009, allocations: 388.1 kB / 446.8 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.501, allocations: 7.906 kB / 446.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.501, allocations: 0 / 446.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.5011, allocations: 12 kB / 446.8 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.504, allocations: 1.626 MB / 448.4 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.5046, allocations: 375.5 kB / 448.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.5049, allocations: 139.7 kB / 448.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.5049, allocations: 4 kB / 448.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.505, allocations: 54.48 kB / 449 MB, free: 3.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.546e-06/0.505, allocations: 0 / 449 MB, free: 3.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008044/0.5058, allocations: 237.7 kB / 449.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.506, allocations: 265 kB / 449.5 MB, free: 3.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.5063, allocations: 202.3 kB / 449.7 MB, free: 2.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.5063, allocations: 25.83 kB / 449.7 MB, free: 2.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.5066, allocations: 313.9 kB / 450 MB, free: 2.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.5067, allocations: 169.5 kB / 450.2 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.5068, allocations: 0 / 450.2 MB, free: 2.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.507, allocations: 342.8 kB / 450.5 MB, free: 1.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.5072, allocations: 97.5 kB / 450.6 MB, free: 1.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.5077, allocations: 389.9 kB / 451 MB, free: 1.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.5081, allocations: 164 kB / 451.1 MB, free: 1.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.782e-06/0.5081, allocations: 4 kB / 451.1 MB, free: 1.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001037/0.5092, allocations: 480.9 kB / 451.6 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5092, allocations: 9.094 kB / 451.6 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.5092, allocations: 12 kB / 451.6 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.5093, allocations: 12.78 kB / 451.6 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.51, allocations: 183.7 kB / 451.8 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/0.51, allocations: 15.94 kB / 451.8 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.5104, allocations: 47.62 kB / 451.9 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.5105, allocations: 36 kB / 451.9 MB, free: 416 kB / 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.0001551/0.5107, allocations: 128.7 kB / 452 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.511, allocations: 43.61 kB / 452.1 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.5111, allocations: 41.77 kB / 452.1 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.441e-06/0.5111, allocations: 4 kB / 452.1 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.5111, allocations: 4 kB / 452.1 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5112, allocations: 11.94 kB / 452.1 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.5124, allocations: 353.6 kB / 452.5 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.456e-06/0.5125, allocations: 7.984 kB / 452.5 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/0.5132, allocations: 123.8 kB / 452.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.5132, allocations: 7.984 kB / 452.6 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.5133, allocations: 8 kB / 452.6 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.5133, allocations: 4 kB / 452.6 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.528e-06/0.5133, allocations: 4 kB / 452.6 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.5145, allocations: 1.128 MB / 453.8 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.5146, allocations: 104.7 kB / 453.9 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.5147, allocations: 8 kB / 453.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.5152, allocations: 0 / 453.9 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.5153, allocations: 39.91 kB / 453.9 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.5154, allocations: 12 kB / 453.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.5156, allocations: 150 kB / 454.1 MB, free: 14.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.5156, allocations: 3.938 kB / 454.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001145/0.5167, allocations: 123.5 kB / 454.2 MB, free: 13.98 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.0001626/0.5169, allocations: 111.2 kB / 454.3 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006413/0.5176, allocations: 293.7 kB / 454.6 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5176, allocations: 4 kB / 454.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.5178, allocations: 112.5 kB / 454.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009974/0.5188, allocations: 74.44 kB / 454.8 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/0.5223, allocations: 1.996 MB / 456.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.523, allocations: 0.8392 MB / 457.6 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.5232, allocations: 47.31 kB / 457.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.598e-06/0.5232, allocations: 0 / 457.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of Templates: time 0.009464/0.5326, allocations: 4.796 MB / 462.4 MB, free: 5.621 MB / 394.7 MB