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/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.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.413/2.413, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.931e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3644, allocations: 54.84 MB / 358.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.5511, allocations: 91.37 MB / 449.5 MB, free: 3.473 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5515, allocations: 79.89 kB / 449.6 MB, free: 3.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4486/1, allocations: 33.89 MB / 483.4 MB, free: 91.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1, allocations: 0 / 483.4 MB, free: 91.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001168/1, allocations: 38.47 kB / 483.5 MB, free: 91.69 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.02241/1.023, allocations: 2.2 MB / 485.7 MB, free: 90.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/1.023, allocations: 7.594 kB / 485.7 MB, free: 90.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/1.035, allocations: 392.5 kB / 486.1 MB, free: 90.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00936/1.045, allocations: 1.125 MB / 487.2 MB, free: 90.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.045, allocations: 63.75 kB / 487.3 MB, free: 90.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005109/1.05, allocations: 110.7 kB / 487.4 MB, free: 90.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01285/1.063, allocations: 2.744 MB / 490.1 MB, free: 89.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/1.075, allocations: 3.767 MB / 493.9 MB, free: 85.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.933e-05/1.075, allocations: 11.94 kB / 493.9 MB, free: 85.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004745/1.076, allocations: 7.953 kB / 493.9 MB, free: 85.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002104/1.078, allocations: 0.5226 MB / 494.4 MB, free: 85.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03098/1.109, allocations: 15.52 MB / 0.498 GB, free: 69.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/1.111, allocations: 0.8467 MB / 0.4988 GB, free: 68.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/1.112, allocations: 0.652 MB / 0.4995 GB, free: 67.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006686/1.119, allocations: 3.495 MB / 0.5029 GB, free: 64.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/1.119, allocations: 46.5 kB / 0.5029 GB, free: 64.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.737e-06/1.119, allocations: 0 / 0.5029 GB, free: 64.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.005795/1.125, allocations: 1.055 MB / 0.5039 GB, free: 63.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.125, allocations: 110.9 kB / 0.5041 GB, free: 62.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/1.127, allocations: 1.27 MB / 0.5053 GB, free: 61.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/1.127, allocations: 29.64 kB / 0.5053 GB, free: 61.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009228/1.128, allocations: 1.501 MB / 0.5068 GB, free: 60.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/1.128, allocations: 134.6 kB / 0.5069 GB, free: 59.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/1.128, allocations: 0 / 0.5069 GB, free: 59.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/1.129, allocations: 415.7 kB / 0.5073 GB, free: 59.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000968/1.13, allocations: 472.6 kB / 0.5078 GB, free: 59.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/1.131, allocations: 2.057 MB / 0.5098 GB, free: 56.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/1.133, allocations: 0.9477 MB / 0.5107 GB, free: 55.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.672e-05/1.133, allocations: 16 kB / 0.5107 GB, free: 55.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.005472/1.139, allocations: 2.1 MB / 0.5128 GB, free: 53.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/1.139, allocations: 32 kB / 0.5128 GB, free: 53.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.857e-05/1.139, allocations: 56 kB / 0.5128 GB, free: 53.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000107/1.139, allocations: 87.95 kB / 0.5129 GB, free: 52.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/1.142, allocations: 0.5659 MB / 0.5135 GB, free: 52.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/1.143, allocations: 115.6 kB / 0.5136 GB, free: 52.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.146, allocations: 288.4 kB / 0.5139 GB, free: 52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/1.147, allocations: 152 kB / 0.514 GB, free: 51.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 307 * 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.0003666/1.147, allocations: 260.7 kB / 0.5143 GB, free: 51.59 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007996/1.148, allocations: 380 kB / 0.5146 GB, free: 51.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/1.148, allocations: 126.4 kB / 0.5147 GB, free: 51.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/1.148, allocations: 135.5 kB / 0.5149 GB, free: 50.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/1.148, allocations: 8.078 kB / 0.5149 GB, free: 50.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.148, allocations: 0 / 0.5149 GB, free: 50.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.148, allocations: 4 kB / 0.5149 GB, free: 50.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/1.153, allocations: 2.508 MB / 0.5173 GB, free: 48.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.153, allocations: 8 kB / 0.5173 GB, free: 48.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/1.154, allocations: 75.84 kB / 0.5174 GB, free: 48.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/1.154, allocations: 12 kB / 0.5174 GB, free: 48.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/1.154, allocations: 8 kB / 0.5174 GB, free: 48.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-05/1.154, allocations: 19.92 kB / 0.5175 GB, free: 48.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/1.154, allocations: 11.94 kB / 0.5175 GB, free: 48.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/1.155, allocations: 1.186 MB / 0.5186 GB, free: 46.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/1.155, allocations: 211.4 kB / 0.5188 GB, free: 46.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/1.156, allocations: 19.05 kB / 0.5188 GB, free: 46.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/1.156, allocations: 15.98 kB / 0.5189 GB, free: 46.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/1.157, allocations: 51.75 kB / 0.5189 GB, free: 46.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/1.157, allocations: 20 kB / 0.5189 GB, free: 46.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001547/1.158, allocations: 0.8314 MB / 0.5197 GB, free: 45.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.158, allocations: 0 / 0.5197 GB, free: 45.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002697/1.161, allocations: 445.8 kB / 0.5202 GB, free: 44.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.001859/1.163, allocations: 4.15 MB / 0.5242 GB, free: 40.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/1.165, allocations: 1.121 MB / 0.5253 GB, free: 39.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.165, allocations: 7.938 kB / 0.5253 GB, free: 39.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/1.166, allocations: 175 kB / 0.5255 GB, free: 39.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.167, allocations: 122.6 kB / 0.5256 GB, free: 39.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009272/1.176, allocations: 3.329 MB / 0.5289 GB, free: 35.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/1.178, allocations: 1.732 MB / 0.5305 GB, free: 33.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.179, allocations: 0.7609 MB / 0.5313 GB, free: 33.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/1.18, allocations: 3.938 kB / 0.5313 GB, free: 33.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.32/4.5, allocations: 28.66 MB / 0.5593 GB, free: 4.441 MB / 394.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