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.001544/0.001544, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001721/0.001721, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.452/1.452, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2386/0.2386, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4043, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01443/0.4187, allocations: 12.49 MB / 0.5306 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009651/0.4284, allocations: 3.66 MB / 0.5342 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.4315, allocations: 69.38 kB / 0.5343 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008304/0.4398, allocations: 3.895 MB / 0.5381 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.4441, allocations: 0.8611 MB / 0.5389 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.4464, allocations: 0.7166 MB / 0.5396 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004998/0.4514, allocations: 2.202 MB / 0.5418 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007373/0.4588, allocations: 4.932 MB / 0.5466 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.4618, allocations: 1.457 MB / 0.548 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.4653, allocations: 1.909 MB / 0.5499 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.4666, allocations: 448 kB / 0.5503 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.4693, allocations: 1.018 MB / 0.5513 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002456/0.4718, allocations: 1.75 MB / 0.553 GB, free: 8.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004324/0.4761, allocations: 2.033 MB / 0.555 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.4869, allocations: 6.925 MB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.487, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.487, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002906/0.4873, allocations: 0 / 0.5618 GB, free: 15.59 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.01212/0.4994, allocations: 4.238 MB / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.4995, allocations: 8.031 kB / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001577/0.5011, allocations: 0.5938 MB / 0.5665 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/0.5039, allocations: 0.6422 MB / 0.5671 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.5086, allocations: 2.154 MB / 0.5692 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.5088, allocations: 246.4 kB / 0.5694 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00098/0.5098, allocations: 319.9 kB / 0.5698 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.5295, allocations: 8.195 MB / 0.5778 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.381e-05/0.5296, allocations: 11.88 kB / 0.5778 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006853/0.5303, allocations: 135.9 kB / 0.5779 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001866/0.5322, allocations: 1.095 MB / 0.579 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.5491, allocations: 6.705 MB / 0.5855 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/0.5917, allocations: 24.24 MB / 0.6092 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006731/0.5985, allocations: 1.982 MB / 0.6111 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.6002, allocations: 0.8958 MB / 0.612 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.6115, allocations: 6.285 MB / 0.6181 GB, free: 4.277 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/0.6116, allocations: 43.16 kB / 0.6182 GB, free: 4.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=80): time 3.857e-06/0.6117, allocations: 3.938 kB / 0.6182 GB, free: 4.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=99): time 0.01828/0.63, allocations: 5.87 MB / 0.6239 GB, free: 14.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.6301, allocations: 111.8 kB / 0.624 GB, free: 14.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/0.6337, allocations: 2.45 MB / 0.6264 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.6339, allocations: 45.7 kB / 0.6265 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.6358, allocations: 2.255 MB / 0.6287 GB, free: 9.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.6362, allocations: 408.9 kB / 0.629 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.6372, allocations: 0.7226 MB / 0.6298 GB, free: 8.254 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6374, allocations: 304.9 kB / 0.63 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.6389, allocations: 0.9634 MB / 0.631 GB, free: 6.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003702/0.6427, allocations: 3.048 MB / 0.634 GB, free: 2.914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006077/0.6488, allocations: 4.342 MB / 0.6382 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.586e-05/0.6489, allocations: 20 kB / 0.6382 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.00746/0.6563, allocations: 3.942 MB / 0.6421 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/0.6564, allocations: 39.59 kB / 0.6421 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/0.6565, allocations: 76 kB / 0.6422 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.6567, allocations: 96 kB / 0.6423 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.6592, allocations: 0.807 MB / 0.6431 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001468/0.6594, allocations: 147.4 kB / 0.6432 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.6616, allocations: 175.8 kB / 0.6434 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/0.662, allocations: 204 kB / 0.6436 GB, free: 8.047 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.003161/0.6652, allocations: 1.575 MB / 0.6451 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.6657, allocations: 222.5 kB / 0.6453 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.668, allocations: 1.216 MB / 0.6465 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6681, allocations: 8 kB / 0.6465 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.6681, allocations: 8 kB / 0.6465 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.6681, allocations: 7.969 kB / 0.6465 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.6795, allocations: 5.697 MB / 0.6521 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.6796, allocations: 16 kB / 0.6521 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008122/0.6804, allocations: 223.6 kB / 0.6523 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.627e-05/0.6805, allocations: 20 kB / 0.6523 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.6805, allocations: 43.98 kB / 0.6524 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-05/0.6806, allocations: 31.88 kB / 0.6524 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-05/0.6806, allocations: 27.92 kB / 0.6524 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.6833, allocations: 1.936 MB / 0.6543 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007966/0.6841, allocations: 319.5 kB / 0.6546 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/0.6846, allocations: 47.98 kB / 0.6547 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6856, allocations: 36 kB / 0.6547 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.6859, allocations: 135.8 kB / 0.6548 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/0.686, allocations: 52 kB / 0.6549 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003176/0.6892, allocations: 1.602 MB / 0.6565 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6892, allocations: 0 / 0.6565 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003921/0.6931, allocations: 0.6132 MB / 0.6571 GB, free: 9.648 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.00354/0.6967, allocations: 2.573 MB / 0.6596 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004408/0.7011, allocations: 2.285 MB / 0.6618 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.287e-05/0.7012, allocations: 4 kB / 0.6618 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.7022, allocations: 0.5592 MB / 0.6623 GB, free: 4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.7051, allocations: 373 kB / 0.6627 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05232/0.7574, allocations: 26.25 MB / 0.6883 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004399/0.7619, allocations: 2.678 MB / 0.691 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002658/0.7646, allocations: 0.9068 MB / 0.6918 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002448/0.767, allocations: 1.37 MB / 0.6932 GB, free: 1.426 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/0.7671, allocations: 0 / 0.6932 GB, free: 1.426 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3861/1.153, allocations: 47.39 MB / 0.7395 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.55, allocations: 1.25 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