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.195/2.195, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004366, allocations: 23.94 kB / 314.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2784, allocations: 54.87 MB / 369.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.401, allocations: 80.07 MB / 449.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4013, allocations: 63.97 kB / 449.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009615/0.4109, allocations: 2.543 MB / 452 MB, free: 8.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4109, allocations: 0 / 452 MB, free: 8.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.411, allocations: 8 kB / 452 MB, free: 8.023 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.0005846/0.4116, allocations: 415.2 kB / 452.4 MB, free: 7.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4116, allocations: 12.03 kB / 452.4 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.4117, allocations: 19.77 kB / 452.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.4119, allocations: 182.8 kB / 452.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.4119, allocations: 16.33 kB / 452.6 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.412, allocations: 20 kB / 452.6 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.4123, allocations: 161.6 kB / 452.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.4124, allocations: 3.906 kB / 452.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.4124, allocations: 8 kB / 452.8 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4124, allocations: 8 kB / 452.8 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.4127, allocations: 91.84 kB / 452.9 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.4138, allocations: 0.6112 MB / 453.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.4141, allocations: 133.4 kB / 453.6 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.4141, allocations: 3.938 kB / 453.6 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4142, allocations: 38.56 kB / 453.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.664e-06/0.4142, allocations: 0 / 453.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009973/0.4152, allocations: 381.2 kB / 454 MB, free: 5.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.4153, allocations: 81.11 kB / 454.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.4154, allocations: 121.2 kB / 454.2 MB, free: 5.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.4154, allocations: 33.7 kB / 454.3 MB, free: 5.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4156, allocations: 194.5 kB / 454.5 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.4157, allocations: 63.09 kB / 454.5 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.4157, allocations: 4 kB / 454.5 MB, free: 5.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4159, allocations: 318.8 kB / 454.8 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.416, allocations: 39.84 kB / 454.9 MB, free: 4.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.4161, allocations: 112.5 kB / 455 MB, free: 4.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4163, allocations: 44 kB / 455 MB, free: 4.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-06/0.4163, allocations: 4 kB / 455 MB, free: 4.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005293/0.4168, allocations: 211 kB / 455.2 MB, free: 4.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4169, allocations: 11.98 kB / 455.2 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.783e-06/0.4169, allocations: 0 / 455.2 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/0.4172, allocations: 53.91 kB / 455.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.4173, allocations: 43.92 kB / 455.3 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.4203, allocations: 2.717 MB / 458.1 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4204, allocations: 19.88 kB / 458.1 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4205, allocations: 4 kB / 458.1 MB, free: 1.289 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.0001785/0.4207, allocations: 142.1 kB / 458.2 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.4207, allocations: 7.906 kB / 458.2 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.4208, allocations: 20.7 kB / 458.2 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4208, allocations: 0 / 458.2 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.777e-06/0.4208, allocations: 4.062 kB / 458.3 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4208, allocations: 11.94 kB / 458.3 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.4213, allocations: 233.7 kB / 458.5 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-06/0.4213, allocations: 0 / 458.5 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.4215, allocations: 27.98 kB / 458.5 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/0.4217, allocations: 49.67 kB / 458.6 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4217, allocations: 0 / 458.6 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.4246, allocations: 2.724 MB / 461.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.608e-06/0.4247, allocations: 3.984 kB / 461.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005869/0.4252, allocations: 386.6 kB / 461.7 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.4253, allocations: 92.91 kB / 461.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.4254, allocations: 4.062 kB / 461.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.4255, allocations: 4 kB / 461.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.4256, allocations: 15.91 kB / 461.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4256, allocations: 8.125 kB / 461.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.4257, allocations: 100.4 kB / 461.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.4257, allocations: 0 / 461.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007398/0.4265, allocations: 59.84 kB / 462 MB, free: 13.04 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.000151/0.4267, allocations: 95.25 kB / 462 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006616/0.4273, allocations: 349.4 kB / 462.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.081e-06/0.4274, allocations: 0 / 462.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.4278, allocations: 281.3 kB / 462.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.4282, allocations: 30.81 kB / 462.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4297, allocations: 0.8163 MB / 463.5 MB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.4302, allocations: 0.7319 MB / 464.2 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.4302, allocations: 15.44 kB / 464.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.467e-06/0.4302, allocations: 0 / 464.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of Templates: time 0.00618/0.4364, allocations: 3.003 MB / 467.3 MB, free: 7.621 MB / 394.7 MB