Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.987/1.987, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004477, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.357, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4926, allocations: 73.69 MB / 405.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.493, allocations: 71.95 kB / 405.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.5036, allocations: 2.533 MB / 408.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5036, allocations: 3.938 kB / 408.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.5037, allocations: 4 kB / 408.1 MB, free: 2.164 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.0006896/0.5044, allocations: 425.3 kB / 408.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5044, allocations: 8.031 kB / 408.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.5045, allocations: 15.81 kB / 408.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.5047, allocations: 178.9 kB / 408.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.5047, allocations: 16.27 kB / 408.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.5048, allocations: 20 kB / 408.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.5052, allocations: 177.5 kB / 408.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.5052, allocations: 3.906 kB / 408.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.5053, allocations: 4 kB / 408.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.5053, allocations: 7.984 kB / 408.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.5056, allocations: 87.89 kB / 409 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.5068, allocations: 0.615 MB / 409.6 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.5071, allocations: 125.2 kB / 409.8 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.5071, allocations: 0 / 409.8 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5072, allocations: 38.56 kB / 409.8 MB, free: 284 kB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.674e-06/0.5072, allocations: 3.938 kB / 409.8 MB, free: 280 kB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001163/0.5084, allocations: 393.5 kB / 410.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5084, allocations: 77.11 kB / 410.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.5086, allocations: 138 kB / 410.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.5086, allocations: 29.7 kB / 410.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5087, allocations: 198.4 kB / 410.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.5088, allocations: 55.2 kB / 410.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.5088, allocations: 4 kB / 410.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.509, allocations: 326.8 kB / 411 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.5091, allocations: 31.98 kB / 411 MB, free: 14.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.5093, allocations: 100.6 kB / 411.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.5094, allocations: 55.94 kB / 411.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5094, allocations: 0 / 411.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005713/0.51, allocations: 219.1 kB / 411.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5101, allocations: 7.984 kB / 411.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.5101, allocations: 4 kB / 411.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.5104, allocations: 45.7 kB / 411.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.5106, allocations: 35.92 kB / 411.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.5135, allocations: 2.729 MB / 414.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.5137, allocations: 15.84 kB / 414.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.5137, allocations: 8 kB / 414.2 MB, free: 11.42 MB / 346.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.000187/0.5139, allocations: 142 kB / 414.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.514, allocations: 7.906 kB / 414.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.5141, allocations: 20.7 kB / 414.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5141, allocations: 7.953 kB / 414.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5141, allocations: 480 / 414.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5141, allocations: 0 / 414.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.5146, allocations: 233.5 kB / 414.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5146, allocations: 0 / 414.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.5149, allocations: 27.92 kB / 414.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.5151, allocations: 53.62 kB / 414.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.5152, allocations: 4 kB / 414.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.518, allocations: 2.74 MB / 417.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.518, allocations: 0 / 417.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.5187, allocations: 368.4 kB / 417.8 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.5187, allocations: 89.14 kB / 417.9 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.5188, allocations: 12.06 kB / 417.9 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.5189, allocations: 0 / 417.9 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.519, allocations: 15.92 kB / 417.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.519, allocations: 8 kB / 417.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.5191, allocations: 95.27 kB / 418 MB, free: 7.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5191, allocations: 0 / 418 MB, free: 7.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006109/0.5198, allocations: 59.84 kB / 418.1 MB, free: 7.188 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.0001538/0.5199, allocations: 103.2 kB / 418.2 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006957/0.5206, allocations: 341.7 kB / 418.5 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5206, allocations: 4 kB / 418.5 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.5211, allocations: 289.7 kB / 418.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.5216, allocations: 23.98 kB / 418.8 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.5233, allocations: 0.8087 MB / 419.7 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.5237, allocations: 0.732 MB / 420.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.5237, allocations: 15.44 kB / 420.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5237, allocations: 384 / 420.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of Templates: time 0.007432/0.5312, allocations: 2.989 MB / 423.4 MB, free: 1.77 MB / 346.7 MB