Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.134/2.134, allocations: 209.2 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006983/0.0006985, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4127, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.5977, allocations: 74.7 MB / 406.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.598, allocations: 71.97 kB / 406.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03024/0.6283, allocations: 6.848 MB / 413.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6284, allocations: 3.938 kB / 413.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.6284, allocations: 8 kB / 413.4 MB, free: 12.81 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.001436/0.6298, allocations: 0.6304 MB / 414.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.6299, allocations: 12.03 kB / 414.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.6301, allocations: 47.44 kB / 414.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.6303, allocations: 218.8 kB / 414.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.6304, allocations: 36.98 kB / 414.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.6306, allocations: 55.91 kB / 414.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.6317, allocations: 465.9 kB / 414.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.6317, allocations: 7.906 kB / 414.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.6318, allocations: 23.98 kB / 414.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.6318, allocations: 12 kB / 414.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007234/0.6326, allocations: 263.6 kB / 415.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003561/0.6361, allocations: 1.7 MB / 416.9 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/0.637, allocations: 411.4 kB / 417.3 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.637, allocations: 8 kB / 417.3 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.6371, allocations: 55.03 kB / 417.3 MB, free: 8.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.607e-06/0.6371, allocations: 0 / 417.3 MB, free: 8.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001098/0.6382, allocations: 352.9 kB / 417.7 MB, free: 8.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/0.6384, allocations: 269 kB / 417.9 MB, free: 7.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.6388, allocations: 246.6 kB / 418.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.6388, allocations: 34.2 kB / 418.2 MB, free: 7.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.6391, allocations: 302 kB / 418.5 MB, free: 7.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.6393, allocations: 185.4 kB / 418.7 MB, free: 7.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.6393, allocations: 8 kB / 418.7 MB, free: 7.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6395, allocations: 338.8 kB / 419 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.6399, allocations: 117.9 kB / 419.1 MB, free: 6.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.6405, allocations: 417.6 kB / 419.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.641, allocations: 192.8 kB / 419.7 MB, free: 5.961 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.641, allocations: 0 / 419.7 MB, free: 5.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001381/0.6424, allocations: 0.5438 MB / 420.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.6425, allocations: 15.98 kB / 420.3 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.6425, allocations: 11.94 kB / 420.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.664e-05/0.6425, allocations: 16 kB / 420.3 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.6436, allocations: 176.4 kB / 420.5 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.701e-05/0.6437, allocations: 27.92 kB / 420.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.6442, allocations: 63.38 kB / 420.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.6443, allocations: 32 kB / 420.6 MB, free: 5.074 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.0003569/0.6446, allocations: 185.5 kB / 420.8 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.6449, allocations: 39.61 kB / 420.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.645, allocations: 41.7 kB / 420.9 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.6451, allocations: 4.625 kB / 420.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.6451, allocations: 7.953 kB / 420.9 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6451, allocations: 8 kB / 420.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.6468, allocations: 409.2 kB / 421.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.6468, allocations: 8 kB / 421.3 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.6481, allocations: 127.8 kB / 421.4 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.6481, allocations: 4 kB / 421.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.6482, allocations: 12 kB / 421.4 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.6482, allocations: 7.984 kB / 421.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.6482, allocations: 7.938 kB / 421.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.6495, allocations: 1.074 MB / 422.5 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.6497, allocations: 120.6 kB / 422.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.6498, allocations: 12 kB / 422.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.6504, allocations: 12 kB / 422.7 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.6505, allocations: 39.84 kB / 422.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.6505, allocations: 8 kB / 422.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002549/0.6508, allocations: 174 kB / 422.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6508, allocations: 0 / 422.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001183/0.652, allocations: 135.7 kB / 423 MB, free: 2.562 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.0002232/0.6523, allocations: 118.9 kB / 423.1 MB, free: 2.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009343/0.6532, allocations: 341.3 kB / 423.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6532, allocations: 0 / 423.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.6535, allocations: 128.5 kB / 423.6 MB, free: 1.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.6548, allocations: 77.25 kB / 423.7 MB, free: 1.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.6599, allocations: 2.473 MB / 426.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.6605, allocations: 0.8394 MB / 427 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.6606, allocations: 39.44 kB / 427 MB, free: 14.46 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6607, allocations: 0 / 427 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Templates: time 0.01258/0.6732, allocations: 4.857 MB / 431.9 MB, free: 9.594 MB / 362.7 MB