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.485/2.485, allocations: 235 MB / 248.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.274e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4107, allocations: 54.85 MB / 364.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.5952, allocations: 99.46 MB / 464.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.5956, allocations: 75.97 kB / 464.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6737/1.269, allocations: 80.54 MB / 0.5319 GB, free: 105.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.269, allocations: 2.281 kB / 0.5319 GB, free: 105.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002596/1.27, allocations: 74.73 kB / 0.532 GB, free: 105.6 MB / 458.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.01604/1.286, allocations: 3.783 MB / 0.5357 GB, free: 104.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.286, allocations: 9.625 kB / 0.5357 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003071/1.289, allocations: 0.7033 MB / 0.5364 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03231/1.321, allocations: 4.286 MB / 0.5406 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01824/1.339, allocations: 4.495 MB / 0.545 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/1.34, allocations: 287.4 kB / 0.5452 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/1.342, allocations: 381.8 kB / 0.5456 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/1.369, allocations: 9.553 MB / 0.5549 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002413/1.369, allocations: 57.16 kB / 0.555 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001224/1.37, allocations: 189.8 kB / 0.5552 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001786/1.372, allocations: 0.9507 MB / 0.5561 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02257/1.395, allocations: 8.006 MB / 0.5639 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05976/1.454, allocations: 43.68 MB / 0.6066 GB, free: 67.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/1.467, allocations: 3.66 MB / 0.6102 GB, free: 65.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/1.471, allocations: 1.947 MB / 0.6121 GB, free: 65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005151/1.471, allocations: 341.9 kB / 0.6124 GB, free: 64.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/1.471, allocations: 45.97 kB / 0.6124 GB, free: 64.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 5.04e-06/1.471, allocations: 0 / 0.6124 GB, free: 64.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.05074/1.522, allocations: 12.88 MB / 0.625 GB, free: 57.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/1.522, allocations: 174.9 kB / 0.6252 GB, free: 57.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006262/1.528, allocations: 3.182 MB / 0.6283 GB, free: 54.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004747/1.529, allocations: 53.7 kB / 0.6283 GB, free: 54.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/1.531, allocations: 2.76 MB / 0.631 GB, free: 51.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009861/1.532, allocations: 0.68 MB / 0.6317 GB, free: 51.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/1.532, allocations: 112 kB / 0.6318 GB, free: 51.06 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003188/1.533, allocations: 0.5455 MB / 0.6323 GB, free: 50.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004876/1.538, allocations: 2.076 MB / 0.6344 GB, free: 48.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006983/1.545, allocations: 5.392 MB / 0.6396 GB, free: 41.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007264/1.552, allocations: 3.35 MB / 0.6429 GB, free: 39.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.318e-05/1.552, allocations: 32 kB / 0.6429 GB, free: 39 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02085/1.573, allocations: 7.928 MB / 0.6507 GB, free: 32.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/1.573, allocations: 56 kB / 0.6507 GB, free: 32.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/1.573, allocations: 116 kB / 0.6508 GB, free: 31.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003623/1.577, allocations: 0.9301 MB / 0.6517 GB, free: 31.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007671/1.585, allocations: 1.276 MB / 0.653 GB, free: 30.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/1.596, allocations: 6.11 MB / 0.659 GB, free: 24.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006307/1.602, allocations: 314.2 kB / 0.6593 GB, free: 24.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.603, allocations: 338.3 kB / 0.6596 GB, free: 24 MB / 458.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 () * 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.001103/1.604, allocations: 0.5112 MB / 0.6601 GB, free: 23.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008023/1.605, allocations: 319.9 kB / 0.6604 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.615, allocations: 3.427 MB / 0.6637 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.118e-05/1.615, allocations: 27.86 kB / 0.6638 GB, free: 19.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/1.615, allocations: 4 kB / 0.6638 GB, free: 19.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.445e-05/1.615, allocations: 7.969 kB / 0.6638 GB, free: 19.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02238/1.638, allocations: 8.464 MB / 0.672 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/1.638, allocations: 0 / 0.672 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/1.641, allocations: 279.6 kB / 0.6723 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003233/1.644, allocations: 0.7518 MB / 0.673 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003454/1.644, allocations: 27.98 kB / 0.6731 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.655, allocations: 5.624 MB / 0.6786 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.655, allocations: 0 / 0.6786 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/1.67, allocations: 6.226 MB / 0.6846 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/1.672, allocations: 0.6568 MB / 0.6853 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007038/1.673, allocations: 28 kB / 0.6853 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.676, allocations: 107.8 kB / 0.6854 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004938/1.676, allocations: 96.86 kB / 0.6855 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.677, allocations: 51.78 kB / 0.6855 GB, free: 13.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005712/1.682, allocations: 2.214 MB / 0.6877 GB, free: 11.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.302e-06/1.682, allocations: 0 / 0.6877 GB, free: 11.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006505/1.689, allocations: 0.9374 MB / 0.6886 GB, free: 10.09 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 () * 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.0167/1.706, allocations: 7.051 MB / 0.6955 GB, free: 2.984 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/1.718, allocations: 5.092 MB / 0.7005 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.718, allocations: 0 / 0.7005 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005258/1.724, allocations: 1.867 MB / 0.7023 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.727, allocations: 363.1 kB / 0.7027 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02851/1.755, allocations: 9.009 MB / 0.7115 GB, free: 2.641 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3263/2.082, allocations: 3.135 MB / 0.7145 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004549/2.086, allocations: 1.742 MB / 0.7162 GB, free: 121.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.734e-06/2.086, allocations: 0 / 0.7162 GB, free: 121.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.202/6.288, allocations: 92.55 MB / 0.8066 GB, free: 82.44 MB / 490.7 MB 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