Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_SphericalSpherical",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.01091/0.01091, allocations: 103.8 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.001161/0.001161, allocations: 171 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.728/1.728, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.2607/0.2607, allocations: 38.09 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004887, allocations: 15.98 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09987, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.0312/0.1311, allocations: 14.77 MB / 387.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.1446, allocations: 3.718 MB / 390.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.148, allocations: 71.88 kB / 390.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.1511, allocations: 0.6921 MB / 391.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008572/0.1597, allocations: 1.913 MB / 393.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.1612, allocations: 247.5 kB / 393.7 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1625, allocations: 475.4 kB / 394.2 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.165, allocations: 1.054 MB / 395.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.1656, allocations: 247 kB / 395.5 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009736/0.1666, allocations: 486.7 kB / 395.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.1669, allocations: 59.98 kB / 396 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.168, allocations: 387.4 kB / 396.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.1691, allocations: 415 kB / 396.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.1695, allocations: 213.1 kB / 397 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.1719, allocations: 1.321 MB / 398.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1719, allocations: 0 / 398.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.172, allocations: 0 / 398.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.452e-05/0.172, allocations: 0 / 398.3 MB, free: 2.738 MB / 298.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.005046/0.1771, allocations: 1.439 MB / 399.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1772, allocations: 8.031 kB / 399.8 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000538/0.1777, allocations: 178.2 kB / 399.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.1789, allocations: 174.2 kB / 400.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.1807, allocations: 0.6073 MB / 400.7 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.631e-05/0.1808, allocations: 61.97 kB / 400.8 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.1811, allocations: 83.95 kB / 400.8 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009607/0.1907, allocations: 2.7 MB / 403.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.1908, allocations: 7.938 kB / 403.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.191, allocations: 31.97 kB / 403.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008715/0.1919, allocations: 385.6 kB / 404 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.202, allocations: 2.396 MB / 406.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.2203, allocations: 8.197 MB / 414.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.2313, allocations: 0.9796 MB / 415.5 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002364/0.2337, allocations: 1.731 MB / 417.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.2338, allocations: 38.56 kB / 417.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 6.493e-06/0.2338, allocations: 96 / 417.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.02081/0.2546, allocations: 2.994 MB / 420.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.2547, allocations: 59.97 kB / 420.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.2565, allocations: 0.8754 MB / 421.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/0.2566, allocations: 37.64 kB / 421.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006718/0.2573, allocations: 0.6448 MB / 421.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.2576, allocations: 217 kB / 422.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.2577, allocations: 24 kB / 422.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002548/0.258, allocations: 402.7 kB / 422.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009687/0.259, allocations: 358.4 kB / 422.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.2605, allocations: 0.9654 MB / 423.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.2619, allocations: 0.568 MB / 424.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.2619, allocations: 8 kB / 424.4 MB, free: 7.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003349/0.2653, allocations: 1.353 MB / 425.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.2653, allocations: 21.36 kB / 425.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/0.2654, allocations: 20.84 kB / 425.8 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.736e-05/0.2655, allocations: 32 kB / 425.9 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.2677, allocations: 323.5 kB / 426.2 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.2691, allocations: 1.356 MB / 427.5 MB, free: 4.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.2703, allocations: 51.98 kB / 427.6 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.2704, allocations: 60 kB / 427.6 MB, free: 4.102 MB / 330.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.001038/0.2714, allocations: 491.7 kB / 428.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.2716, allocations: 94.77 kB / 428.2 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.2719, allocations: 116.6 kB / 428.3 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.272, allocations: 8 kB / 428.3 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.272, allocations: 0 / 428.3 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.272, allocations: 3.984 kB / 428.3 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005862/0.2779, allocations: 2.159 MB / 430.5 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.2779, allocations: 11.94 kB / 430.5 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.2789, allocations: 128.6 kB / 430.6 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.279, allocations: 12 kB / 430.6 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.279, allocations: 16 kB / 430.7 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2897/0.5688, allocations: 1.328 MB / 432 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/0.5688, allocations: 11.69 kB / 432 MB, free: 60.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.5708, allocations: 1.131 MB / 433.1 MB, free: 59.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.5714, allocations: 203.9 kB / 433.3 MB, free: 59.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.5716, allocations: 19.52 kB / 433.3 MB, free: 59.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.5722, allocations: 15.81 kB / 433.4 MB, free: 59.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.5723, allocations: 56.55 kB / 433.4 MB, free: 59.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.5724, allocations: 21.28 kB / 433.4 MB, free: 59.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001289/0.5737, allocations: 0.5777 MB / 434 MB, free: 59.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5737, allocations: 0 / 434 MB, free: 59.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001564/0.5753, allocations: 213.5 kB / 434.2 MB, free: 59.36 MB / 330.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.002207/0.5775, allocations: 3.482 MB / 437.7 MB, free: 56.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.5799, allocations: 0.8514 MB / 438.6 MB, free: 56.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.5799, allocations: 0 / 438.6 MB, free: 56.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007839/0.5807, allocations: 282.2 kB / 438.8 MB, free: 56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/0.5817, allocations: 108.6 kB / 438.9 MB, free: 55.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.5992, allocations: 20.88 MB / 459.8 MB, free: 37.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.6006, allocations: 1.241 MB / 461.1 MB, free: 36.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001611/0.6022, allocations: 343.3 kB / 461.4 MB, free: 36.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007801/0.603, allocations: 394.2 kB / 461.8 MB, free: 36.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.512e-06/0.603, allocations: 1.125 kB / 461.8 MB, free: 36.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05336/0.6564, allocations: 16.74 MB / 478.5 MB, free: 25.06 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.6567, allocations: 181.1 kB / 478.7 MB, free: 24.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/3.714, allocations: 4 kB / 478.7 MB, free: 24.82 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat