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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.693/2.693, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.975e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3573, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.539, allocations: 98.79 MB / 456.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.5393, allocations: 71.97 kB / 457 MB, free: 11.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6124/1.152, allocations: 78.88 MB / 0.5233 GB, free: 45.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.152, allocations: 0 / 0.5233 GB, free: 45.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002343/1.152, allocations: 76 kB / 0.5234 GB, free: 45.17 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.01536/1.167, allocations: 3.777 MB / 0.5271 GB, free: 41.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.168, allocations: 15.97 kB / 0.5271 GB, free: 41.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03103/1.199, allocations: 4.285 MB / 0.5313 GB, free: 37.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/1.215, allocations: 4.494 MB / 0.5357 GB, free: 32.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/1.215, allocations: 124.5 kB / 0.5358 GB, free: 32.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/1.218, allocations: 224.2 kB / 0.536 GB, free: 32.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01404/1.232, allocations: 5.621 MB / 0.5415 GB, free: 26.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/1.254, allocations: 8.686 MB / 0.55 GB, free: 16.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/1.254, allocations: 59.47 kB / 0.55 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001725/1.256, allocations: 28 kB / 0.55 GB, free: 16.81 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/1.258, allocations: 0.9474 MB / 0.551 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06734/1.325, allocations: 41.87 MB / 0.5919 GB, free: 4.785 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00682/1.332, allocations: 3.224 MB / 0.595 GB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/1.336, allocations: 1.913 MB / 0.5969 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/1.337, allocations: 331.8 kB / 0.5972 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/1.337, allocations: 63.27 kB / 0.5972 GB, free: 15.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 5.059e-06/1.337, allocations: 0 / 0.5972 GB, free: 15.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.0469/1.384, allocations: 13.09 MB / 0.61 GB, free: 1.836 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.384, allocations: 171.5 kB / 0.6102 GB, free: 1.633 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006564/1.39, allocations: 2.745 MB / 0.6129 GB, free: 14.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004743/1.391, allocations: 25.7 kB / 0.6129 GB, free: 14.85 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003262/1.394, allocations: 2.872 MB / 0.6157 GB, free: 11.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.396, allocations: 0.6632 MB / 0.6164 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006661/1.396, allocations: 0 / 0.6164 GB, free: 11.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005302/1.397, allocations: 0.5544 MB / 0.6169 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005161/1.402, allocations: 2.026 MB / 0.6189 GB, free: 8.664 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009097/1.411, allocations: 5.474 MB / 0.6242 GB, free: 1.434 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3484/1.76, allocations: 3.308 MB / 0.6275 GB, free: 107.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001485/1.76, allocations: 35.56 kB / 0.6275 GB, free: 107.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=748) (initialization): time 0.02158/1.781, allocations: 7.406 MB / 0.6347 GB, free: 107.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/1.782, allocations: 57.06 kB / 0.6348 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/1.782, allocations: 123.1 kB / 0.6349 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003766/1.786, allocations: 0.938 MB / 0.6358 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008498/1.794, allocations: 1.329 MB / 0.6371 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.806, allocations: 5.747 MB / 0.6427 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006521/1.812, allocations: 215 kB / 0.6429 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/1.814, allocations: 352.2 kB / 0.6433 GB, free: 105.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * 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 (700): * Single equations (assignments): 696 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0016/1.815, allocations: 409.5 kB / 0.6436 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009731/1.825, allocations: 3.606 MB / 0.6472 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.826, allocations: 291.6 kB / 0.6474 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00925/1.836, allocations: 3.294 MB / 0.6507 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-05/1.836, allocations: 25.42 kB / 0.6507 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.836, allocations: 5.078 kB / 0.6507 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-05/1.836, allocations: 13.94 kB / 0.6507 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.858, allocations: 7.644 MB / 0.6582 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/1.858, allocations: 3.812 kB / 0.6582 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.861, allocations: 281.2 kB / 0.6584 GB, free: 103.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/1.864, allocations: 0.7447 MB / 0.6592 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004265/1.865, allocations: 6.719 kB / 0.6592 GB, free: 103.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/1.875, allocations: 5.28 MB / 0.6643 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.875, allocations: 3.281 kB / 0.6643 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/1.888, allocations: 6.071 MB / 0.6703 GB, free: 97.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/1.891, allocations: 0.627 MB / 0.6709 GB, free: 97.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008743/1.892, allocations: 3.188 kB / 0.6709 GB, free: 97.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002821/1.894, allocations: 80.02 kB / 0.671 GB, free: 97.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006263/1.895, allocations: 92.25 kB / 0.671 GB, free: 97.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.895, allocations: 50.5 kB / 0.6711 GB, free: 97.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004437/1.9, allocations: 1.83 MB / 0.6729 GB, free: 96.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.9, allocations: 0 / 0.6729 GB, free: 96.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007077/1.907, allocations: 0.806 MB / 0.6737 GB, free: 96.39 MB / 458.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.01434/1.921, allocations: 6.878 MB / 0.6804 GB, free: 91.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0114/1.933, allocations: 5.007 MB / 0.6853 GB, free: 87.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.933, allocations: 0 / 0.6853 GB, free: 87.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004433/1.937, allocations: 1.822 MB / 0.6871 GB, free: 85.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/1.94, allocations: 302.1 kB / 0.6873 GB, free: 85.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.967, allocations: 8.782 MB / 0.6959 GB, free: 78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006582/1.974, allocations: 3.131 MB / 0.699 GB, free: 75.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004536/1.978, allocations: 1.734 MB / 0.7007 GB, free: 73.99 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/1.978, allocations: 4 kB / 0.7007 GB, free: 73.99 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.032/6.01, allocations: 90.31 MB / 0.7889 GB, free: 5.367 MB / 474.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