Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004209, allocations: 16 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4583, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.6532, allocations: 79.75 MB / 449.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.6535, allocations: 67.97 kB / 449.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007987/0.6615, allocations: 1.965 MB / 451.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6616, allocations: 0 / 451.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.6616, allocations: 4 kB / 451.6 MB, free: 8.828 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000573/0.6622, allocations: 383.2 kB / 452 MB, free: 8.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6623, allocations: 12.03 kB / 452 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.6623, allocations: 19.77 kB / 452 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.6625, allocations: 171 kB / 452.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.6625, allocations: 8.234 kB / 452.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.6626, allocations: 12 kB / 452.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.6629, allocations: 125 kB / 452.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.663, allocations: 7.906 kB / 452.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.663, allocations: 4 kB / 452.3 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.663, allocations: 4 kB / 452.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.6632, allocations: 63.84 kB / 452.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.6643, allocations: 0.5372 MB / 452.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.6646, allocations: 93.16 kB / 453 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.6646, allocations: 0 / 453 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.6646, allocations: 30.56 kB / 453 MB, free: 7.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.6646, allocations: 0 / 453 MB, free: 7.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000831/0.6655, allocations: 317.4 kB / 453.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.6656, allocations: 81.09 kB / 453.4 MB, free: 6.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.6657, allocations: 129.7 kB / 453.6 MB, free: 6.594 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.6658, allocations: 25.7 kB / 453.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6659, allocations: 182.1 kB / 453.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.666, allocations: 35.48 kB / 453.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.666, allocations: 4 kB / 453.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6661, allocations: 322.8 kB / 454.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.6662, allocations: 19.98 kB / 454.1 MB, free: 6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.6664, allocations: 80.58 kB / 454.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.6665, allocations: 47.92 kB / 454.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6665, allocations: 0 / 454.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004683/0.667, allocations: 167.1 kB / 454.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.667, allocations: 4 kB / 454.4 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.667, allocations: 4 kB / 454.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.6673, allocations: 33.7 kB / 454.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.6675, allocations: 27.98 kB / 454.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.6701, allocations: 2.546 MB / 457 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.6703, allocations: 8 kB / 457 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.6703, allocations: 4 kB / 457 MB, free: 2.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.6705, allocations: 137.9 kB / 457.2 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.6706, allocations: 11.89 kB / 457.2 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.6706, allocations: 11.91 kB / 457.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6706, allocations: 0 / 457.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6707, allocations: 0 / 457.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6707, allocations: 0 / 457.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.671, allocations: 209.5 kB / 457.4 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.671, allocations: 0 / 457.4 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.6712, allocations: 12 kB / 457.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.6714, allocations: 41.64 kB / 457.5 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.6715, allocations: 4 kB / 457.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.6741, allocations: 2.54 MB / 460 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6741, allocations: 448 / 460 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.6746, allocations: 312.3 kB / 460.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.6747, allocations: 84.95 kB / 460.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.6747, allocations: 7.938 kB / 460.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6749, allocations: 0 / 460.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.6749, allocations: 15.98 kB / 460.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.675, allocations: 8 kB / 460.4 MB, free: 15.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.32e-05/0.675, allocations: 99.58 kB / 460.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6751, allocations: 0 / 460.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.6755, allocations: 32 kB / 460.5 MB, free: 14.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/0.6757, allocations: 99.23 kB / 460.6 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006437/0.6764, allocations: 305.7 kB / 460.9 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6764, allocations: 0 / 460.9 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.6768, allocations: 265.3 kB / 461.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.6773, allocations: 19.98 kB / 461.2 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.6786, allocations: 0.592 MB / 461.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.6789, allocations: 0.7122 MB / 462.5 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.679, allocations: 15.44 kB / 462.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of SimCode: time 3.486e-06/0.679, allocations: 4 kB / 462.5 MB, free: 12.76 MB / 394.7 MB Notification: Performance of Templates: time 0.005958/0.685, allocations: 2.337 MB / 464.9 MB, free: 10.42 MB / 394.7 MB