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.Directions.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.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.879/2.879, allocations: 234.9 MB / 251.1 MB, free: 10.67 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004442, allocations: 15.98 kB / 314.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3701, allocations: 54.86 MB / 369.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5185, allocations: 81.96 MB / 451.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5189, allocations: 75.95 kB / 451.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02603/0.5449, allocations: 5.798 MB / 457.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.545, allocations: 4 kB / 457.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.545, allocations: 4 kB / 457.6 MB, free: 2.926 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.001341/0.5464, allocations: 0.6047 MB / 458.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5464, allocations: 15.97 kB / 458.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.5466, allocations: 39.53 kB / 458.3 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.547, allocations: 275.3 kB / 458.6 MB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.5471, allocations: 25 kB / 458.6 MB, free: 1.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.5472, allocations: 51.89 kB / 458.6 MB, free: 1.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5483, allocations: 381 kB / 459 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.5484, allocations: 7.984 kB / 459 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.5485, allocations: 16 kB / 459 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.5485, allocations: 8 kB / 459 MB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009382/0.5494, allocations: 255.8 kB / 459.3 MB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.5519, allocations: 1.097 MB / 460.4 MB, free: 0 / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.5529, allocations: 371.7 kB / 460.8 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.553, allocations: 4 kB / 460.8 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.553, allocations: 42.56 kB / 460.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/0.5531, allocations: 3.938 kB / 460.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.006306/0.5594, allocations: 2.474 MB / 463.3 MB, free: 12.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/0.5595, allocations: 114.8 kB / 463.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.5599, allocations: 238.6 kB / 463.6 MB, free: 12.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.56, allocations: 37.7 kB / 463.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.5602, allocations: 235.1 kB / 463.9 MB, free: 12.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.5604, allocations: 197.1 kB / 464.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.5605, allocations: 12 kB / 464.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5606, allocations: 330.8 kB / 464.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.5612, allocations: 133.1 kB / 464.5 MB, free: 11.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.5618, allocations: 239.8 kB / 464.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.5624, allocations: 175.9 kB / 464.9 MB, free: 11.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5624, allocations: 0 / 464.9 MB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001826/0.5642, allocations: 0.5461 MB / 465.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.5643, allocations: 8 kB / 465.5 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5643, allocations: 4 kB / 465.5 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.5649, allocations: 126.5 kB / 465.6 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.5657, allocations: 95.89 kB / 465.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.5717, allocations: 4.719 MB / 470.4 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.5722, allocations: 23.97 kB / 470.5 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.5723, allocations: 20 kB / 470.5 MB, free: 5.074 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 () * Number of clocked 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.0003365/0.5726, allocations: 177.7 kB / 470.7 MB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.5728, allocations: 31.62 kB / 470.7 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.5729, allocations: 50.17 kB / 470.7 MB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.5729, allocations: 4 kB / 470.7 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.5729, allocations: 4 kB / 470.7 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.573, allocations: 0 / 470.7 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.5764, allocations: 1.35 MB / 472.1 MB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5765, allocations: 0 / 472.1 MB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/0.5773, allocations: 99.88 kB / 472.2 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004847/0.5778, allocations: 98.39 kB / 472.3 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.5779, allocations: 12 kB / 472.3 MB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3089/0.8868, allocations: 4.139 MB / 476.4 MB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8868, allocations: 1.625 kB / 476.4 MB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.8893, allocations: 0.9464 MB / 477.4 MB, free: 94.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.8894, allocations: 109.1 kB / 477.5 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.8895, allocations: 12.88 kB / 477.5 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.89, allocations: 20.66 kB / 477.5 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.8901, allocations: 43.14 kB / 477.6 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.8902, allocations: 15.05 kB / 477.6 MB, free: 94.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.8905, allocations: 171.4 kB / 477.8 MB, free: 94.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8905, allocations: 1.562 kB / 477.8 MB, free: 94.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001024/0.8915, allocations: 122.8 kB / 477.9 MB, free: 94.23 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 () * Number of clocked 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.0002096/0.8917, allocations: 118 kB / 478 MB, free: 94.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.8937, allocations: 0.778 MB / 478.8 MB, free: 93.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.8937, allocations: 3.281 kB / 478.8 MB, free: 93.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.895, allocations: 0.579 MB / 479.4 MB, free: 93.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.8957, allocations: 50.62 kB / 479.4 MB, free: 93.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.8986, allocations: 1.334 MB / 480.7 MB, free: 92.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.8991, allocations: 0.8307 MB / 481.6 MB, free: 92.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.8993, allocations: 33.89 kB / 481.6 MB, free: 92.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8993, allocations: 0 / 481.6 MB, free: 92.05 MB / 394.7 MB Notification: Performance of Templates: time 0.01573/0.9151, allocations: 8.804 MB / 490.4 MB, free: 89.93 MB / 394.7 MB