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.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006037/0.0006036, allocations: 12 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3442, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/0.5782, allocations: 92.11 MB / 461.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.5786, allocations: 75.95 kB / 461.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4514/1.03, allocations: 34.56 MB / 496.1 MB, free: 87.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.03, allocations: 0 / 496.1 MB, free: 87.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.589e-05/1.03, allocations: 38.94 kB / 496.1 MB, free: 87.91 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.008711/1.039, allocations: 2.295 MB / 498.4 MB, free: 85.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.039, allocations: 8.031 kB / 498.4 MB, free: 85.6 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001472/1.041, allocations: 380 kB / 498.8 MB, free: 85.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/1.044, allocations: 376.7 kB / 499.2 MB, free: 84.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004448/1.048, allocations: 1.137 MB / 0.4886 GB, free: 83.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/1.048, allocations: 144.2 kB / 0.4887 GB, free: 83.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/1.049, allocations: 198.5 kB / 0.4889 GB, free: 83.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/1.065, allocations: 4.823 MB / 0.4936 GB, free: 78.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/1.065, allocations: 15.88 kB / 0.4936 GB, free: 78.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004085/1.066, allocations: 87.47 kB / 0.4937 GB, free: 78.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001552/1.067, allocations: 0.5228 MB / 0.4942 GB, free: 77.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/1.081, allocations: 3.857 MB / 0.498 GB, free: 73.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03159/1.113, allocations: 16.64 MB / 0.5143 GB, free: 56.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007112/1.12, allocations: 1.274 MB / 0.5155 GB, free: 55.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007306/1.127, allocations: 4.07 MB / 0.5195 GB, free: 51.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/1.127, allocations: 46.5 kB / 0.5195 GB, free: 51.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 3.186e-06/1.127, allocations: 0 / 0.5195 GB, free: 51.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.0109/1.138, allocations: 1.788 MB / 0.5213 GB, free: 49.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/1.138, allocations: 114.8 kB / 0.5214 GB, free: 49.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/1.141, allocations: 1.396 MB / 0.5227 GB, free: 47.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.141, allocations: 33.7 kB / 0.5228 GB, free: 47.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008954/1.142, allocations: 1.407 MB / 0.5241 GB, free: 46.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/1.142, allocations: 181.2 kB / 0.5243 GB, free: 46.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/1.142, allocations: 44 kB / 0.5244 GB, free: 46.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/1.143, allocations: 407.3 kB / 0.5247 GB, free: 45.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/1.144, allocations: 0.508 MB / 0.5252 GB, free: 45.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/1.145, allocations: 2.017 MB / 0.5272 GB, free: 42.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/1.147, allocations: 0.952 MB / 0.5281 GB, free: 41.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/1.148, allocations: 19.94 kB / 0.5282 GB, free: 41.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.00549/1.153, allocations: 2.373 MB / 0.5305 GB, free: 39.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/1.153, allocations: 28 kB / 0.5305 GB, free: 39.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-05/1.153, allocations: 56 kB / 0.5306 GB, free: 39.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-05/1.153, allocations: 80 kB / 0.5306 GB, free: 38.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/1.156, allocations: 0.5341 MB / 0.5312 GB, free: 38.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001032/1.156, allocations: 107.6 kB / 0.5313 GB, free: 38.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/1.159, allocations: 336.4 kB / 0.5316 GB, free: 38.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/1.159, allocations: 144 kB / 0.5317 GB, free: 37.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 292 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001689/1.161, allocations: 0.8581 MB / 0.5326 GB, free: 37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/1.161, allocations: 130.3 kB / 0.5327 GB, free: 36.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/1.161, allocations: 153.3 kB / 0.5328 GB, free: 36.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.161, allocations: 4 kB / 0.5328 GB, free: 36.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.161, allocations: 0 / 0.5328 GB, free: 36.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.162, allocations: 3.984 kB / 0.5328 GB, free: 36.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/1.167, allocations: 3.227 MB / 0.536 GB, free: 33.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.167, allocations: 12 kB / 0.536 GB, free: 33.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/1.168, allocations: 99.77 kB / 0.5361 GB, free: 33.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/1.168, allocations: 16.81 kB / 0.5361 GB, free: 33.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/1.168, allocations: 24 kB / 0.5361 GB, free: 33.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/1.168, allocations: 27.92 kB / 0.5362 GB, free: 33.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/1.168, allocations: 15.94 kB / 0.5362 GB, free: 33.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.169, allocations: 1.57 MB / 0.5377 GB, free: 30.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/1.17, allocations: 231.2 kB / 0.5379 GB, free: 30.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/1.17, allocations: 32.03 kB / 0.538 GB, free: 30.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007303/1.171, allocations: 20 kB / 0.538 GB, free: 30.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/1.171, allocations: 75.72 kB / 0.538 GB, free: 30.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/1.171, allocations: 39.88 kB / 0.5381 GB, free: 30.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002039/1.173, allocations: 0.9586 MB / 0.539 GB, free: 29.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.173, allocations: 0 / 0.539 GB, free: 29.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003006/1.176, allocations: 486 kB / 0.5395 GB, free: 29.14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 simulation (50): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002435/1.179, allocations: 5.367 MB / 0.5447 GB, free: 23.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002948/1.182, allocations: 1.241 MB / 0.5459 GB, free: 22.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/1.182, allocations: 0 / 0.5459 GB, free: 22.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/1.182, allocations: 230.5 kB / 0.5462 GB, free: 21.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.183, allocations: 175 kB / 0.5463 GB, free: 21.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0368/1.22, allocations: 48.53 MB / 0.5937 GB, free: 3.652 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002765/1.223, allocations: 1.729 MB / 0.5954 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.225, allocations: 0.757 MB / 0.5961 GB, free: 1.133 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/1.225, allocations: 0 / 0.5961 GB, free: 1.133 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.498/4.722, allocations: 29.7 MB / 0.6251 GB, free: 3.41 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat