Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01134/0.01134, allocations: 104.6 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001213/0.001214, allocations: 167.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.732/1.732, allocations: 170.9 MB / 187.5 MB, free: 0.8594 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2789/0.2789, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09357/0.09408, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.4527/0.5469, allocations: 104.2 MB / 476.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.07202/0.6189, allocations: 24.29 MB / 0.489 GB, free: 3.363 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02839/0.6474, allocations: 0.5377 MB / 0.4895 GB, free: 2.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02147/0.6689, allocations: 5.486 MB / 0.4949 GB, free: 13.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06278/0.7318, allocations: 14.36 MB / 0.5089 GB, free: 14.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.7446, allocations: 1.993 MB / 0.5109 GB, free: 12.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.08758/0.8322, allocations: 28.6 MB / 0.5388 GB, free: 296 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04863/0.8809, allocations: 22.14 MB / 0.5604 GB, free: 10.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007554/0.8885, allocations: 2.823 MB / 0.5632 GB, free: 7.219 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009053/0.8976, allocations: 3.929 MB / 0.567 GB, free: 3.277 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002998/0.9007, allocations: 476 kB / 0.5675 GB, free: 2.812 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006133/0.9069, allocations: 1.448 MB / 0.5689 GB, free: 1.363 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009589/0.9165, allocations: 5.199 MB / 0.574 GB, free: 12.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005893/0.9225, allocations: 2.619 MB / 0.5765 GB, free: 9.516 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0322/0.9547, allocations: 20.24 MB / 0.5963 GB, free: 5.227 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.9548, allocations: 3.938 kB / 0.5963 GB, free: 5.223 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.9548, allocations: 0 / 0.5963 GB, free: 5.223 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008462/0.9556, allocations: 0 / 0.5963 GB, free: 5.223 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.6068/1.562, allocations: 13.08 MB / 0.6091 GB, free: 165.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.563, allocations: 9.75 kB / 0.6091 GB, free: 165.2 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01098/1.574, allocations: 2.509 MB / 0.6115 GB, free: 163.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5604/2.134, allocations: 22.27 MB / 0.6333 GB, free: 147.6 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0318/2.166, allocations: 9.726 MB / 0.6428 GB, free: 137.9 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/2.167, allocations: 0.8889 MB / 0.6436 GB, free: 137.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008095/2.175, allocations: 1.514 MB / 0.6451 GB, free: 135.7 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1028/2.278, allocations: 31.87 MB / 0.6762 GB, free: 102.5 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001337/2.28, allocations: 115 kB / 0.6763 GB, free: 102.4 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007865/2.287, allocations: 0.5293 MB / 0.6769 GB, free: 101.9 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01525/2.303, allocations: 4.357 MB / 0.6811 GB, free: 97.59 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.101/2.404, allocations: 26.32 MB / 0.7068 GB, free: 71.25 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8651/3.269, allocations: 110.7 MB / 0.8149 GB, free: 86.19 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06523/3.334, allocations: 12.7 MB / 0.8273 GB, free: 85.47 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006076/3.34, allocations: 4.836 MB / 0.832 GB, free: 81.48 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/3.341, allocations: 78.8 kB / 0.8321 GB, free: 81.44 MB / 458.9 MB Notification: Performance of pre-optimization done (n=435): time 1.002e-05/3.341, allocations: 0 / 0.8321 GB, free: 81.44 MB / 458.9 MB Notification: Performance of matching and sorting (n=568): time 1.174/4.514, allocations: 134.5 MB / 0.9635 GB, free: 170.3 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05657/4.571, allocations: 25.9 MB / 0.9888 GB, free: 155.7 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02837/4.599, allocations: 10.25 MB / 0.9988 GB, free: 151.5 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00221/4.601, allocations: 108.3 kB / 0.9989 GB, free: 151.4 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.009744/4.611, allocations: 8.848 MB / 1.008 GB, free: 144.6 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.005122/4.616, allocations: 2.183 MB / 1.01 GB, free: 142.8 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003265/4.62, allocations: 321.4 kB / 1.01 GB, free: 142.5 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.001861/4.622, allocations: 0.9901 MB / 1.011 GB, free: 141.7 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03302/4.655, allocations: 9.579 MB / 1.02 GB, free: 136.8 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03859/4.693, allocations: 18.73 MB / 1.039 GB, free: 114.9 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04302/4.737, allocations: 13.02 MB / 1.051 GB, free: 102 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00044/4.737, allocations: 92 kB / 1.051 GB, free: 101.9 MB / 490.9 MB Notification: Performance of matching and sorting (n=2094) (initialization): time 0.1579/4.895, allocations: 37.34 MB / 1.088 GB, free: 64.44 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002253/4.895, allocations: 144 kB / 1.088 GB, free: 64.3 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09192/4.987, allocations: 24.17 MB / 1.112 GB, free: 39.95 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06888/5.056, allocations: 11.66 MB / 1.123 GB, free: 28.25 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.357/5.413, allocations: 3.853 MB / 1.127 GB, free: 149.6 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1108/5.524, allocations: 54.58 MB / 1.18 GB, free: 124 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02788/5.552, allocations: 1.783 MB / 1.182 GB, free: 123.7 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004089/5.556, allocations: 0.9659 MB / 1.183 GB, free: 123.6 MB / 490.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1467 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1918): * Single equations (assignments): 1889 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01679/5.573, allocations: 6.202 MB / 1.189 GB, free: 118.7 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003309/5.576, allocations: 0.8754 MB / 1.19 GB, free: 118.3 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1266/5.703, allocations: 29.46 MB / 1.218 GB, free: 90 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1236/5.827, allocations: 27.68 MB / 1.245 GB, free: 62.26 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001231/5.827, allocations: 24 kB / 1.245 GB, free: 62.23 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001498/5.827, allocations: 27.91 kB / 1.245 GB, free: 62.21 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5561/6.383, allocations: 64.09 MB / 1.308 GB, free: 136.3 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.613e-05/6.383, allocations: 3.906 kB / 1.308 GB, free: 136.3 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01038/6.394, allocations: 1.047 MB / 1.309 GB, free: 136.3 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09885/6.492, allocations: 15.91 MB / 1.325 GB, free: 136.2 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001975/6.494, allocations: 173.4 kB / 1.325 GB, free: 136.2 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1459/6.64, allocations: 68.57 MB / 1.392 GB, free: 88.75 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05497/6.695, allocations: 25.7 MB / 1.417 GB, free: 62.42 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1475/6.843, allocations: 41.66 MB / 1.458 GB, free: 20.94 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004096/6.847, allocations: 0.9824 MB / 1.459 GB, free: 20.25 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004282/6.851, allocations: 132.6 kB / 1.459 GB, free: 20.12 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01589/6.867, allocations: 0.9059 MB / 1.46 GB, free: 19.22 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004134/6.872, allocations: 447.1 kB / 1.46 GB, free: 18.78 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001774/6.873, allocations: 179.8 kB / 1.46 GB, free: 18.61 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.01567/6.889, allocations: 6.473 MB / 1.466 GB, free: 12.19 MB / 490.9 MB Notification: Performance of sort global known variables: time 8.01e-07/6.889, allocations: 0 / 1.466 GB, free: 12.19 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.02436/6.914, allocations: 4.483 MB / 1.471 GB, free: 7.711 MB / 490.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (411): * Single equations (assignments): 396 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.5024/7.416, allocations: 42.84 MB / 1.513 GB, free: 129.9 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.07597/7.492, allocations: 24.28 MB / 1.536 GB, free: 119.7 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/7.492, allocations: 0 / 1.536 GB, free: 119.7 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.04062/7.533, allocations: 11.94 MB / 1.548 GB, free: 108.2 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01262/7.545, allocations: 1.348 MB / 1.549 GB, free: 107 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5501/8.096, allocations: 292.1 MB / 1.835 GB, free: 21.23 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02697/8.123, allocations: 9.435 MB / 1.844 GB, free: 20.14 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.02594/8.149, allocations: 5.08 MB / 1.849 GB, free: 19.72 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01731/8.166, allocations: 6.46 MB / 1.855 GB, free: 18.6 MB / 0.5419 GB Notification: Performance of SimCode: time 1.803e-06/8.166, allocations: 3.938 kB / 1.855 GB, free: 18.6 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.321/9.487, allocations: 294.1 MB / 2.142 GB, free: 162.8 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/9.488, allocations: 231.9 kB / 2.142 GB, free: 162.6 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/22.21, allocations: 0 / 2.142 GB, free: 162.6 MB / 0.5419 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat