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.001269/0.001269, allocations: 104.1 kB / 17.63 MB, free: 5.344 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.001181/0.001181, allocations: 192 kB / 18.56 MB, free: 4.434 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.326/1.326, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2064/0.2064, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 57.92 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09978, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01278/0.1126, allocations: 12.43 MB / 481.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008406/0.121, allocations: 3.848 MB / 485.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.1233, allocations: 63.88 kB / 485.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007603/0.131, allocations: 3.875 MB / 489.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.1338, allocations: 0.8512 MB / 490.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.136, allocations: 0.8733 MB / 491.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.1391, allocations: 2.315 MB / 493.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005692/0.1448, allocations: 4.98 MB / 498.6 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.1471, allocations: 1.477 MB / 0.4884 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.1501, allocations: 1.967 MB / 0.4903 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.1513, allocations: 476 kB / 0.4907 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.1545, allocations: 1.159 MB / 0.4919 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002587/0.1572, allocations: 1.797 MB / 0.4936 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003643/0.1608, allocations: 2.064 MB / 0.4956 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008318/0.1692, allocations: 7.034 MB / 0.5025 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1692, allocations: 3.938 kB / 0.5025 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1692, allocations: 0 / 0.5025 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002122/0.1694, allocations: 0 / 0.5025 GB, free: 0.8516 MB / 382.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.2175/0.387, allocations: 4.321 MB / 0.5067 GB, free: 47.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.387, allocations: 10.2 kB / 0.5067 GB, free: 47.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001724/0.3888, allocations: 0.587 MB / 0.5073 GB, free: 46.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.3924, allocations: 0.6543 MB / 0.5079 GB, free: 46.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004935/0.3974, allocations: 2.222 MB / 0.5101 GB, free: 45.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.3976, allocations: 239.4 kB / 0.5103 GB, free: 45.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.3987, allocations: 314.8 kB / 0.5106 GB, free: 45.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.4194, allocations: 9.43 MB / 0.5199 GB, free: 40.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.402e-05/0.4195, allocations: 17.38 kB / 0.5199 GB, free: 40.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/0.4199, allocations: 138.6 kB / 0.52 GB, free: 40.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001889/0.4218, allocations: 1.186 MB / 0.5212 GB, free: 40.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.4384, allocations: 8.635 MB / 0.5296 GB, free: 33.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.4679, allocations: 27.26 MB / 0.5562 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008129/0.4761, allocations: 3.101 MB / 0.5592 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.4777, allocations: 1.655 MB / 0.5609 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.4894, allocations: 9.003 MB / 0.5697 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.4895, allocations: 43.56 kB / 0.5697 GB, free: 7.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.015e-06/0.4895, allocations: 0 / 0.5697 GB, free: 7.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02475/0.5143, allocations: 7.712 MB / 0.5772 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.5144, allocations: 68.34 kB / 0.5773 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004826/0.5192, allocations: 2.611 MB / 0.5798 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.5194, allocations: 41.7 kB / 0.5799 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/0.5208, allocations: 2.144 MB / 0.582 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/0.5212, allocations: 430.5 kB / 0.5824 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.5222, allocations: 0.7773 MB / 0.5831 GB, free: 9.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.5224, allocations: 301.1 kB / 0.5834 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.5243, allocations: 1.428 MB / 0.5848 GB, free: 7.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/0.5276, allocations: 3.505 MB / 0.5882 GB, free: 3.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005761/0.5334, allocations: 5.184 MB / 0.5933 GB, free: 12.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-05/0.5335, allocations: 20 kB / 0.5933 GB, free: 12.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.007438/0.5409, allocations: 4.921 MB / 0.5981 GB, free: 8.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.541, allocations: 36.19 kB / 0.5982 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-05/0.5411, allocations: 77.22 kB / 0.5982 GB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.5412, allocations: 100 kB / 0.5983 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.5441, allocations: 0.8812 MB / 0.5992 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001252/0.5443, allocations: 151 kB / 0.5993 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.5468, allocations: 211.5 kB / 0.5995 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/0.5471, allocations: 212 kB / 0.5997 GB, free: 6.395 MB / 430.1 MB 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.002741/0.5499, allocations: 1.593 MB / 0.6013 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004824/0.5504, allocations: 217.1 kB / 0.6015 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.554, allocations: 2.102 MB / 0.6036 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.554, allocations: 12 kB / 0.6036 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.554, allocations: 0 / 0.6036 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.5541, allocations: 3.984 kB / 0.6036 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.5642, allocations: 6.068 MB / 0.6095 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.5643, allocations: 15.94 kB / 0.6095 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5653, allocations: 255.5 kB / 0.6098 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/0.5653, allocations: 23.98 kB / 0.6098 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.233e-05/0.5654, allocations: 36 kB / 0.6098 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.074e-05/0.5655, allocations: 23.94 kB / 0.6098 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/0.5655, allocations: 19.88 kB / 0.6099 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.5682, allocations: 2.181 MB / 0.612 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.5688, allocations: 318.1 kB / 0.6123 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.5691, allocations: 39.98 kB / 0.6123 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.57, allocations: 63.94 kB / 0.6124 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.5702, allocations: 116.2 kB / 0.6125 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.5704, allocations: 51.94 kB / 0.6126 GB, free: 8.773 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002394/0.5728, allocations: 1.672 MB / 0.6142 GB, free: 7.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5728, allocations: 4 kB / 0.6142 GB, free: 7.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002783/0.5756, allocations: 0.6771 MB / 0.6149 GB, free: 6.414 MB / 446.1 MB 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.003248/0.5788, allocations: 2.831 MB / 0.6176 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005774/0.5846, allocations: 3.49 MB / 0.621 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/0.5847, allocations: 384 / 0.621 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.5858, allocations: 0.8224 MB / 0.6218 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.588, allocations: 362.6 kB / 0.6222 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0401/0.6281, allocations: 31.24 MB / 0.6527 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/0.632, allocations: 2.671 MB / 0.6553 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002705/0.6347, allocations: 0.9494 MB / 0.6562 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/0.6366, allocations: 1.37 MB / 0.6576 GB, free: 6.348 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6366, allocations: 0 / 0.6576 GB, free: 6.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2954/0.9321, allocations: 51.06 MB / 0.7074 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.319/10.25, allocations: 9.109 kB / 0.7074 GB, free: 174.3 MB / 0.5137 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