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.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.105/2.105, allocations: 209.2 MB / 224.8 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.00045, allocations: 12 kB / 282.7 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 48.71 MB / 331.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5505, allocations: 84.53 MB / 415.9 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5508, allocations: 79.95 kB / 416 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08951/0.6403, allocations: 19.95 MB / 435.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6404, allocations: 0 / 435.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.843e-05/0.6405, allocations: 20 kB / 435.9 MB, free: 12.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005496/0.646, allocations: 1.455 MB / 437.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.6461, allocations: 8.031 kB / 437.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007964/0.6469, allocations: 194.2 kB / 437.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.6486, allocations: 202.3 kB / 437.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.651, allocations: 0.701 MB / 438.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.6512, allocations: 82.05 kB / 438.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000411/0.6516, allocations: 103.9 kB / 438.7 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.6617, allocations: 2.668 MB / 441.3 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-05/0.6619, allocations: 11.88 kB / 441.4 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.6621, allocations: 43.98 kB / 441.4 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004691/0.6626, allocations: 193.9 kB / 441.6 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.6726, allocations: 2.416 MB / 444 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.6878, allocations: 8.529 MB / 452.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007108/0.6949, allocations: 1.011 MB / 453.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00227/0.6973, allocations: 1.735 MB / 455.3 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.6974, allocations: 38.52 kB / 455.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.467e-06/0.6974, allocations: 0 / 455.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.02122/0.7186, allocations: 3.022 MB / 458.3 MB, free: 5.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.7187, allocations: 55.97 kB / 458.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.7204, allocations: 0.7925 MB / 459.2 MB, free: 4.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.662e-05/0.7205, allocations: 37.7 kB / 459.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/0.7211, allocations: 0.6784 MB / 459.9 MB, free: 3.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.7214, allocations: 213 kB / 460.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.7215, allocations: 24 kB / 460.1 MB, free: 3.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.7217, allocations: 362.8 kB / 460.5 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009231/0.7226, allocations: 358.4 kB / 460.8 MB, free: 2.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.7241, allocations: 0.9615 MB / 461.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.7254, allocations: 0.5681 MB / 462.4 MB, free: 0.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.7255, allocations: 8 kB / 462.4 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003191/0.7287, allocations: 1.327 MB / 463.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.7288, allocations: 19.94 kB / 463.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.7288, allocations: 20 kB / 463.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.083e-05/0.7289, allocations: 35.98 kB / 463.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.7312, allocations: 315.5 kB / 464.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.7327, allocations: 1.364 MB / 465.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.734, allocations: 59.84 kB / 465.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.7341, allocations: 64.25 kB / 465.6 MB, free: 13.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001103/0.7353, allocations: 495.7 kB / 466.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.7355, allocations: 78.97 kB / 466.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.7358, allocations: 116.4 kB / 466.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.7358, allocations: 4 kB / 466.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7359, allocations: 8 kB / 466.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.7359, allocations: 3.984 kB / 466.3 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005989/0.7419, allocations: 2.164 MB / 468.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.7419, allocations: 4 kB / 468.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.743, allocations: 127.8 kB / 468.6 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.95e-05/0.7431, allocations: 8 kB / 468.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.7431, allocations: 16 kB / 468.6 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.7445, allocations: 1.345 MB / 469.9 MB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.7445, allocations: 8 kB / 469.9 MB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.7464, allocations: 1.121 MB / 471.1 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.7469, allocations: 208 kB / 471.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.7471, allocations: 16 kB / 471.3 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.7477, allocations: 19.98 kB / 471.3 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.7478, allocations: 59.8 kB / 471.3 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.7479, allocations: 20 kB / 471.4 MB, free: 7.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001271/0.7492, allocations: 0.5771 MB / 471.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7492, allocations: 0 / 471.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001599/0.7508, allocations: 216 kB / 472.2 MB, free: 6.301 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002939/0.7538, allocations: 3.487 MB / 475.6 MB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.7563, allocations: 0.8631 MB / 476.5 MB, free: 1.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.7564, allocations: 0 / 476.5 MB, free: 1.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008818/0.7573, allocations: 281.1 kB / 476.8 MB, free: 1.477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.7583, allocations: 119.1 kB / 476.9 MB, free: 1.359 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/0.7798, allocations: 20.98 MB / 497.9 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.7814, allocations: 1.24 MB / 499.1 MB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009467/0.7823, allocations: 399.3 kB / 499.5 MB, free: 10.06 MB / 426.7 MB Notification: Performance of SimCode: time 3.557e-06/0.7824, allocations: 0 / 499.5 MB, free: 10.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.194/3.976, allocations: 21.28 MB / 0.5086 GB, free: 132.4 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat