Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_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.00112/0.001121, allocations: 102.4 kB / 16.27 MB, free: 5.961 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.001254/0.001255, allocations: 190.2 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1962/0.1962, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 71.39 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08548, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01207/0.0976, allocations: 14.25 MB / 454.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007846/0.1055, allocations: 3.867 MB / 458.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.1074, allocations: 75.88 kB / 458.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007141/0.1146, allocations: 3.945 MB / 462.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.1175, allocations: 1.007 MB / 463.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.1192, allocations: 0.7135 MB / 464.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003327/0.1226, allocations: 2.536 MB / 467 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005624/0.1282, allocations: 5.059 MB / 472.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.1307, allocations: 1.578 MB / 473.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.1342, allocations: 2.045 MB / 475.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.1355, allocations: 468 kB / 476.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.138, allocations: 1.007 MB / 477.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002384/0.1404, allocations: 1.91 MB / 479.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003379/0.1438, allocations: 2.25 MB / 481.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.151, allocations: 7.298 MB / 488.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.151, allocations: 0 / 488.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.151, allocations: 0 / 488.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001416/0.1512, allocations: 0 / 488.6 MB, free: 6.582 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.008394/0.1596, allocations: 4.557 MB / 493.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1596, allocations: 11.89 kB / 493.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007887/0.1604, allocations: 0.6734 MB / 493.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.1628, allocations: 0.6236 MB / 494.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/0.1663, allocations: 2.177 MB / 496.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.1665, allocations: 279 kB / 496.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/0.1671, allocations: 343.9 kB / 497.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.1829, allocations: 9.243 MB / 0.4946 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.067e-05/0.183, allocations: 19.81 kB / 0.4947 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/0.1834, allocations: 155.9 kB / 0.4948 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002472/0.1859, allocations: 1.558 MB / 0.4963 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.2003, allocations: 7.202 MB / 0.5034 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.226/0.4264, allocations: 27.92 MB / 0.5306 GB, free: 79.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/0.4338, allocations: 2.185 MB / 0.5328 GB, free: 79.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.4355, allocations: 0.9811 MB / 0.5337 GB, free: 79.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008807/0.4443, allocations: 6.699 MB / 0.5403 GB, free: 76.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.4444, allocations: 46.45 kB / 0.5403 GB, free: 75.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 3.747e-06/0.4444, allocations: 0 / 0.5403 GB, free: 75.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01741/0.4618, allocations: 7.448 MB / 0.5476 GB, free: 73.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.4619, allocations: 172.4 kB / 0.5477 GB, free: 73.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.465, allocations: 2.729 MB / 0.5504 GB, free: 72.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.4651, allocations: 41.55 kB / 0.5504 GB, free: 72.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.4665, allocations: 2.535 MB / 0.5529 GB, free: 70.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/0.4669, allocations: 400.7 kB / 0.5533 GB, free: 69.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009125/0.4678, allocations: 0.8138 MB / 0.5541 GB, free: 69.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.4679, allocations: 305.1 kB / 0.5544 GB, free: 69.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.4693, allocations: 1.117 MB / 0.5555 GB, free: 68.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.4714, allocations: 3.475 MB / 0.5589 GB, free: 65.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/0.4753, allocations: 4.943 MB / 0.5637 GB, free: 60.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-05/0.4753, allocations: 22.88 kB / 0.5637 GB, free: 60.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.005525/0.4808, allocations: 4.513 MB / 0.5681 GB, free: 58.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.4809, allocations: 45.55 kB / 0.5682 GB, free: 58.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.717e-05/0.481, allocations: 81.5 kB / 0.5683 GB, free: 58.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.708e-05/0.4811, allocations: 111 kB / 0.5684 GB, free: 58.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.4834, allocations: 0.9423 MB / 0.5693 GB, free: 58.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.831e-05/0.4835, allocations: 166.7 kB / 0.5694 GB, free: 58.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.4859, allocations: 211.5 kB / 0.5696 GB, free: 58.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.4861, allocations: 243.9 kB / 0.5699 GB, free: 57.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (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 (505): * Single equations (assignments): 504 * 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.002071/0.4882, allocations: 1.749 MB / 0.5716 GB, free: 56.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.4886, allocations: 248.2 kB / 0.5718 GB, free: 55.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.4901, allocations: 1.19 MB / 0.573 GB, free: 54.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4901, allocations: 12 kB / 0.573 GB, free: 54.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4901, allocations: 0 / 0.573 GB, free: 54.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.4901, allocations: 6.719 kB / 0.573 GB, free: 54.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007305/0.4974, allocations: 6.398 MB / 0.5792 GB, free: 47.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.4975, allocations: 16 kB / 0.5793 GB, free: 47.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/0.4983, allocations: 247.6 kB / 0.5795 GB, free: 47.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/0.4984, allocations: 27.98 kB / 0.5795 GB, free: 47.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.4984, allocations: 36 kB / 0.5796 GB, free: 47.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.2e-05/0.4984, allocations: 34.05 kB / 0.5796 GB, free: 47.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/0.4985, allocations: 31.77 kB / 0.5796 GB, free: 47.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.5006, allocations: 2.112 MB / 0.5817 GB, free: 45.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.5011, allocations: 337.8 kB / 0.582 GB, free: 44.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.5014, allocations: 43.98 kB / 0.582 GB, free: 44.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/0.5023, allocations: 55.97 kB / 0.5821 GB, free: 44.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5024, allocations: 131.4 kB / 0.5822 GB, free: 44.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.5025, allocations: 59.98 kB / 0.5823 GB, free: 44.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.5046, allocations: 1.797 MB / 0.584 GB, free: 42.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5046, allocations: 0 / 0.584 GB, free: 42.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003435/0.508, allocations: 0.6998 MB / 0.5847 GB, free: 42.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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.002318/0.5104, allocations: 2.747 MB / 0.5874 GB, free: 39.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003815/0.5142, allocations: 2.772 MB / 0.5901 GB, free: 36.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.5142, allocations: 3.938 kB / 0.5901 GB, free: 36.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.515, allocations: 0.6327 MB / 0.5907 GB, free: 35.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.5169, allocations: 355.8 kB / 0.5911 GB, free: 35.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03626/0.5532, allocations: 32.96 MB / 0.6233 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003365/0.5566, allocations: 2.966 MB / 0.6262 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002936/0.5595, allocations: 1.019 MB / 0.6272 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/0.5617, allocations: 1.597 MB / 0.6287 GB, free: 7.922 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5617, allocations: 8 kB / 0.6287 GB, free: 7.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09659/0.6583, allocations: 50.55 MB / 0.6781 GB, free: 5.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.587/10.25, allocations: 4.062 kB / 0.6781 GB, free: 5.336 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRP/JointRRP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches