Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001167, allocations: 113.2 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 181 kB / 18.71 MB, free: 4.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3547, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01371/0.3685, allocations: 12.49 MB / 0.5306 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008978/0.3775, allocations: 3.651 MB / 0.5342 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/0.38, allocations: 73.47 kB / 0.5343 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007514/0.3876, allocations: 3.898 MB / 0.5381 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003998/0.3916, allocations: 0.9054 MB / 0.539 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.3942, allocations: 0.7034 MB / 0.5397 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004353/0.3985, allocations: 2.213 MB / 0.5418 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007401/0.406, allocations: 4.922 MB / 0.5466 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.4089, allocations: 1.473 MB / 0.5481 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.4121, allocations: 1.909 MB / 0.5499 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.4132, allocations: 448 kB / 0.5503 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.4156, allocations: 1.018 MB / 0.5513 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.4179, allocations: 1.762 MB / 0.5531 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003864/0.4218, allocations: 2.033 MB / 0.555 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009845/0.4316, allocations: 6.917 MB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4317, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.4e-06/0.4317, allocations: 3.984 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.4319, allocations: 4 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01114/0.4431, allocations: 4.242 MB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.4431, allocations: 8.031 kB / 0.566 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.4444, allocations: 0.582 MB / 0.5665 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.4472, allocations: 0.6461 MB / 0.5672 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/0.4521, allocations: 2.154 MB / 0.5693 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.4523, allocations: 246.4 kB / 0.5695 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000754/0.453, allocations: 315.9 kB / 0.5698 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.4695, allocations: 8.191 MB / 0.5778 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.947e-05/0.4696, allocations: 11.88 kB / 0.5778 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.47, allocations: 143.9 kB / 0.5779 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001626/0.4716, allocations: 1.095 MB / 0.579 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.4864, allocations: 6.707 MB / 0.5856 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03602/0.5224, allocations: 24.24 MB / 0.6092 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006622/0.5291, allocations: 1.982 MB / 0.6112 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.5307, allocations: 0.8996 MB / 0.6121 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009588/0.5404, allocations: 6.285 MB / 0.6182 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.5405, allocations: 51.14 kB / 0.6182 GB, free: 4.172 MB / 478.1 MB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.5405, allocations: 0 / 0.6182 GB, free: 4.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=99): time 0.01579/0.5563, allocations: 5.854 MB / 0.624 GB, free: 14.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.5564, allocations: 123.8 kB / 0.6241 GB, free: 14.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/0.5596, allocations: 2.442 MB / 0.6265 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.5597, allocations: 41.7 kB / 0.6265 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.5614, allocations: 2.259 MB / 0.6287 GB, free: 9.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.5617, allocations: 412.9 kB / 0.6291 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008404/0.5626, allocations: 0.7226 MB / 0.6298 GB, free: 8.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5627, allocations: 309 kB / 0.6301 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.5641, allocations: 0.9634 MB / 0.631 GB, free: 6.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.5668, allocations: 3.044 MB / 0.634 GB, free: 2.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/0.5717, allocations: 4.346 MB / 0.6383 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.953e-05/0.5717, allocations: 20 kB / 0.6383 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.00614/0.5779, allocations: 3.947 MB / 0.6421 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/0.578, allocations: 38.81 kB / 0.6422 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.799e-05/0.5781, allocations: 76 kB / 0.6422 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.5782, allocations: 96 kB / 0.6423 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.5804, allocations: 0.8031 MB / 0.6431 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000108/0.5806, allocations: 147.4 kB / 0.6433 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.5826, allocations: 176.1 kB / 0.6434 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/0.5829, allocations: 208 kB / 0.6436 GB, free: 7.996 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (449): * Single equations (assignments): 448 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002472/0.5854, allocations: 1.579 MB / 0.6452 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.5857, allocations: 222.5 kB / 0.6454 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.5876, allocations: 1.211 MB / 0.6466 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.5876, allocations: 8 kB / 0.6466 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5876, allocations: 4 kB / 0.6466 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.5876, allocations: 7.984 kB / 0.6466 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008147/0.5958, allocations: 5.7 MB / 0.6521 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.5958, allocations: 16 kB / 0.6522 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.5965, allocations: 224.5 kB / 0.6524 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/0.5966, allocations: 20 kB / 0.6524 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/0.5967, allocations: 44 kB / 0.6524 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-05/0.5967, allocations: 31.92 kB / 0.6525 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/0.5967, allocations: 27.88 kB / 0.6525 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.5987, allocations: 1.936 MB / 0.6544 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.5993, allocations: 315.5 kB / 0.6547 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.5995, allocations: 43.98 kB / 0.6547 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007667/0.6003, allocations: 39.98 kB / 0.6548 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.6004, allocations: 131.9 kB / 0.6549 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/0.6005, allocations: 51.94 kB / 0.6549 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002132/0.6026, allocations: 1.606 MB / 0.6565 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6026, allocations: 0 / 0.6565 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002818/0.6055, allocations: 0.6093 MB / 0.6571 GB, free: 9.602 MB / 0.5137 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00247/0.6079, allocations: 2.569 MB / 0.6596 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003289/0.6112, allocations: 2.281 MB / 0.6618 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.6113, allocations: 4.938 kB / 0.6618 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006793/0.6119, allocations: 0.5602 MB / 0.6624 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.6138, allocations: 371.7 kB / 0.6627 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/0.649, allocations: 26.26 MB / 0.6884 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/0.6521, allocations: 2.674 MB / 0.691 GB, free: 3.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002237/0.6543, allocations: 0.9029 MB / 0.6919 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/0.6563, allocations: 1.37 MB / 0.6932 GB, free: 1.375 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.6563, allocations: 4 kB / 0.6932 GB, free: 1.371 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3423/0.9986, allocations: 47.38 MB / 0.7395 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.78, allocations: 1.312 kB / 0.7395 GB, free: 185.4 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointRRP/JointRRP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches