Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.064/2.064, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006186/0.0006186, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3653, allocations: 48.69 MB / 331.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.5189, allocations: 85.61 MB / 417 MB, free: 8.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5192, allocations: 71.91 kB / 417 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1462/0.6654, allocations: 34.58 MB / 451.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6655, allocations: 0 / 451.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.6656, allocations: 43.98 kB / 451.7 MB, free: 5.805 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.00881/0.6744, allocations: 2.284 MB / 453.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.6745, allocations: 8.031 kB / 454 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/0.6758, allocations: 367.6 kB / 454.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/0.6788, allocations: 384.7 kB / 454.7 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/0.6829, allocations: 1.146 MB / 455.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.6831, allocations: 147.9 kB / 456 MB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007001/0.6838, allocations: 187.9 kB / 456.2 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.7002, allocations: 4.831 MB / 461 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.292e-05/0.7003, allocations: 11.88 kB / 461 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.7007, allocations: 87.95 kB / 461.1 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/0.7024, allocations: 0.5228 MB / 461.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.7173, allocations: 3.85 MB / 465.5 MB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3153/1.033, allocations: 16.62 MB / 482.1 MB, free: 93.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007455/1.04, allocations: 1.283 MB / 483.4 MB, free: 93.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008002/1.048, allocations: 4.077 MB / 487.4 MB, free: 91.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.048, allocations: 40.78 kB / 487.5 MB, free: 91.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 4.639e-06/1.048, allocations: 2.625 kB / 487.5 MB, free: 91.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.01107/1.059, allocations: 1.791 MB / 489.3 MB, free: 91.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.06, allocations: 111.1 kB / 489.4 MB, free: 91.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003928/1.064, allocations: 1.399 MB / 490.8 MB, free: 91.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/1.064, allocations: 34.48 kB / 490.8 MB, free: 91.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/1.065, allocations: 1.412 MB / 492.2 MB, free: 90.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/1.066, allocations: 180.7 kB / 492.4 MB, free: 90.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/1.066, allocations: 45.12 kB / 492.4 MB, free: 90.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/1.066, allocations: 409.2 kB / 492.8 MB, free: 90 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/1.068, allocations: 0.4996 MB / 493.3 MB, free: 90 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/1.07, allocations: 2.028 MB / 495.4 MB, free: 88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/1.073, allocations: 0.9495 MB / 496.3 MB, free: 88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.847e-05/1.073, allocations: 15.53 kB / 496.3 MB, free: 88 MB / 394.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006256/1.079, allocations: 2.361 MB / 498.7 MB, free: 87.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/1.079, allocations: 36.09 kB / 498.7 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.17e-05/1.079, allocations: 52.03 kB / 498.8 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-05/1.08, allocations: 79.47 kB / 498.9 MB, free: 87.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/1.082, allocations: 0.5433 MB / 499.4 MB, free: 87.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.813e-05/1.083, allocations: 110 kB / 499.5 MB, free: 87.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/1.085, allocations: 330.1 kB / 499.8 MB, free: 87.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/1.085, allocations: 142.2 kB / 500 MB, free: 87.54 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.001747/1.087, allocations: 0.8581 MB / 0.4891 GB, free: 87.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/1.087, allocations: 128.3 kB / 0.4892 GB, free: 87.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/1.088, allocations: 156.2 kB / 0.4894 GB, free: 86.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.088, allocations: 3.344 kB / 0.4894 GB, free: 86.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.088, allocations: 3.531 kB / 0.4894 GB, free: 86.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.088, allocations: 7.703 kB / 0.4894 GB, free: 86.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005978/1.094, allocations: 3.237 MB / 0.4925 GB, free: 85.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.094, allocations: 13.88 kB / 0.4926 GB, free: 85.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/1.094, allocations: 98.89 kB / 0.4927 GB, free: 85.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/1.094, allocations: 18.81 kB / 0.4927 GB, free: 85.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/1.095, allocations: 19.56 kB / 0.4927 GB, free: 85.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/1.095, allocations: 23.09 kB / 0.4927 GB, free: 85.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/1.095, allocations: 19.16 kB / 0.4927 GB, free: 85.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/1.096, allocations: 1.562 MB / 0.4943 GB, free: 83.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/1.096, allocations: 224.1 kB / 0.4945 GB, free: 83.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/1.097, allocations: 27.28 kB / 0.4945 GB, free: 83.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/1.097, allocations: 19.69 kB / 0.4945 GB, free: 83.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/1.097, allocations: 86 kB / 0.4946 GB, free: 83.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/1.097, allocations: 27.47 kB / 0.4946 GB, free: 83.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001826/1.099, allocations: 0.961 MB / 0.4956 GB, free: 82.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.099, allocations: 0 / 0.4956 GB, free: 82.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002623/1.102, allocations: 483.6 kB / 0.496 GB, free: 82.72 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.002131/1.104, allocations: 5.373 MB / 0.5013 GB, free: 77.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002815/1.107, allocations: 1.234 MB / 0.5025 GB, free: 76.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/1.107, allocations: 7.469 kB / 0.5025 GB, free: 76.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004739/1.107, allocations: 228.5 kB / 0.5027 GB, free: 76.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/1.109, allocations: 165.2 kB / 0.5029 GB, free: 76.78 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02882/1.137, allocations: 48.54 MB / 0.5503 GB, free: 31.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/1.139, allocations: 1.739 MB / 0.552 GB, free: 30.74 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/1.141, allocations: 0.7561 MB / 0.5527 GB, free: 30.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.412e-06/1.141, allocations: 0 / 0.5527 GB, free: 30.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.066/4.207, allocations: 29.69 MB / 0.5817 GB, free: 6.418 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat