Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01122/0.01123, allocations: 107.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001301/0.0013, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.077/2.077, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3354/0.3354, allocations: 40.04 MB / 296.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004601, allocations: 12 kB / 361.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 54.89 MB / 416 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.4186/0.5399, allocations: 43.24 MB / 459.3 MB, free: 30.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02619/0.5662, allocations: 9.825 MB / 469.1 MB, free: 29.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009536/0.5758, allocations: 201.2 kB / 469.3 MB, free: 29.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007777/0.5836, allocations: 2.132 MB / 471.4 MB, free: 29.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02184/0.6055, allocations: 5.637 MB / 477.1 MB, free: 28.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.61, allocations: 0.6644 MB / 477.7 MB, free: 28.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004003/0.614, allocations: 1.449 MB / 479.2 MB, free: 28.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.6259, allocations: 6.418 MB / 485.6 MB, free: 27.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.6278, allocations: 0.8192 MB / 486.4 MB, free: 27.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.6303, allocations: 1.088 MB / 487.5 MB, free: 27.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008158/0.6312, allocations: 151 kB / 487.6 MB, free: 27.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.6336, allocations: 0.7169 MB / 488.4 MB, free: 27.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002721/0.6364, allocations: 1.409 MB / 489.8 MB, free: 26.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.6384, allocations: 0.7786 MB / 490.5 MB, free: 26.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.6499, allocations: 6.196 MB / 496.7 MB, free: 24.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6499, allocations: 0 / 496.7 MB, free: 24.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.6499, allocations: 1.094 kB / 496.7 MB, free: 24.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002904/0.6502, allocations: 0 / 496.7 MB, free: 24.61 MB / 378.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/0.6679, allocations: 4.166 MB / 0.4892 GB, free: 21.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.6679, allocations: 8.812 kB / 0.4892 GB, free: 21.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003382/0.6713, allocations: 0.6785 MB / 0.4898 GB, free: 21.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006545/0.6779, allocations: 0.6629 MB / 0.4905 GB, free: 21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007986/0.686, allocations: 2.25 MB / 0.4927 GB, free: 19.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/0.6863, allocations: 263.4 kB / 0.4929 GB, free: 19.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/0.6882, allocations: 355.3 kB / 0.4933 GB, free: 19.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03973/0.728, allocations: 10.75 MB / 0.5038 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/0.7282, allocations: 16.73 kB / 0.5038 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001788/0.73, allocations: 158 kB / 0.5039 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004698/0.7348, allocations: 1.57 MB / 0.5055 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03512/0.77, allocations: 9.42 MB / 0.5147 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06838/0.8384, allocations: 30.73 MB / 0.5447 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/0.856, allocations: 3.133 MB / 0.5477 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02279/0.8788, allocations: 9.383 MB / 0.5569 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.8789, allocations: 43.5 kB / 0.5569 GB, free: 9.176 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.068e-06/0.8789, allocations: 0 / 0.5569 GB, free: 9.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.04833/0.9273, allocations: 8.986 MB / 0.5657 GB, free: 164 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.9274, allocations: 119.8 kB / 0.5658 GB, free: 16 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006454/0.9339, allocations: 2.838 MB / 0.5686 GB, free: 13.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003736/0.9343, allocations: 49.7 kB / 0.5687 GB, free: 13.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00263/0.937, allocations: 2.503 MB / 0.5711 GB, free: 10.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/0.9378, allocations: 430 kB / 0.5715 GB, free: 10.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.9382, allocations: 80 kB / 0.5716 GB, free: 10.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003879/0.9386, allocations: 482.7 kB / 0.572 GB, free: 9.629 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004242/0.9429, allocations: 1.468 MB / 0.5735 GB, free: 8.152 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006545/0.9494, allocations: 3.782 MB / 0.5772 GB, free: 3.199 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006128/0.9556, allocations: 2.254 MB / 0.5794 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-05/0.9558, allocations: 27.94 kB / 0.5794 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01557/0.9713, allocations: 5.218 MB / 0.5845 GB, free: 11.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/0.9715, allocations: 40 kB / 0.5845 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/0.9716, allocations: 83.98 kB / 0.5846 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.9718, allocations: 120 kB / 0.5847 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00674/0.9786, allocations: 0.9981 MB / 0.5857 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001958/0.9788, allocations: 159.4 kB / 0.5859 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/0.9835, allocations: 227.6 kB / 0.5861 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000821/0.9844, allocations: 236 kB / 0.5863 GB, free: 9.844 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 520 * 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.005287/0.9897, allocations: 1.754 MB / 0.588 GB, free: 8.078 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000672/0.9904, allocations: 240.9 kB / 0.5882 GB, free: 7.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/0.9958, allocations: 2.049 MB / 0.5902 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.9959, allocations: 12 kB / 0.5903 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.9959, allocations: 0 / 0.5903 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.9959, allocations: 7.984 kB / 0.5903 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/1.012, allocations: 6.646 MB / 0.5967 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/1.013, allocations: 16 kB / 0.5968 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.014, allocations: 251.6 kB / 0.597 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.851e-05/1.015, allocations: 24.78 kB / 0.597 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.015, allocations: 39.98 kB / 0.5971 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.141e-05/1.015, allocations: 31.88 kB / 0.5971 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.152e-05/1.015, allocations: 19.94 kB / 0.5971 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/1.02, allocations: 3.502 MB / 0.6005 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.021, allocations: 345.7 kB / 0.6009 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005657/1.022, allocations: 43.97 kB / 0.6009 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.024, allocations: 59.95 kB / 0.601 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/1.024, allocations: 124.3 kB / 0.6011 GB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.024, allocations: 48 kB / 0.6011 GB, free: 9.945 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004485/1.029, allocations: 1.815 MB / 0.6029 GB, free: 8.125 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.029, allocations: 0 / 0.6029 GB, free: 8.125 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005467/1.034, allocations: 0.7499 MB / 0.6036 GB, free: 7.375 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.007432/1.042, allocations: 7.567 MB / 0.611 GB, free: 15.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008448/1.05, allocations: 3.168 MB / 0.6141 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.05, allocations: 320 / 0.6141 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/1.052, allocations: 0.8031 MB / 0.6149 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.055, allocations: 294.7 kB / 0.6152 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3534/1.408, allocations: 69.18 MB / 0.6827 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00599/1.414, allocations: 3.014 MB / 0.6857 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005194/1.42, allocations: 1.024 MB / 0.6867 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004001/1.424, allocations: 1.603 MB / 0.6882 GB, free: 101.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.964e-06/1.424, allocations: 0 / 0.6882 GB, free: 101.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1708/1.594, allocations: 55.01 MB / 0.742 GB, free: 74.73 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/1.595, allocations: 173.7 kB / 0.7421 GB, free: 74.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/5.683, allocations: 64 / 0.7421 GB, free: 74.48 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat