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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.48/2.48, allocations: 235.1 MB / 243 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.258e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3771, allocations: 54.85 MB / 358.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.5617, allocations: 98.24 MB / 456.4 MB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.562, allocations: 71.97 kB / 456.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5816/1.144, allocations: 53.14 MB / 0.4976 GB, free: 71.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.144, allocations: 0 / 0.4976 GB, free: 71.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001567/1.144, allocations: 51.83 kB / 0.4977 GB, free: 71.45 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.008066/1.152, allocations: 2.365 MB / 0.5 GB, free: 69.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.152, allocations: 12.03 kB / 0.5 GB, free: 69.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/1.156, allocations: 479.8 kB / 0.5005 GB, free: 68.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004778/1.161, allocations: 1.512 MB / 0.5019 GB, free: 66.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/1.161, allocations: 92 kB / 0.502 GB, free: 66.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/1.162, allocations: 168 kB / 0.5022 GB, free: 66.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008322/1.17, allocations: 3.382 MB / 0.5055 GB, free: 63.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/1.182, allocations: 4.626 MB / 0.51 GB, free: 58.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/1.183, allocations: 19.83 kB / 0.51 GB, free: 58.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004278/1.183, allocations: 8 kB / 0.51 GB, free: 58.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001246/1.184, allocations: 484.7 kB / 0.5105 GB, free: 57.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03106/1.215, allocations: 18.2 MB / 0.5283 GB, free: 39.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/1.217, allocations: 0.6682 MB / 0.5289 GB, free: 38.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/1.218, allocations: 307.2 kB / 0.5292 GB, free: 38.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/1.22, allocations: 1.742 MB / 0.5309 GB, free: 36.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.22, allocations: 39.12 kB / 0.531 GB, free: 36.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 3.667e-06/1.22, allocations: 0 / 0.531 GB, free: 36.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.01511/1.235, allocations: 3.337 MB / 0.5342 GB, free: 32.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/1.235, allocations: 89.89 kB / 0.5343 GB, free: 32.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/1.237, allocations: 1.346 MB / 0.5356 GB, free: 31.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/1.238, allocations: 25.7 kB / 0.5356 GB, free: 31.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/1.239, allocations: 1.712 MB / 0.5373 GB, free: 29.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003595/1.239, allocations: 343.4 kB / 0.5376 GB, free: 29.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/1.239, allocations: 0 / 0.5376 GB, free: 29.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/1.239, allocations: 432.5 kB / 0.5381 GB, free: 28.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/1.241, allocations: 0.6654 MB / 0.5387 GB, free: 28.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/1.243, allocations: 2.229 MB / 0.5409 GB, free: 25.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/1.246, allocations: 1.21 MB / 0.5421 GB, free: 23.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/1.246, allocations: 16 kB / 0.5421 GB, free: 23.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.006328/1.252, allocations: 2.56 MB / 0.5446 GB, free: 21.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/1.252, allocations: 28 kB / 0.5446 GB, free: 21.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-05/1.252, allocations: 56 kB / 0.5447 GB, free: 21.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/1.252, allocations: 84 kB / 0.5447 GB, free: 21.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00388/1.256, allocations: 0.6472 MB / 0.5454 GB, free: 20.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.765e-05/1.256, allocations: 115.5 kB / 0.5455 GB, free: 20.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.259, allocations: 71.95 kB / 0.5456 GB, free: 20.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004815/1.26, allocations: 156 kB / 0.5457 GB, free: 20.24 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (356): * Single equations (assignments): 356 * 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.0005164/1.26, allocations: 270.5 kB / 0.546 GB, free: 19.97 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001924/1.262, allocations: 0.8655 MB / 0.5468 GB, free: 19.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/1.262, allocations: 146.1 kB / 0.5469 GB, free: 18.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/1.265, allocations: 0.9508 MB / 0.5479 GB, free: 17.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.265, allocations: 12 kB / 0.5479 GB, free: 17.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.265, allocations: 0 / 0.5479 GB, free: 17.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/1.265, allocations: 7.938 kB / 0.5479 GB, free: 17.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009999/1.275, allocations: 4.535 MB / 0.5523 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/1.275, allocations: 16.22 kB / 0.5523 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/1.276, allocations: 171.7 kB / 0.5525 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.009e-05/1.276, allocations: 24 kB / 0.5525 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/1.276, allocations: 20 kB / 0.5525 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.642e-05/1.276, allocations: 39.81 kB / 0.5526 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-05/1.276, allocations: 23.88 kB / 0.5526 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/1.278, allocations: 2.358 MB / 0.5549 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/1.279, allocations: 235.1 kB / 0.5551 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.279, allocations: 23.98 kB / 0.5551 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.28, allocations: 19.98 kB / 0.5552 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.28, allocations: 111.5 kB / 0.5553 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/1.28, allocations: 44 kB / 0.5553 GB, free: 9.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001736/1.282, allocations: 0.9006 MB / 0.5562 GB, free: 8.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.32e-07/1.282, allocations: 0 / 0.5562 GB, free: 8.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003424/1.286, allocations: 419.9 kB / 0.5566 GB, free: 7.965 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.003563/1.289, allocations: 7.632 MB / 0.5641 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003989/1.293, allocations: 1.524 MB / 0.5655 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/1.293, allocations: 4 kB / 0.5655 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008928/1.294, allocations: 367.1 kB / 0.5659 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.296, allocations: 174.8 kB / 0.5661 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.312, allocations: 4.919 MB / 0.5709 GB, free: 8.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00412/1.316, allocations: 2.211 MB / 0.573 GB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002515/1.319, allocations: 1.034 MB / 0.574 GB, free: 5.297 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/1.319, allocations: 0 / 0.574 GB, free: 5.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.147/4.466, allocations: 40.07 MB / 0.6132 GB, free: 13.17 MB / 458.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