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.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.347e-05, allocations: 0 / 303.3 MB, free: 3.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.392, allocations: 54.86 MB / 358.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.5791, allocations: 102.2 MB / 460.3 MB, free: 9.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5794, allocations: 75.91 kB / 460.4 MB, free: 9.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6785/1.258, allocations: 71.82 MB / 0.5197 GB, free: 79.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.258, allocations: 0 / 0.5197 GB, free: 79.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002547/1.258, allocations: 76 kB / 0.5198 GB, free: 79.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01762/1.276, allocations: 4.087 MB / 0.5238 GB, free: 74.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.276, allocations: 8.031 kB / 0.5238 GB, free: 74.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006787/1.283, allocations: 0.7475 MB / 0.5245 GB, free: 74.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008471/1.291, allocations: 2.564 MB / 0.527 GB, free: 71.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/1.292, allocations: 140 kB / 0.5272 GB, free: 71.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/1.294, allocations: 244 kB / 0.5274 GB, free: 71.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01981/1.313, allocations: 6.139 MB / 0.5334 GB, free: 65.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/1.336, allocations: 7.797 MB / 0.541 GB, free: 56.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/1.337, allocations: 19.81 kB / 0.541 GB, free: 56.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/1.338, allocations: 12 kB / 0.541 GB, free: 56.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/1.341, allocations: 0.8583 MB / 0.5419 GB, free: 56.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06093/1.402, allocations: 30.23 MB / 0.5714 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/1.406, allocations: 1.943 MB / 0.5733 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/1.408, allocations: 1.454 MB / 0.5747 GB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01667/1.425, allocations: 8.588 MB / 0.5831 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.425, allocations: 47.28 kB / 0.5831 GB, free: 12.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.988e-06/1.425, allocations: 0 / 0.5831 GB, free: 12.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=97): time 0.03006/1.455, allocations: 8.045 MB / 0.591 GB, free: 4.785 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/1.455, allocations: 119.7 kB / 0.5911 GB, free: 4.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/1.46, allocations: 2.156 MB / 0.5932 GB, free: 2.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002805/1.46, allocations: 25.7 kB / 0.5932 GB, free: 2.434 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.462, allocations: 2.598 MB / 0.5958 GB, free: 15.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/1.463, allocations: 391.2 kB / 0.5962 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/1.463, allocations: 0 / 0.5962 GB, free: 15.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003869/1.464, allocations: 479.9 kB / 0.5966 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/1.467, allocations: 1.301 MB / 0.5979 GB, free: 13.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007173/1.474, allocations: 3.714 MB / 0.6015 GB, free: 8.672 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008117/1.483, allocations: 2.254 MB / 0.6037 GB, free: 6.414 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.647e-05/1.483, allocations: 24 kB / 0.6037 GB, free: 6.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.01623/1.499, allocations: 4.62 MB / 0.6082 GB, free: 1.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.499, allocations: 47.78 kB / 0.6083 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/1.499, allocations: 92 kB / 0.6084 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/1.499, allocations: 128 kB / 0.6085 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007263/1.507, allocations: 1.018 MB / 0.6095 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000218/1.507, allocations: 179.3 kB / 0.6097 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/1.512, allocations: 171.7 kB / 0.6098 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.514, allocations: 249.2 kB / 0.6101 GB, free: 15.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.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 (534): * Single equations (assignments): 533 * Array equations: 1 * 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.001211/1.515, allocations: 348 kB / 0.6104 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004039/1.519, allocations: 1.54 MB / 0.6119 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007217/1.52, allocations: 213.3 kB / 0.6121 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/1.524, allocations: 1.711 MB / 0.6138 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/1.525, allocations: 8 kB / 0.6138 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.525, allocations: 4 kB / 0.6138 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.525, allocations: 7.969 kB / 0.6138 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.542, allocations: 5.587 MB / 0.6193 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/1.542, allocations: 16.94 kB / 0.6193 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/1.545, allocations: 267.5 kB / 0.6195 GB, free: 5.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.015e-05/1.545, allocations: 24 kB / 0.6195 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/1.545, allocations: 28 kB / 0.6196 GB, free: 5.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.891e-05/1.545, allocations: 35.86 kB / 0.6196 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.24e-05/1.545, allocations: 31.88 kB / 0.6196 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007704/1.553, allocations: 3.501 MB / 0.6231 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.554, allocations: 330 kB / 0.6234 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00073/1.555, allocations: 23.98 kB / 0.6234 GB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.558, allocations: 47.94 kB / 0.6234 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004907/1.559, allocations: 140.1 kB / 0.6236 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.559, allocations: 55.95 kB / 0.6236 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005206/1.564, allocations: 1.434 MB / 0.625 GB, free: 15.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.564, allocations: 0 / 0.625 GB, free: 15.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008265/1.572, allocations: 0.6562 MB / 0.6257 GB, free: 14.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * 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.0317/1.604, allocations: 8.588 MB / 0.6341 GB, free: 5.703 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02285/1.627, allocations: 2.858 MB / 0.6368 GB, free: 2.867 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-05/1.627, allocations: 0 / 0.6368 GB, free: 2.867 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01544/1.643, allocations: 0.7625 MB / 0.6376 GB, free: 2.109 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.645, allocations: 220.1 kB / 0.6378 GB, free: 1.891 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/1.677, allocations: 7.679 MB / 0.6453 GB, free: 9.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00784/1.685, allocations: 3.025 MB / 0.6483 GB, free: 6.875 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004591/1.689, allocations: 1.601 MB / 0.6498 GB, free: 5.273 MB / 474.7 MB Notification: Performance of SimCode: time 1.542e-06/1.689, allocations: 0 / 0.6498 GB, free: 5.273 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.743/5.433, allocations: 61.94 MB / 0.7103 GB, free: 109.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat