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.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.781e-05, allocations: 7.984 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4443, allocations: 80 MB / 444.5 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.4445, allocations: 70.53 kB / 444.6 MB, free: 436 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01019/0.4547, allocations: 2.537 MB / 447.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.49e-06/0.4548, allocations: 0 / 447.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.4548, allocations: 10.44 kB / 447.1 MB, free: 13.9 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005683/0.4554, allocations: 402.5 kB / 447.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4555, allocations: 12.03 kB / 447.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.4555, allocations: 19.77 kB / 447.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.4557, allocations: 182.3 kB / 447.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.4558, allocations: 16.33 kB / 447.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.4558, allocations: 19.91 kB / 447.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.4562, allocations: 161.7 kB / 447.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.4562, allocations: 0 / 447.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.4563, allocations: 12 kB / 448 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.4563, allocations: 4 kB / 448 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.4565, allocations: 87.88 kB / 448 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.4577, allocations: 0.6113 MB / 448.7 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.458, allocations: 125.2 kB / 448.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4581, allocations: 49.91 kB / 448.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.4582, allocations: 4.781 kB / 448.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4582, allocations: 42.52 kB / 448.9 MB, free: 11.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.814e-06/0.4582, allocations: 0 / 448.9 MB, free: 11.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005248/0.4588, allocations: 143.9 kB / 449 MB, free: 11.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.4588, allocations: 81.11 kB / 449.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.459, allocations: 122.8 kB / 449.2 MB, free: 11.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.459, allocations: 29.7 kB / 449.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4592, allocations: 202.4 kB / 449.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.4593, allocations: 51.2 kB / 449.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.4593, allocations: 8 kB / 449.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4595, allocations: 322.8 kB / 449.8 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.795e-05/0.4596, allocations: 40.61 kB / 449.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.4597, allocations: 100.6 kB / 450 MB, free: 10.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.4599, allocations: 56.66 kB / 450 MB, free: 10.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.999e-06/0.4599, allocations: 4 kB / 450 MB, free: 10.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005265/0.4604, allocations: 212.5 kB / 450.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4605, allocations: 11.95 kB / 450.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4605, allocations: 6.688 kB / 450.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.4608, allocations: 45.7 kB / 450.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.461, allocations: 39.2 kB / 450.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/0.4639, allocations: 2.712 MB / 453 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.4641, allocations: 16.75 kB / 453 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4642, allocations: 11.94 kB / 453.1 MB, free: 7.434 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.4643, allocations: 117.1 kB / 453.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.4644, allocations: 15.91 kB / 453.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.4645, allocations: 16.61 kB / 453.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.464e-06/0.4645, allocations: 4 kB / 453.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.875e-06/0.4645, allocations: 1.406 kB / 453.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-06/0.4645, allocations: 0 / 453.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.465, allocations: 237.4 kB / 453.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-06/0.465, allocations: 0 / 453.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.4653, allocations: 31.92 kB / 453.5 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.4655, allocations: 53.69 kB / 453.5 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.4656, allocations: 0 / 453.5 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.4685, allocations: 2.704 MB / 456.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.84e-06/0.4685, allocations: 224 / 456.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.4692, allocations: 394 kB / 456.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.4693, allocations: 85.02 kB / 456.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.4693, allocations: 4 kB / 456.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.4695, allocations: 8.062 kB / 456.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.4695, allocations: 8.172 kB / 456.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4696, allocations: 8 kB / 456.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.619e-05/0.4697, allocations: 104.6 kB / 456.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.4697, allocations: 0 / 456.8 MB, free: 3.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007011/0.4704, allocations: 55.84 kB / 456.9 MB, free: 3.234 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.4706, allocations: 107.2 kB / 457 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009715/0.4716, allocations: 341.3 kB / 457.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.927e-06/0.4716, allocations: 0 / 457.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.4722, allocations: 281.6 kB / 457.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.4729, allocations: 40.7 kB / 457.6 MB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4741, allocations: 0.5887 MB / 458.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.4746, allocations: 0.7321 MB / 459 MB, free: 1.047 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.4746, allocations: 19.44 kB / 459 MB, free: 1.027 MB / 378.7 MB Notification: Performance of SimCode: time 1.831e-06/0.4746, allocations: 0 / 459 MB, free: 1.027 MB / 378.7 MB Notification: Performance of Templates: time 0.00621/0.4809, allocations: 3.001 MB / 462 MB, free: 14.04 MB / 394.7 MB