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/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.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.29/2.29, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.228e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3386, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.5402, allocations: 99.3 MB / 457.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.5406, allocations: 71.97 kB / 457.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.511/1.052, allocations: 54.91 MB / 0.5004 GB, free: 68.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.052, allocations: 0 / 0.5004 GB, free: 68.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001236/1.052, allocations: 48 kB / 0.5004 GB, free: 68.68 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.009203/1.061, allocations: 2.576 MB / 0.503 GB, free: 66.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.061, allocations: 12.03 kB / 0.503 GB, free: 66.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005544/1.067, allocations: 483.8 kB / 0.5034 GB, free: 65.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007488/1.074, allocations: 1.535 MB / 0.5049 GB, free: 63.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/1.075, allocations: 92 kB / 0.505 GB, free: 63.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/1.076, allocations: 160 kB / 0.5052 GB, free: 63.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01343/1.09, allocations: 3.806 MB / 0.5089 GB, free: 59.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/1.108, allocations: 4.955 MB / 0.5137 GB, free: 54.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/1.108, allocations: 15.88 kB / 0.5137 GB, free: 54.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/1.109, allocations: 8 kB / 0.5138 GB, free: 54.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002033/1.111, allocations: 0.5203 MB / 0.5143 GB, free: 54.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0549/1.166, allocations: 20.04 MB / 0.5338 GB, free: 33.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/1.169, allocations: 0.8463 MB / 0.5347 GB, free: 32.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/1.171, allocations: 0.6164 MB / 0.5353 GB, free: 32.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01358/1.185, allocations: 4.568 MB / 0.5397 GB, free: 27.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/1.185, allocations: 51.11 kB / 0.5398 GB, free: 27.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 6.943e-06/1.185, allocations: 0 / 0.5398 GB, free: 27.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.03975/1.225, allocations: 5.231 MB / 0.5449 GB, free: 21.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.225, allocations: 93.89 kB / 0.545 GB, free: 21.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/1.229, allocations: 1.409 MB / 0.5463 GB, free: 20.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002917/1.23, allocations: 33.58 kB / 0.5464 GB, free: 20.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.232, allocations: 1.746 MB / 0.5481 GB, free: 18.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/1.232, allocations: 327.6 kB / 0.5484 GB, free: 18.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/1.233, allocations: 0 / 0.5484 GB, free: 18.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002851/1.233, allocations: 436.8 kB / 0.5488 GB, free: 17.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/1.236, allocations: 0.8217 MB / 0.5496 GB, free: 16.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004453/1.24, allocations: 2.453 MB / 0.552 GB, free: 13.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007892/1.248, allocations: 1.542 MB / 0.5535 GB, free: 12.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.483e-05/1.248, allocations: 16 kB / 0.5535 GB, free: 12.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01509/1.264, allocations: 3.075 MB / 0.5565 GB, free: 8.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/1.264, allocations: 36.19 kB / 0.5566 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.169e-05/1.264, allocations: 60 kB / 0.5566 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/1.264, allocations: 84 kB / 0.5567 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006562/1.271, allocations: 0.7018 MB / 0.5574 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001405/1.271, allocations: 119.6 kB / 0.5575 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004887/1.276, allocations: 99.75 kB / 0.5576 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007776/1.277, allocations: 168 kB / 0.5578 GB, free: 7.734 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 366 * 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.0007663/1.277, allocations: 268.6 kB / 0.558 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003814/1.281, allocations: 1.096 MB / 0.5591 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/1.282, allocations: 158 kB / 0.5592 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/1.286, allocations: 1.256 MB / 0.5605 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.286, allocations: 8 kB / 0.5605 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.286, allocations: 0 / 0.5605 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/1.286, allocations: 3.984 kB / 0.5605 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/1.303, allocations: 3.78 MB / 0.5642 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/1.303, allocations: 7.953 kB / 0.5642 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/1.306, allocations: 208.2 kB / 0.5644 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.404e-05/1.307, allocations: 12 kB / 0.5644 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/1.307, allocations: 15.98 kB / 0.5644 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-05/1.307, allocations: 11.98 kB / 0.5644 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/1.307, allocations: 7.938 kB / 0.5644 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/1.311, allocations: 1.587 MB / 0.566 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/1.311, allocations: 227 kB / 0.5662 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004875/1.312, allocations: 11.98 kB / 0.5662 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.313, allocations: 35.94 kB / 0.5662 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/1.314, allocations: 64.39 kB / 0.5663 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.926e-05/1.314, allocations: 27.98 kB / 0.5663 GB, free: 14.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002694/1.316, allocations: 0.9445 MB / 0.5672 GB, free: 13.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.163e-06/1.317, allocations: 0 / 0.5672 GB, free: 13.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003701/1.32, allocations: 463.9 kB / 0.5677 GB, free: 13.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.004126/1.324, allocations: 3.443 MB / 0.571 GB, free: 9.582 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004866/1.329, allocations: 1.888 MB / 0.5729 GB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.329, allocations: 3.938 kB / 0.5729 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/1.331, allocations: 0.5227 MB / 0.5734 GB, free: 7.184 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.332, allocations: 142.8 kB / 0.5735 GB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.348, allocations: 4.838 MB / 0.5783 GB, free: 2.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004021/1.352, allocations: 2.197 MB / 0.5804 GB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002902/1.355, allocations: 1.042 MB / 0.5814 GB, free: 14.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/1.355, allocations: 0 / 0.5814 GB, free: 14.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.532/4.887, allocations: 42.44 MB / 0.6229 GB, free: 4.289 MB / 458.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