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.ForUsersGuide.Directions.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.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 2.259/2.259, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/3.001e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3197, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4443, allocations: 81.88 MB / 446.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4446, allocations: 63.97 kB / 446.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02454/0.4692, allocations: 5.819 MB / 452.3 MB, free: 8.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.623e-06/0.4692, allocations: 0 / 452.3 MB, free: 8.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.4692, allocations: 8 kB / 452.3 MB, free: 8.711 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001032/0.4703, allocations: 0.5727 MB / 452.9 MB, free: 8.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4703, allocations: 11.97 kB / 452.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.4705, allocations: 47.44 kB / 452.9 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.4709, allocations: 271.4 kB / 453.2 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.4709, allocations: 28.78 kB / 453.2 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.471, allocations: 51.86 kB / 453.3 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.4718, allocations: 350.3 kB / 453.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.4719, allocations: 4 kB / 453.6 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.4719, allocations: 16 kB / 453.6 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.4719, allocations: 8 kB / 453.7 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.4725, allocations: 211.9 kB / 453.9 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.4747, allocations: 1.105 MB / 455 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.4754, allocations: 337.3 kB / 455.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.4758, allocations: 159.4 kB / 455.5 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.4758, allocations: 4 kB / 455.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.4758, allocations: 43.91 kB / 455.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 3.55e-06/0.4759, allocations: 0 / 455.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.004646/0.4805, allocations: 2.267 MB / 457.8 MB, free: 2.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.4806, allocations: 110.8 kB / 457.9 MB, free: 2.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.481, allocations: 214.9 kB / 458.1 MB, free: 2.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.481, allocations: 33.7 kB / 458.1 MB, free: 2.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4812, allocations: 235.1 kB / 458.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.4814, allocations: 201.1 kB / 458.5 MB, free: 1.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.4815, allocations: 8 kB / 458.5 MB, free: 1.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4817, allocations: 330.8 kB / 458.9 MB, free: 1.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.482, allocations: 117.1 kB / 459 MB, free: 1.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.4824, allocations: 219 kB / 459.2 MB, free: 1.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.4828, allocations: 141.6 kB / 459.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-06/0.4828, allocations: 0 / 459.3 MB, free: 1.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00128/0.4841, allocations: 0.5117 MB / 459.9 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4841, allocations: 5.406 kB / 459.9 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4841, allocations: 7.984 kB / 459.9 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.4846, allocations: 126.8 kB / 460 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.4852, allocations: 99.88 kB / 460.1 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/0.4909, allocations: 4.657 MB / 464.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.4913, allocations: 23.98 kB / 464.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.4913, allocations: 16 kB / 464.8 MB, free: 11.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.4916, allocations: 140.9 kB / 464.9 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4917, allocations: 31.62 kB / 464.9 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.4918, allocations: 49.95 kB / 465 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.476e-06/0.4919, allocations: 4 kB / 465 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4919, allocations: 4 kB / 465 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.4919, allocations: 7.984 kB / 465 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/0.4947, allocations: 1.299 MB / 466.3 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.232e-06/0.4947, allocations: 4.188 kB / 466.3 MB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.4953, allocations: 103.8 kB / 466.4 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.4957, allocations: 94.61 kB / 466.5 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.4958, allocations: 16 kB / 466.5 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004592/0.5004, allocations: 4.089 MB / 470.6 MB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.03e-06/0.5004, allocations: 3.953 kB / 470.6 MB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.5022, allocations: 0.9443 MB / 471.6 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.5024, allocations: 112.7 kB / 471.7 MB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.5024, allocations: 12.06 kB / 471.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.5028, allocations: 19.98 kB / 471.7 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.503, allocations: 56.02 kB / 471.8 MB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.503, allocations: 12 kB / 471.8 MB, free: 3.684 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002326/0.5033, allocations: 171.1 kB / 471.9 MB, free: 3.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.5033, allocations: 0 / 471.9 MB, free: 3.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000942/0.5043, allocations: 124 kB / 472.1 MB, free: 3.391 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000189/0.5045, allocations: 119.1 kB / 472.2 MB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.506, allocations: 0.7264 MB / 472.9 MB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.131e-06/0.506, allocations: 0 / 472.9 MB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.507, allocations: 0.5574 MB / 473.5 MB, free: 1.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.5077, allocations: 43.12 kB / 473.5 MB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.5098, allocations: 0.9536 MB / 474.5 MB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.5104, allocations: 0.832 MB / 475.3 MB, free: 20 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.5106, allocations: 31.44 kB / 475.3 MB, free: 15.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.798e-06/0.5106, allocations: 0 / 475.3 MB, free: 15.99 MB / 410.7 MB Notification: Performance of Templates: time 0.01431/0.5249, allocations: 8.792 MB / 484.1 MB, free: 7.184 MB / 410.7 MB