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.298/2.298, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.044e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4018, allocations: 54.84 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.5997, allocations: 92.03 MB / 456.6 MB, free: 4.438 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.6001, allocations: 73.47 kB / 456.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1505/0.7506, allocations: 34.6 MB / 491.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7507, allocations: 0 / 491.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.807e-05/0.7508, allocations: 32 kB / 491.4 MB, free: 1.457 MB / 410.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.008064/0.7588, allocations: 2.194 MB / 493.5 MB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.7589, allocations: 8.031 kB / 493.6 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/0.76, allocations: 371.6 kB / 493.9 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.7631, allocations: 392.7 kB / 494.3 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004226/0.7674, allocations: 1.119 MB / 495.4 MB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.7676, allocations: 155.8 kB / 495.6 MB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007325/0.7683, allocations: 187.9 kB / 495.8 MB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.7848, allocations: 4.778 MB / 0.4888 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.082e-05/0.7849, allocations: 7.938 kB / 0.4888 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/0.7854, allocations: 95.89 kB / 0.4889 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/0.7871, allocations: 0.515 MB / 0.4894 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.8021, allocations: 3.792 MB / 0.4931 GB, free: 3.488 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.8391, allocations: 16.63 MB / 0.5093 GB, free: 2.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007855/0.847, allocations: 1.275 MB / 0.5106 GB, free: 1.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.8488, allocations: 0.6988 MB / 0.5113 GB, free: 408 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009605/0.8584, allocations: 4.07 MB / 0.5152 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.8586, allocations: 38.56 kB / 0.5153 GB, free: 12.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 3.717e-06/0.8586, allocations: 0 / 0.5153 GB, free: 12.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.01077/0.8694, allocations: 1.463 MB / 0.5167 GB, free: 10.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.8695, allocations: 122.7 kB / 0.5168 GB, free: 10.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.8725, allocations: 1.383 MB / 0.5182 GB, free: 9.016 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/0.8726, allocations: 33.7 kB / 0.5182 GB, free: 8.977 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.8739, allocations: 1.409 MB / 0.5196 GB, free: 7.547 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.8742, allocations: 182 kB / 0.5198 GB, free: 7.367 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.8743, allocations: 48 kB / 0.5198 GB, free: 7.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.8746, allocations: 403.4 kB / 0.5202 GB, free: 6.918 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.8759, allocations: 496.4 kB / 0.5207 GB, free: 6.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.8786, allocations: 2.005 MB / 0.5226 GB, free: 3.652 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.8811, allocations: 0.9633 MB / 0.5236 GB, free: 2.688 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.26e-05/0.8811, allocations: 19.94 kB / 0.5236 GB, free: 2.668 MB / 458.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006446/0.8876, allocations: 2.33 MB / 0.5259 GB, free: 340 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.8877, allocations: 32 kB / 0.5259 GB, free: 308 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-05/0.8878, allocations: 52 kB / 0.5259 GB, free: 256 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001232/0.8879, allocations: 80 kB / 0.526 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3202/1.208, allocations: 0.5379 MB / 0.5265 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001402/1.208, allocations: 107 kB / 0.5266 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/1.211, allocations: 333.8 kB / 0.527 GB, free: 129.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004636/1.212, allocations: 141.9 kB / 0.5271 GB, free: 129.9 MB / 458.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 () * 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.0004661/1.212, allocations: 302.7 kB / 0.5274 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004446/1.212, allocations: 131.8 kB / 0.5275 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/1.213, allocations: 154 kB / 0.5277 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.213, allocations: 5.625 kB / 0.5277 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.213, allocations: 0.8438 kB / 0.5277 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/1.213, allocations: 4.656 kB / 0.5277 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00782/1.221, allocations: 3.219 MB / 0.5308 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.221, allocations: 13.75 kB / 0.5308 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/1.222, allocations: 100.3 kB / 0.5309 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.733e-05/1.222, allocations: 15.97 kB / 0.5309 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/1.222, allocations: 28.42 kB / 0.531 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-05/1.222, allocations: 23.22 kB / 0.531 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.696e-05/1.222, allocations: 17.22 kB / 0.531 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/1.223, allocations: 1.562 MB / 0.5325 GB, free: 127.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/1.224, allocations: 221.9 kB / 0.5327 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/1.224, allocations: 27.56 kB / 0.5328 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/1.225, allocations: 25.44 kB / 0.5328 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.225, allocations: 64.81 kB / 0.5329 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/1.225, allocations: 30.86 kB / 0.5329 GB, free: 127.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002251/1.227, allocations: 0.9472 MB / 0.5338 GB, free: 127 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.228, allocations: 1.531 kB / 0.5338 GB, free: 127 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003077/1.231, allocations: 490.8 kB / 0.5343 GB, free: 127 MB / 458.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 () * 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.002666/1.233, allocations: 5.367 MB / 0.5395 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003259/1.237, allocations: 1.225 MB / 0.5407 GB, free: 121.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/1.237, allocations: 5.562 kB / 0.5407 GB, free: 121.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/1.237, allocations: 219.9 kB / 0.5409 GB, free: 121.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.239, allocations: 176.2 kB / 0.5411 GB, free: 121.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/1.251, allocations: 3.521 MB / 0.5445 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00254/1.253, allocations: 1.737 MB / 0.5462 GB, free: 119.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/1.255, allocations: 0.7569 MB / 0.547 GB, free: 119.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/1.255, allocations: 0 / 0.547 GB, free: 119.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.136/4.39, allocations: 29.64 MB / 0.5759 GB, free: 113.3 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