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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.239/2.239, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.227e-05/1.236e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2768, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.3987, allocations: 79.33 MB / 437.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.3989, allocations: 59.97 kB / 437.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009664/0.4086, allocations: 2.531 MB / 439.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.656e-06/0.4087, allocations: 4 kB / 440 MB, free: 12.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.4087, allocations: 0 / 440 MB, free: 12.93 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.0005449/0.4092, allocations: 406.4 kB / 440.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4093, allocations: 12.03 kB / 440.4 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.4094, allocations: 19.77 kB / 440.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.4096, allocations: 186.8 kB / 440.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4096, allocations: 8 kB / 440.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.4096, allocations: 11.98 kB / 440.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000227/0.4099, allocations: 76.58 kB / 440.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.4102, allocations: 141.3 kB / 440.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.4102, allocations: 7.906 kB / 440.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4102, allocations: 0 / 440.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.4103, allocations: 11.94 kB / 440.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.4113, allocations: 0.5649 MB / 441.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.4116, allocations: 121.2 kB / 441.5 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.4117, allocations: 41.72 kB / 441.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.4117, allocations: 4 kB / 441.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4118, allocations: 34.56 kB / 441.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.072e-06/0.4118, allocations: 0 / 441.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000492/0.4123, allocations: 147.3 kB / 441.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.4124, allocations: 81.11 kB / 441.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4125, allocations: 118.6 kB / 441.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4125, allocations: 25.7 kB / 441.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4127, allocations: 194.4 kB / 442.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.4127, allocations: 55.2 kB / 442.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-06/0.4128, allocations: 0 / 442.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4129, allocations: 322.8 kB / 442.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.413, allocations: 35.86 kB / 442.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.4132, allocations: 97.73 kB / 442.6 MB, free: 9.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.4133, allocations: 55.97 kB / 442.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4133, allocations: 0 / 442.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000491/0.4138, allocations: 191.1 kB / 442.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4139, allocations: 8 kB / 442.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.274e-06/0.4139, allocations: 0 / 442.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.4142, allocations: 49.78 kB / 442.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4143, allocations: 39.88 kB / 443 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.4171, allocations: 2.613 MB / 445.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.4173, allocations: 11.84 kB / 445.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.4173, allocations: 8 kB / 445.6 MB, free: 6.762 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.0001211/0.4174, allocations: 113 kB / 445.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.4175, allocations: 15.86 kB / 445.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.4176, allocations: 12.62 kB / 445.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.745e-06/0.4176, allocations: 4.141 kB / 445.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.999e-06/0.4176, allocations: 0 / 445.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.27e-06/0.4176, allocations: 11.91 kB / 445.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.418, allocations: 194.1 kB / 445.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-06/0.418, allocations: 0 / 445.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.4182, allocations: 27.98 kB / 446 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.4185, allocations: 53.62 kB / 446 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4185, allocations: 0 / 446 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.4211, allocations: 2.614 MB / 448.6 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.4212, allocations: 0 / 448.6 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.4217, allocations: 362.2 kB / 449 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.4218, allocations: 88.91 kB / 449.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.4219, allocations: 8.062 kB / 449.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.422, allocations: 0 / 449.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.4221, allocations: 16 kB / 449.1 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.4221, allocations: 4 kB / 449.1 MB, free: 2.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.668e-05/0.4222, allocations: 102.6 kB / 449.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.4222, allocations: 0 / 449.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000627/0.4229, allocations: 48.06 kB / 449.3 MB, free: 2.785 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.0001681/0.423, allocations: 111.2 kB / 449.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006034/0.4237, allocations: 315.5 kB / 449.7 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.814e-06/0.4237, allocations: 0 / 449.7 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.4241, allocations: 264 kB / 449.9 MB, free: 2.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.4245, allocations: 20.73 kB / 449.9 MB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4257, allocations: 0.5904 MB / 450.5 MB, free: 1.418 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.4261, allocations: 0.7282 MB / 451.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.4262, allocations: 15.44 kB / 451.3 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/0.4262, allocations: 4 kB / 451.3 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of Templates: time 0.00614/0.4323, allocations: 2.98 MB / 454.3 MB, free: 13.67 MB / 394.7 MB