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.ForUsersGuide.Directions.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 1.984/1.984, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.302e-05/4.322e-05, allocations: 11.98 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08751, allocations: 48.69 MB / 326.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.4295, allocations: 75.52 MB / 402 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.4297, allocations: 65.25 kB / 402.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02137/0.4511, allocations: 5.826 MB / 407.9 MB, free: 7.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4511, allocations: 3.984 kB / 407.9 MB, free: 7.902 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.4512, allocations: 7.781 kB / 407.9 MB, free: 7.902 MB / 314.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.0008342/0.452, allocations: 0.575 MB / 408.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4521, allocations: 7.688 kB / 408.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.454e-05/0.4522, allocations: 54.56 kB / 408.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.4525, allocations: 271 kB / 408.8 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.4525, allocations: 34.53 kB / 408.9 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.4526, allocations: 41.12 kB / 408.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.4533, allocations: 353.9 kB / 409.3 MB, free: 7.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.4533, allocations: 7.812 kB / 409.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.4534, allocations: 18.92 kB / 409.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.4534, allocations: 7.531 kB / 409.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.4539, allocations: 213.4 kB / 409.5 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.4556, allocations: 1.104 MB / 410.6 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.4561, allocations: 339.2 kB / 410.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.4564, allocations: 165.6 kB / 411.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.4565, allocations: 8.656 kB / 411.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4565, allocations: 34.12 kB / 411.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 3.597e-06/0.4565, allocations: 0 / 411.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.003676/0.4602, allocations: 2.278 MB / 413.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.4603, allocations: 110.5 kB / 413.5 MB, free: 4.402 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.4605, allocations: 213 kB / 413.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.4606, allocations: 36.33 kB / 413.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.4607, allocations: 233.7 kB / 414 MB, free: 4.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.4608, allocations: 206.5 kB / 414.2 MB, free: 3.926 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.4609, allocations: 13.47 kB / 414.2 MB, free: 3.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.4609, allocations: 332.8 kB / 414.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.4612, allocations: 120 kB / 414.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.4615, allocations: 211.5 kB / 414.9 MB, free: 3.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.4618, allocations: 153.1 kB / 415 MB, free: 3.457 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.003e-06/0.4619, allocations: 0 / 415 MB, free: 3.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001092/0.463, allocations: 0.4983 MB / 415.5 MB, free: 3.121 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.463, allocations: 8.078 kB / 415.5 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.463, allocations: 11.95 kB / 415.5 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.4635, allocations: 126.9 kB / 415.7 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.464, allocations: 98.62 kB / 415.8 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.4684, allocations: 4.659 MB / 420.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.4688, allocations: 21.3 kB / 420.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.4689, allocations: 19.12 kB / 420.5 MB, free: 14.23 MB / 330.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.0001695/0.4691, allocations: 135.4 kB / 420.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.4692, allocations: 35.61 kB / 420.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.4693, allocations: 52.09 kB / 420.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4694, allocations: 8 kB / 420.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.4694, allocations: 4 kB / 420.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4694, allocations: 7.984 kB / 420.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.4721, allocations: 1.302 MB / 422 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.749e-06/0.4721, allocations: 0 / 422 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.4728, allocations: 95.27 kB / 422.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/0.4732, allocations: 105.1 kB / 422.2 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.4733, allocations: 11.69 kB / 422.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004361/0.4776, allocations: 4.098 MB / 426.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.14e-06/0.4777, allocations: 4.031 kB / 426.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.4793, allocations: 0.9412 MB / 427.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.4796, allocations: 142.2 kB / 427.4 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.4797, allocations: 11.06 kB / 427.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.4801, allocations: 19.31 kB / 427.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4802, allocations: 47.5 kB / 427.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.4803, allocations: 15.44 kB / 427.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002362/0.4805, allocations: 174.9 kB / 427.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4805, allocations: 0 / 427.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009701/0.4815, allocations: 122.1 kB / 427.8 MB, free: 7.199 MB / 330.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.0001945/0.4817, allocations: 116.9 kB / 427.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.4833, allocations: 0.7232 MB / 428.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.4833, allocations: 0 / 428.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.4844, allocations: 0.5551 MB / 429.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/0.485, allocations: 53.91 kB / 429.2 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.4871, allocations: 0.9587 MB / 430.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.4877, allocations: 0.8281 MB / 431 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.4879, allocations: 35.38 kB / 431 MB, free: 4.082 MB / 330.7 MB Notification: Performance of SimCode: time 1.874e-06/0.4879, allocations: 0 / 431 MB, free: 4.082 MB / 330.7 MB Notification: Performance of Templates: time 0.01441/0.5023, allocations: 8.798 MB / 439.8 MB, free: 11.34 MB / 346.7 MB