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.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.000488, allocations: 19.98 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.403, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.5868, allocations: 99 MB / 468.4 MB, free: 7.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.5872, allocations: 79.91 kB / 468.4 MB, free: 7.391 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5272/1.115, allocations: 54.5 MB / 0.5107 GB, free: 61.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.506e-06/1.115, allocations: 0 / 0.5107 GB, free: 61.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001455/1.115, allocations: 59.94 kB / 0.5107 GB, free: 61.86 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.009053/1.124, allocations: 2.494 MB / 0.5132 GB, free: 59.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.124, allocations: 8.031 kB / 0.5132 GB, free: 59.3 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002054/1.126, allocations: 480.8 kB / 0.5136 GB, free: 58.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003982/1.13, allocations: 483.8 kB / 0.5141 GB, free: 58.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00508/1.135, allocations: 1.513 MB / 0.5156 GB, free: 56.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/1.135, allocations: 217.7 kB / 0.5158 GB, free: 56.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/1.137, allocations: 280 kB / 0.5161 GB, free: 56.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/1.156, allocations: 5.979 MB / 0.5219 GB, free: 49.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/1.156, allocations: 23.72 kB / 0.5219 GB, free: 49.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004922/1.157, allocations: 128 kB / 0.522 GB, free: 49.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001243/1.158, allocations: 480.1 kB / 0.5225 GB, free: 49.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/1.175, allocations: 4.569 MB / 0.527 GB, free: 44.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03253/1.207, allocations: 19.87 MB / 0.5464 GB, free: 24.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007077/1.214, allocations: 1.25 MB / 0.5476 GB, free: 23.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002123/1.216, allocations: 2.062 MB / 0.5496 GB, free: 20.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/1.217, allocations: 43.12 kB / 0.5496 GB, free: 20.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.677e-06/1.217, allocations: 0 / 0.5496 GB, free: 20.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.04694/1.264, allocations: 6.63 MB / 0.5561 GB, free: 14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/1.264, allocations: 90.09 kB / 0.5562 GB, free: 13.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/1.267, allocations: 1.603 MB / 0.5578 GB, free: 12.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/1.267, allocations: 41.7 kB / 0.5578 GB, free: 12.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/1.268, allocations: 1.639 MB / 0.5594 GB, free: 10.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/1.269, allocations: 414.5 kB / 0.5598 GB, free: 10.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/1.269, allocations: 56 kB / 0.5598 GB, free: 10.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/1.269, allocations: 428.6 kB / 0.5603 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.271, allocations: 0.7863 MB / 0.561 GB, free: 8.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/1.274, allocations: 2.321 MB / 0.5633 GB, free: 5.816 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/1.278, allocations: 1.318 MB / 0.5646 GB, free: 4.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-05/1.278, allocations: 16 kB / 0.5646 GB, free: 4.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008205/1.286, allocations: 3.06 MB / 0.5676 GB, free: 1.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.08e-05/1.286, allocations: 28 kB / 0.5676 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.98e-05/1.286, allocations: 52 kB / 0.5677 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-05/1.286, allocations: 84 kB / 0.5677 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004025/1.29, allocations: 0.6439 MB / 0.5684 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001217/1.291, allocations: 111.6 kB / 0.5685 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/1.294, allocations: 119.8 kB / 0.5686 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005096/1.294, allocations: 164 kB / 0.5687 GB, free: 232 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 359 * 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.003588/1.298, allocations: 1.191 MB / 0.5699 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005367/1.298, allocations: 169.8 kB / 0.5701 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/1.302, allocations: 1.258 MB / 0.5713 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/1.302, allocations: 12 kB / 0.5713 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.302, allocations: 0 / 0.5713 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/1.302, allocations: 8.016 kB / 0.5713 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/1.319, allocations: 6.435 MB / 0.5776 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/1.319, allocations: 20.36 kB / 0.5776 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.321, allocations: 211.6 kB / 0.5778 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-05/1.321, allocations: 31.98 kB / 0.5779 GB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/1.321, allocations: 40 kB / 0.5779 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.612e-05/1.321, allocations: 43.84 kB / 0.5779 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.292e-05/1.321, allocations: 27.88 kB / 0.578 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004586/1.326, allocations: 3.193 MB / 0.5811 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/1.327, allocations: 270.8 kB / 0.5813 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005411/1.327, allocations: 51.92 kB / 0.5814 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.329, allocations: 40 kB / 0.5814 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/1.329, allocations: 135.4 kB / 0.5816 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.329, allocations: 55.98 kB / 0.5816 GB, free: 1.547 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003155/1.332, allocations: 1.192 MB / 0.5828 GB, free: 372 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.332, allocations: 0 / 0.5828 GB, free: 372 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.003926/1.336, allocations: 0.4961 MB / 0.5833 GB, free: 15.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.007314/1.343, allocations: 9.454 MB / 0.5925 GB, free: 5.766 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005331/1.349, allocations: 1.813 MB / 0.5943 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.546e-05/1.349, allocations: 4 kB / 0.5943 GB, free: 3.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.35, allocations: 490.5 kB / 0.5947 GB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.352, allocations: 262.8 kB / 0.595 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05471/1.407, allocations: 46.88 MB / 0.6408 GB, free: 2.668 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007873/1.415, allocations: 2.24 MB / 0.6429 GB, free: 408 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4457/1.861, allocations: 1.055 MB / 0.644 GB, free: 143.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.184e-06/1.861, allocations: 0 / 0.644 GB, free: 143.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.709/5.57, allocations: 42.28 MB / 0.6853 GB, free: 128.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat