Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.628/2.628, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004425, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4027, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.5878, allocations: 99.54 MB / 468.9 MB, free: 6.926 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.5882, allocations: 79.95 kB / 469 MB, free: 6.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.679/1.267, allocations: 80.51 MB / 0.5366 GB, free: 35.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.557e-06/1.267, allocations: 4 kB / 0.5366 GB, free: 35.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002342/1.268, allocations: 68 kB / 0.5367 GB, free: 35.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01709/1.285, allocations: 4.021 MB / 0.5406 GB, free: 31.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.285, allocations: 16 kB / 0.5406 GB, free: 31.13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003328/1.288, allocations: 0.6929 MB / 0.5413 GB, free: 30.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03088/1.319, allocations: 4.285 MB / 0.5455 GB, free: 26.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/1.336, allocations: 4.526 MB / 0.5499 GB, free: 21.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000425/1.336, allocations: 287.5 kB / 0.5502 GB, free: 21.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/1.338, allocations: 383.8 kB / 0.5505 GB, free: 20.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/1.366, allocations: 9.618 MB / 0.5599 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000287/1.366, allocations: 67.38 kB / 0.56 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/1.368, allocations: 183.9 kB / 0.5602 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001978/1.37, allocations: 0.9473 MB / 0.5611 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/1.393, allocations: 8.124 MB / 0.569 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07794/1.471, allocations: 43.69 MB / 0.6117 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/1.491, allocations: 3.685 MB / 0.6153 GB, free: 88 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008442/1.492, allocations: 332.2 kB / 0.6156 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.63e-05/1.492, allocations: 59.5 kB / 0.6157 GB, free: 15.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 6.853e-06/1.492, allocations: 0 / 0.6157 GB, free: 15.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.08181/1.574, allocations: 15.23 MB / 0.6305 GB, free: 228 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.574, allocations: 171.2 kB / 0.6307 GB, free: 20 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009259/1.583, allocations: 3.209 MB / 0.6338 GB, free: 12.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005427/1.584, allocations: 45.7 kB / 0.6339 GB, free: 12.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003421/1.587, allocations: 2.768 MB / 0.6366 GB, free: 9.961 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.589, allocations: 0.6788 MB / 0.6372 GB, free: 9.273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000858/1.59, allocations: 112 kB / 0.6373 GB, free: 9.164 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006081/1.59, allocations: 0.5422 MB / 0.6379 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00646/1.597, allocations: 2.119 MB / 0.6399 GB, free: 6.488 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3537/1.951, allocations: 5.431 MB / 0.6452 GB, free: 115.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009393/1.96, allocations: 3.353 MB / 0.6485 GB, free: 115.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/1.96, allocations: 34.38 kB / 0.6486 GB, free: 115.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02347/1.984, allocations: 8.021 MB / 0.6564 GB, free: 115.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.984, allocations: 59.59 kB / 0.6564 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/1.984, allocations: 116.4 kB / 0.6566 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003832/1.988, allocations: 0.9258 MB / 0.6575 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008008/1.996, allocations: 1.278 MB / 0.6587 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/2.008, allocations: 6.265 MB / 0.6648 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006416/2.015, allocations: 322.1 kB / 0.6651 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/2.017, allocations: 336.7 kB / 0.6655 GB, free: 113.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 666 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005891/2.022, allocations: 1.958 MB / 0.6674 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008912/2.023, allocations: 317.7 kB / 0.6677 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/2.034, allocations: 3.453 MB / 0.671 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.016e-05/2.034, allocations: 29.36 kB / 0.6711 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/2.034, allocations: 3.844 kB / 0.6711 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.322e-05/2.034, allocations: 11.75 kB / 0.6711 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/2.06, allocations: 8.486 MB / 0.6794 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-05/2.06, allocations: 0 / 0.6794 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/2.063, allocations: 285.4 kB / 0.6796 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003297/2.066, allocations: 0.7464 MB / 0.6804 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004786/2.067, allocations: 35.5 kB / 0.6804 GB, free: 109.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/2.078, allocations: 5.815 MB / 0.6861 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.078, allocations: 3.828 kB / 0.6861 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/2.094, allocations: 6.279 MB / 0.6922 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/2.096, allocations: 0.6605 MB / 0.6929 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/2.097, allocations: 27.03 kB / 0.6929 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003034/2.1, allocations: 103.9 kB / 0.693 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000664/2.101, allocations: 100.1 kB / 0.6931 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/2.101, allocations: 45.59 kB / 0.6931 GB, free: 103.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005896/2.107, allocations: 2.246 MB / 0.6953 GB, free: 102.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/2.107, allocations: 0 / 0.6953 GB, free: 102.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007173/2.114, allocations: 0.9386 MB / 0.6962 GB, free: 102.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (137): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01632/2.131, allocations: 7.099 MB / 0.7032 GB, free: 99.37 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01214/2.143, allocations: 5.156 MB / 0.7082 GB, free: 95.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.143, allocations: 0 / 0.7082 GB, free: 95.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005052/2.148, allocations: 1.901 MB / 0.7101 GB, free: 93.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/2.151, allocations: 365.7 kB / 0.7104 GB, free: 93.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.113/2.265, allocations: 113.8 MB / 0.8215 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007583/2.272, allocations: 3.131 MB / 0.8246 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005247/2.277, allocations: 1.749 MB / 0.8263 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of SimCode: time 1.392e-06/2.277, allocations: 0 / 0.8263 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.722/7, allocations: 92.61 MB / 0.9167 GB, free: 107.6 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat