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.Directions3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.719e-05/1.735e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.307, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4433, allocations: 72.64 MB / 392.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4436, allocations: 67.97 kB / 392.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007307/0.4509, allocations: 1.942 MB / 394.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.451, allocations: 0 / 394.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.451, allocations: 4 kB / 394.7 MB, free: 5.793 MB / 330.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.0004517/0.4515, allocations: 370.5 kB / 395 MB, free: 5.383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4515, allocations: 8.031 kB / 395 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.4516, allocations: 7.906 kB / 395 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.4518, allocations: 174.9 kB / 395.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4518, allocations: 7.953 kB / 395.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.4518, allocations: 8 kB / 395.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001518/0.452, allocations: 52.45 kB / 395.3 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.4522, allocations: 112.8 kB / 395.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.4523, allocations: 0 / 395.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4523, allocations: 3.938 kB / 395.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-06/0.4523, allocations: 4 kB / 395.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.4532, allocations: 0.5142 MB / 395.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4534, allocations: 81.19 kB / 396 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.4535, allocations: 29.66 kB / 396 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.4535, allocations: 4 kB / 396 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4535, allocations: 30.56 kB / 396 MB, free: 4.223 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.233e-06/0.4535, allocations: 0 / 396 MB, free: 4.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003673/0.4539, allocations: 95.33 kB / 396.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.454, allocations: 89.09 kB / 396.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4541, allocations: 105.3 kB / 396.3 MB, free: 3.902 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4541, allocations: 29.7 kB / 396.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4543, allocations: 186.1 kB / 396.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.4543, allocations: 35.45 kB / 396.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-06/0.4543, allocations: 0 / 396.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4545, allocations: 322.8 kB / 396.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.4546, allocations: 16 kB / 396.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4547, allocations: 84.53 kB / 397 MB, free: 3.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.4548, allocations: 27.98 kB / 397 MB, free: 3.168 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.067e-06/0.4548, allocations: 4 kB / 397 MB, free: 3.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003481/0.4552, allocations: 143.3 kB / 397.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4552, allocations: 8.781 kB / 397.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4552, allocations: 3.984 kB / 397.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.4554, allocations: 45.84 kB / 397.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4556, allocations: 23.98 kB / 397.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.4579, allocations: 2.422 MB / 399.7 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.324e-05/0.458, allocations: 4 kB / 399.7 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.458, allocations: 4 kB / 399.7 MB, free: 276 kB / 330.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 () * 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.0001077/0.4581, allocations: 117 kB / 399.8 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.4582, allocations: 7.906 kB / 399.8 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.4582, allocations: 16.33 kB / 399.8 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-06/0.4583, allocations: 0 / 399.8 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.924e-06/0.4583, allocations: 0 / 399.8 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.4583, allocations: 7.891 kB / 399.8 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.4586, allocations: 170.2 kB / 400 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.183e-06/0.4587, allocations: 4 kB / 400 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4588, allocations: 19.98 kB / 400 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.459, allocations: 25.72 kB / 400 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.459, allocations: 4 kB / 400 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.4612, allocations: 2.431 MB / 402.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.064e-06/0.4613, allocations: 4.031 kB / 402.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.4617, allocations: 302 kB / 402.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.4618, allocations: 81.02 kB / 402.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.4618, allocations: 12.05 kB / 402.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4619, allocations: 0 / 402.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.462, allocations: 15.97 kB / 402.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-06/0.462, allocations: 0 / 402.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.474e-05/0.4621, allocations: 95.31 kB / 403 MB, free: 12.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4621, allocations: 0 / 403 MB, free: 12.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005115/0.4626, allocations: 31.94 kB / 403 MB, free: 12.61 MB / 346.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 () * 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.0001425/0.4628, allocations: 99.75 kB / 403.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.4633, allocations: 276.5 kB / 403.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.194e-06/0.4633, allocations: 3.938 kB / 403.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.4636, allocations: 236.1 kB / 403.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.464, allocations: 29.2 kB / 403.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.4648, allocations: 431.3 kB / 404 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.4652, allocations: 0.7164 MB / 404.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.4652, allocations: 11.44 kB / 404.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.418e-06/0.4653, allocations: 0 / 404.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of Templates: time 0.004969/0.4702, allocations: 2.333 MB / 407.1 MB, free: 8.402 MB / 346.7 MB