Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.33/2.33, allocations: 234.9 MB / 251.1 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006225/0.0006226, allocations: 12 kB / 314.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3622, allocations: 54.87 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.5137, allocations: 80.07 MB / 449.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.5141, allocations: 71.95 kB / 449.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.5247, allocations: 2.527 MB / 452.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5247, allocations: 0 / 452.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.5248, allocations: 8 kB / 452.5 MB, free: 7.922 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.0007123/0.5255, allocations: 423.2 kB / 452.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5255, allocations: 8.031 kB / 452.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.5256, allocations: 19.77 kB / 452.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.5258, allocations: 186.8 kB / 453.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.5259, allocations: 12.31 kB / 453.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.526, allocations: 20 kB / 453.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.5264, allocations: 169.6 kB / 453.3 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.5264, allocations: 3.906 kB / 453.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.5265, allocations: 4 kB / 453.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5265, allocations: 4 kB / 453.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.5268, allocations: 95.78 kB / 453.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.528, allocations: 0.6112 MB / 454 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.5284, allocations: 129.1 kB / 454.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.5284, allocations: 7.938 kB / 454.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.5284, allocations: 34.56 kB / 454.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.5285, allocations: 4 kB / 454.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001167/0.5296, allocations: 381.6 kB / 454.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.5297, allocations: 81.11 kB / 454.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.5299, allocations: 127.5 kB / 454.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.5299, allocations: 29.7 kB / 454.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.5301, allocations: 190.5 kB / 455 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.5302, allocations: 71.08 kB / 455 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.5302, allocations: 4 kB / 455 MB, free: 5.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5304, allocations: 322.8 kB / 455.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.5305, allocations: 35.84 kB / 455.4 MB, free: 4.711 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.5307, allocations: 112 kB / 455.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.5308, allocations: 48 kB / 455.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5308, allocations: 3.938 kB / 455.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005989/0.5315, allocations: 223.4 kB / 455.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5315, allocations: 4 kB / 455.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5315, allocations: 8.047 kB / 455.8 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.5318, allocations: 49.64 kB / 455.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.5321, allocations: 40.17 kB / 455.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.5351, allocations: 2.717 MB / 458.6 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.5353, allocations: 16.16 kB / 458.6 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.5353, allocations: 12 kB / 458.6 MB, free: 1.168 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 () * 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.0001896/0.5355, allocations: 137.7 kB / 458.8 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.5356, allocations: 11.91 kB / 458.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.5357, allocations: 16.7 kB / 458.8 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5357, allocations: 4 kB / 458.8 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5357, allocations: 0 / 458.8 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5357, allocations: 0 / 458.8 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.5362, allocations: 241.4 kB / 459 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5362, allocations: 4 kB / 459 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.5365, allocations: 24 kB / 459.1 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.5367, allocations: 53.62 kB / 459.1 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.5368, allocations: 4 kB / 459.1 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.5396, allocations: 2.72 MB / 461.8 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5396, allocations: 7.875 kB / 461.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.5403, allocations: 372.6 kB / 462.2 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.5404, allocations: 88.92 kB / 462.3 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.5404, allocations: 12.05 kB / 462.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.5406, allocations: 0 / 462.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.5406, allocations: 7.984 kB / 462.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.5407, allocations: 8 kB / 462.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.777e-05/0.5408, allocations: 97.09 kB / 462.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5408, allocations: 0 / 462.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005961/0.5414, allocations: 59.84 kB / 462.5 MB, free: 12.95 MB / 394.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.0001645/0.5416, allocations: 107.2 kB / 462.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.5423, allocations: 341.7 kB / 462.9 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5423, allocations: 4.062 kB / 462.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.5428, allocations: 277.5 kB / 463.2 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.5433, allocations: 40.05 kB / 463.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.5451, allocations: 0.822 MB / 464 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.5455, allocations: 0.7281 MB / 464.8 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.5456, allocations: 15.44 kB / 464.8 MB, free: 10.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5456, allocations: 0 / 464.8 MB, free: 10.52 MB / 394.7 MB Notification: Performance of Templates: time 0.007133/0.5527, allocations: 2.993 MB / 467.8 MB, free: 7.527 MB / 394.7 MB