Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",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.0013/0.0013, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001316/0.001316, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2312/0.2312, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 71.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 60.82 MB / 0.5184 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01386/0.3567, allocations: 12.42 MB / 0.5306 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009506/0.3663, allocations: 3.866 MB / 0.5343 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.3694, allocations: 63.34 kB / 0.5344 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008235/0.3776, allocations: 3.87 MB / 0.5382 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003199/0.3809, allocations: 0.8904 MB / 0.5391 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.3835, allocations: 0.8807 MB / 0.5399 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004024/0.3875, allocations: 2.297 MB / 0.5422 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00765/0.3952, allocations: 4.986 MB / 0.547 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.3982, allocations: 1.484 MB / 0.5485 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/0.4017, allocations: 1.963 MB / 0.5504 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.4031, allocations: 472 kB / 0.5508 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.4061, allocations: 1.155 MB / 0.552 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002615/0.4087, allocations: 1.793 MB / 0.5537 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003912/0.4127, allocations: 2.072 MB / 0.5557 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009602/0.4223, allocations: 7.19 MB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4223, allocations: 0 / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4224, allocations: 0 / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002788/0.4226, allocations: 0 / 0.5628 GB, free: 14.48 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01443/0.4371, allocations: 4.434 MB / 0.5671 GB, free: 9.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4372, allocations: 12.03 kB / 0.5671 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00201/0.4392, allocations: 0.5822 MB / 0.5677 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.4432, allocations: 0.6812 MB / 0.5683 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006101/0.4493, allocations: 2.255 MB / 0.5705 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/0.4496, allocations: 242.2 kB / 0.5708 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001286/0.4509, allocations: 319.9 kB / 0.5711 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.4718, allocations: 9.418 MB / 0.5803 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/0.472, allocations: 23.8 kB / 0.5803 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004021/0.4724, allocations: 139.9 kB / 0.5804 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/0.4743, allocations: 1.181 MB / 0.5816 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.4933, allocations: 8.644 MB / 0.59 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0402/0.5336, allocations: 27.14 MB / 0.6165 GB, free: 6.434 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009892/0.5435, allocations: 3.107 MB / 0.6196 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.5459, allocations: 1.655 MB / 0.6212 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.014/0.5599, allocations: 9.007 MB / 0.63 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.56, allocations: 47.48 kB / 0.63 GB, free: 8.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=93): time 4.508e-06/0.56, allocations: 0 / 0.63 GB, free: 8.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=110): time 0.02584/0.5859, allocations: 7.765 MB / 0.6376 GB, free: 348 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.586, allocations: 64.41 kB / 0.6377 GB, free: 272 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/0.5905, allocations: 2.62 MB / 0.6402 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.5907, allocations: 45.7 kB / 0.6403 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/0.5926, allocations: 2.232 MB / 0.6424 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005791/0.5932, allocations: 448.6 kB / 0.6429 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/0.5946, allocations: 0.7779 MB / 0.6436 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5947, allocations: 309.1 kB / 0.6439 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.597, allocations: 1.428 MB / 0.6453 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.601, allocations: 3.508 MB / 0.6488 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008047/0.609, allocations: 5.185 MB / 0.6538 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.656e-05/0.6091, allocations: 20 kB / 0.6538 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.00896/0.6181, allocations: 4.927 MB / 0.6586 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.881e-05/0.6182, allocations: 36.22 kB / 0.6587 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.6183, allocations: 76 kB / 0.6588 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.6185, allocations: 100 kB / 0.6588 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/0.6218, allocations: 0.8851 MB / 0.6597 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000173/0.622, allocations: 143.4 kB / 0.6598 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/0.6256, allocations: 211.7 kB / 0.6601 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000664/0.6263, allocations: 215.9 kB / 0.6603 GB, free: 7.016 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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.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 (476): * Single equations (assignments): 475 * 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.003309/0.6296, allocations: 1.585 MB / 0.6618 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/0.6302, allocations: 234.4 kB / 0.662 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.634, allocations: 2.106 MB / 0.6641 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.634, allocations: 12 kB / 0.6641 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6341, allocations: 3.938 kB / 0.6641 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6341, allocations: 7.969 kB / 0.6641 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.6463, allocations: 6.048 MB / 0.67 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/0.6464, allocations: 13 kB / 0.67 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.6475, allocations: 255.5 kB / 0.6703 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.603e-05/0.6476, allocations: 24 kB / 0.6703 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.6477, allocations: 40 kB / 0.6703 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.601e-05/0.6477, allocations: 27.92 kB / 0.6704 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-05/0.6478, allocations: 19.88 kB / 0.6704 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.6511, allocations: 2.191 MB / 0.6725 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.6523, allocations: 319.5 kB / 0.6728 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006597/0.6529, allocations: 51.92 kB / 0.6729 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.6544, allocations: 63.94 kB / 0.6729 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.6546, allocations: 120.2 kB / 0.673 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.6547, allocations: 48 kB / 0.6731 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003636/0.6584, allocations: 1.664 MB / 0.6747 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6584, allocations: 0 / 0.6747 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004682/0.6631, allocations: 0.6874 MB / 0.6754 GB, free: 7.008 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * 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 (136): * Single equations (assignments): 136 * 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.004286/0.6674, allocations: 2.834 MB / 0.6782 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005133/0.6726, allocations: 3.082 MB / 0.6812 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.6726, allocations: 1.938 kB / 0.6812 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.6738, allocations: 0.8222 MB / 0.682 GB, free: 92 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.6766, allocations: 355.2 kB / 0.6823 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04805/0.7247, allocations: 28.61 MB / 0.7103 GB, free: 396 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004487/0.7293, allocations: 2.679 MB / 0.7129 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002955/0.7322, allocations: 0.9345 MB / 0.7138 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002414/0.7347, allocations: 1.374 MB / 0.7151 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of SimCode: time 1.413e-06/0.7347, allocations: 0 / 0.7151 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3517/1.086, allocations: 52.13 MB / 0.766 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.11, allocations: 6.438 kB / 0.766 GB, free: 163.3 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_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_JointRRR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches