Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_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.001497/0.001497, allocations: 103.1 kB / 16.27 MB, free: 5.988 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.001488/0.001489, allocations: 193.9 kB / 17.2 MB, free: 5.605 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.46/1.46, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.2114/0.2114, allocations: 43.52 MB / 313.9 MB, free: 0.5469 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.001663/0.001663, allocations: 68.94 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1098, allocations: 57.78 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01283/0.1227, allocations: 14.23 MB / 454.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009652/0.1324, allocations: 4.008 MB / 458.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.1354, allocations: 67.94 kB / 458.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007779/0.1432, allocations: 3.922 MB / 462.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.1473, allocations: 1.007 MB / 463.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.1498, allocations: 0.8811 MB / 464.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004287/0.1541, allocations: 2.634 MB / 467.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005786/0.1599, allocations: 5.125 MB / 472.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.1625, allocations: 1.586 MB / 474.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.1658, allocations: 2.096 MB / 476.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.167, allocations: 492 kB / 476.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.1696, allocations: 1.151 MB / 477.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002561/0.1722, allocations: 1.956 MB / 479.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003998/0.1762, allocations: 2.281 MB / 482 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008836/0.185, allocations: 7.567 MB / 489.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1851, allocations: 0 / 489.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1851, allocations: 0 / 489.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002015/0.1853, allocations: 0 / 489.6 MB, free: 5.613 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.0114/0.1967, allocations: 4.729 MB / 494.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1968, allocations: 11.89 kB / 494.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001508/0.1983, allocations: 0.6852 MB / 495 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.2017, allocations: 0.6586 MB / 495.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.206, allocations: 2.293 MB / 498 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.2062, allocations: 274.9 kB / 498.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008322/0.2071, allocations: 351.8 kB / 498.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.2294, allocations: 10.47 MB / 0.4971 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.2296, allocations: 15.81 kB / 0.4971 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.2309, allocations: 159.9 kB / 0.4973 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003594/0.2345, allocations: 1.64 MB / 0.4989 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/0.2588, allocations: 9.149 MB / 0.5078 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2413/0.5002, allocations: 30.74 MB / 0.5379 GB, free: 71.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009664/0.5099, allocations: 3.106 MB / 0.5409 GB, free: 71.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/0.5128, allocations: 1.654 MB / 0.5425 GB, free: 71.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/0.5273, allocations: 9.325 MB / 0.5516 GB, free: 67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.5274, allocations: 54.78 kB / 0.5517 GB, free: 66.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.935e-06/0.5274, allocations: 0 / 0.5517 GB, free: 66.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.02429/0.5517, allocations: 9.001 MB / 0.5605 GB, free: 63.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.5518, allocations: 119 kB / 0.5606 GB, free: 62.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003619/0.5554, allocations: 2.89 MB / 0.5634 GB, free: 61.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.5556, allocations: 44.64 kB / 0.5634 GB, free: 61.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.5566, allocations: 2.509 MB / 0.5659 GB, free: 59.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.557, allocations: 436.5 kB / 0.5663 GB, free: 58.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.5581, allocations: 0.8305 MB / 0.5671 GB, free: 58.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.5582, allocations: 312.2 kB / 0.5674 GB, free: 58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.56, allocations: 1.483 MB / 0.5689 GB, free: 57.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.5626, allocations: 3.833 MB / 0.5726 GB, free: 52.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004608/0.5672, allocations: 5.611 MB / 0.5781 GB, free: 45.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-05/0.5673, allocations: 24 kB / 0.5781 GB, free: 45.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.006828/0.5741, allocations: 5.281 MB / 0.5833 GB, free: 40.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.5742, allocations: 40 kB / 0.5833 GB, free: 40.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.997e-05/0.5743, allocations: 80 kB / 0.5834 GB, free: 40.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.473e-05/0.5744, allocations: 112 kB / 0.5835 GB, free: 40.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.5773, allocations: 0.9981 MB / 0.5845 GB, free: 39.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.982e-05/0.5774, allocations: 163.4 kB / 0.5846 GB, free: 39.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.5802, allocations: 235.8 kB / 0.5848 GB, free: 38.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.5805, allocations: 234.2 kB / 0.5851 GB, free: 38.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (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 (524): * Single equations (assignments): 523 * 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.002749/0.5832, allocations: 1.761 MB / 0.5868 GB, free: 36.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005573/0.5838, allocations: 240.9 kB / 0.587 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.5867, allocations: 2.065 MB / 0.589 GB, free: 34.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.5867, allocations: 15.88 kB / 0.589 GB, free: 34.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5867, allocations: 8 kB / 0.589 GB, free: 34.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5867, allocations: 3.984 kB / 0.589 GB, free: 34.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.5983, allocations: 6.653 MB / 0.5955 GB, free: 27.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/0.5984, allocations: 23.97 kB / 0.5956 GB, free: 27.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009878/0.5994, allocations: 251.6 kB / 0.5958 GB, free: 27.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-05/0.5994, allocations: 20 kB / 0.5958 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-05/0.5995, allocations: 41.55 kB / 0.5959 GB, free: 27.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.029e-05/0.5995, allocations: 31.86 kB / 0.5959 GB, free: 27.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.5995, allocations: 15.94 kB / 0.5959 GB, free: 27.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.6019, allocations: 2.203 MB / 0.5981 GB, free: 24.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007885/0.6027, allocations: 333.7 kB / 0.5984 GB, free: 24.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005831/0.6033, allocations: 43.98 kB / 0.5984 GB, free: 24.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.6046, allocations: 59.94 kB / 0.5985 GB, free: 24.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.6048, allocations: 128.2 kB / 0.5986 GB, free: 24.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.6048, allocations: 48 kB / 0.5987 GB, free: 24.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002745/0.6076, allocations: 1.843 MB / 0.6005 GB, free: 22.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6076, allocations: 0 / 0.6005 GB, free: 22.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003336/0.611, allocations: 0.7551 MB / 0.6012 GB, free: 21.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.002433/0.6134, allocations: 2.843 MB / 0.604 GB, free: 18.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004581/0.618, allocations: 3.581 MB / 0.6075 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.618, allocations: 4 kB / 0.6075 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.6188, allocations: 0.8084 MB / 0.6083 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.6206, allocations: 331.5 kB / 0.6086 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04753/0.6681, allocations: 34.53 MB / 0.6423 GB, free: 6.406 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004163/0.6723, allocations: 2.946 MB / 0.6452 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002958/0.6753, allocations: 1.027 MB / 0.6462 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002344/0.6777, allocations: 1.608 MB / 0.6477 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6777, allocations: 0 / 0.6477 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09005/0.7678, allocations: 54.1 MB / 0.7006 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.42/10.19, allocations: 8.047 kB / 0.7006 GB, free: 10.68 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches