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.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 234.9 MB / 250.5 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004484, allocations: 15.98 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.462, allocations: 54.86 MB / 369.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.6485, allocations: 100.1 MB / 469.4 MB, free: 8.559 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6489, allocations: 79.95 kB / 469.5 MB, free: 8.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5781/1.227, allocations: 56.27 MB / 0.5134 GB, free: 103.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.227, allocations: 0 / 0.5134 GB, free: 103.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001401/1.227, allocations: 54.09 kB / 0.5135 GB, free: 103.5 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01093/1.238, allocations: 2.698 MB / 0.5161 GB, free: 102.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.238, allocations: 7.469 kB / 0.5161 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002213/1.24, allocations: 487.2 kB / 0.5166 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/1.245, allocations: 484.2 kB / 0.5171 GB, free: 102 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005306/1.25, allocations: 1.531 MB / 0.5186 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/1.251, allocations: 217 kB / 0.5188 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/1.252, allocations: 279.6 kB / 0.519 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/1.277, allocations: 6.692 MB / 0.5256 GB, free: 99.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/1.277, allocations: 10.69 kB / 0.5256 GB, free: 99.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008009/1.278, allocations: 135.5 kB / 0.5257 GB, free: 99.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001416/1.279, allocations: 0.5214 MB / 0.5262 GB, free: 99.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02112/1.3, allocations: 5.541 MB / 0.5316 GB, free: 97.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03718/1.337, allocations: 21.29 MB / 0.5524 GB, free: 78.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/1.35, allocations: 1.813 MB / 0.5542 GB, free: 77.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008745/1.358, allocations: 4.886 MB / 0.559 GB, free: 71.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/1.358, allocations: 47.06 kB / 0.559 GB, free: 71.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 3.878e-06/1.358, allocations: 0 / 0.559 GB, free: 71.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.09162/1.45, allocations: 10.09 MB / 0.5689 GB, free: 61.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.45, allocations: 94.05 kB / 0.5689 GB, free: 61.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/1.453, allocations: 1.725 MB / 0.5706 GB, free: 59.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002644/1.454, allocations: 45.7 kB / 0.5707 GB, free: 59.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.455, allocations: 1.657 MB / 0.5723 GB, free: 58.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/1.455, allocations: 406.4 kB / 0.5727 GB, free: 57.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/1.455, allocations: 56 kB / 0.5727 GB, free: 57.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/1.456, allocations: 436.8 kB / 0.5732 GB, free: 57.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/1.458, allocations: 1.021 MB / 0.5742 GB, free: 56.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003909/1.462, allocations: 2.619 MB / 0.5767 GB, free: 52.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004573/1.467, allocations: 1.58 MB / 0.5783 GB, free: 51.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.317e-05/1.467, allocations: 16 kB / 0.5783 GB, free: 51.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01132/1.478, allocations: 3.568 MB / 0.5818 GB, free: 47.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/1.478, allocations: 36 kB / 0.5818 GB, free: 47.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.558e-05/1.478, allocations: 59.05 kB / 0.5818 GB, free: 47.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/1.478, allocations: 84 kB / 0.5819 GB, free: 47.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006043/1.484, allocations: 0.7213 MB / 0.5826 GB, free: 46.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001241/1.485, allocations: 115.6 kB / 0.5827 GB, free: 46.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/1.489, allocations: 159.8 kB / 0.5829 GB, free: 46.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004512/1.489, allocations: 160 kB / 0.583 GB, free: 46.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (371): * Single equations (assignments): 371 * 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.003267/1.493, allocations: 1.195 MB / 0.5842 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005264/1.493, allocations: 181.6 kB / 0.5844 GB, free: 44.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/1.499, allocations: 1.727 MB / 0.5861 GB, free: 43.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/1.499, allocations: 12 kB / 0.5861 GB, free: 43.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.499, allocations: 0 / 0.5861 GB, free: 43.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/1.499, allocations: 11.92 kB / 0.5861 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/1.516, allocations: 5.902 MB / 0.5919 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/1.516, allocations: 12 kB / 0.5919 GB, free: 37.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/1.518, allocations: 251.6 kB / 0.5921 GB, free: 36.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.242e-05/1.518, allocations: 23.95 kB / 0.5921 GB, free: 36.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/1.518, allocations: 32 kB / 0.5922 GB, free: 36.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.058e-05/1.518, allocations: 27.17 kB / 0.5922 GB, free: 36.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/1.518, allocations: 15.94 kB / 0.5922 GB, free: 36.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004307/1.523, allocations: 2.629 MB / 0.5948 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/1.523, allocations: 274.7 kB / 0.595 GB, free: 33.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/1.524, allocations: 35.95 kB / 0.5951 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.526, allocations: 59.94 kB / 0.5951 GB, free: 33.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/1.526, allocations: 104.2 kB / 0.5952 GB, free: 33.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.526, allocations: 44 kB / 0.5953 GB, free: 32.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003336/1.529, allocations: 1.256 MB / 0.5965 GB, free: 31.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.529, allocations: 0 / 0.5965 GB, free: 31.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004711/1.534, allocations: 0.539 MB / 0.597 GB, free: 31.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (110): * Single equations (assignments): 110 * 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.00548/1.54, allocations: 6.527 MB / 0.6034 GB, free: 24.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008108/1.548, allocations: 2.25 MB / 0.6056 GB, free: 22.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-05/1.548, allocations: 5.938 kB / 0.6056 GB, free: 22.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/1.55, allocations: 0.6108 MB / 0.6062 GB, free: 21.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/1.553, allocations: 222.4 kB / 0.6064 GB, free: 21.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03832/1.591, allocations: 48.52 MB / 0.6538 GB, free: 2.957 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003933/1.595, allocations: 2.23 MB / 0.656 GB, free: 0.707 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002746/1.598, allocations: 1.063 MB / 0.657 GB, free: 15.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/1.598, allocations: 0 / 0.657 GB, free: 15.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.891/5.489, allocations: 45.05 MB / 0.701 GB, free: 132.7 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat