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.ConnectionPossibilities.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.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.1_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 1.859/1.859, allocations: 209.3 MB / 224.9 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004535, allocations: 12 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08639, allocations: 48.7 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/0.4081, allocations: 73.71 MB / 405 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4084, allocations: 71.95 kB / 405 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009731/0.4181, allocations: 2.532 MB / 407.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.723e-06/0.4182, allocations: 0 / 407.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4182, allocations: 4 kB / 407.6 MB, free: 8.883 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006254/0.4188, allocations: 419.2 kB / 408 MB, free: 8.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4189, allocations: 12.03 kB / 408 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.4189, allocations: 15.81 kB / 408 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.4191, allocations: 183.4 kB / 408.2 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.4192, allocations: 12.33 kB / 408.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.4192, allocations: 23.94 kB / 408.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.4196, allocations: 165.6 kB / 408.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.4196, allocations: 3.906 kB / 408.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.4197, allocations: 8 kB / 408.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4197, allocations: 11.98 kB / 408.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.4199, allocations: 83.89 kB / 408.5 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.421, allocations: 0.6156 MB / 409.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.4213, allocations: 133.1 kB / 409.2 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.4214, allocations: 3.938 kB / 409.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.4214, allocations: 39.56 kB / 409.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.906e-06/0.4214, allocations: 5.531 kB / 409.3 MB, free: 6.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001032/0.4225, allocations: 377.2 kB / 409.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.4226, allocations: 85.11 kB / 409.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.4227, allocations: 117.2 kB / 409.9 MB, free: 6.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.4228, allocations: 25.7 kB / 409.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4229, allocations: 198.4 kB / 410.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.423, allocations: 55.2 kB / 410.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.423, allocations: 4 kB / 410.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4232, allocations: 318.8 kB / 410.4 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/0.4233, allocations: 35.98 kB / 410.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4235, allocations: 108.5 kB / 410.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.4236, allocations: 48 kB / 410.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-06/0.4236, allocations: 0 / 410.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005377/0.4242, allocations: 223.3 kB / 410.9 MB, free: 5.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4242, allocations: 15.28 kB / 410.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.4242, allocations: 0 / 410.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.4245, allocations: 49.73 kB / 410.9 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.4247, allocations: 40.39 kB / 411 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.4277, allocations: 2.721 MB / 413.7 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.4279, allocations: 20.16 kB / 413.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.4279, allocations: 8 kB / 413.7 MB, free: 2.164 MB / 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 () * Number of clocked 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.0001743/0.4281, allocations: 130 kB / 413.8 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.4282, allocations: 19.83 kB / 413.8 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.4283, allocations: 28.59 kB / 413.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4283, allocations: 0 / 413.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4283, allocations: 0 / 413.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.875e-06/0.4283, allocations: 4 kB / 413.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.4287, allocations: 229.5 kB / 414.1 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-06/0.4288, allocations: 0 / 414.1 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.429, allocations: 27.98 kB / 414.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.4292, allocations: 49.69 kB / 414.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.4293, allocations: 4 kB / 414.2 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.4322, allocations: 2.739 MB / 416.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4322, allocations: 320 / 416.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.4328, allocations: 382 kB / 417.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/0.4329, allocations: 85.02 kB / 417.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.433, allocations: 3.953 kB / 417.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.4331, allocations: 19.98 kB / 417.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.4332, allocations: 11.92 kB / 417.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4332, allocations: 4 kB / 417.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.266e-05/0.4333, allocations: 100.5 kB / 417.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4333, allocations: 0 / 417.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006401/0.434, allocations: 55.84 kB / 417.6 MB, free: 13.92 MB / 346.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 () * Number of clocked 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.0001535/0.4342, allocations: 103.2 kB / 417.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.4349, allocations: 337.7 kB / 418 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.425e-06/0.4349, allocations: 0 / 418 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.4353, allocations: 297.7 kB / 418.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.4358, allocations: 31.98 kB / 418.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4372, allocations: 0.8164 MB / 419.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.4377, allocations: 0.7203 MB / 419.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.4378, allocations: 19.38 kB / 419.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of SimCode: time 1.69e-06/0.4378, allocations: 4 kB / 419.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of Templates: time 0.006131/0.4439, allocations: 2.992 MB / 422.9 MB, free: 8.488 MB / 346.7 MB