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.001276/0.001276, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001282/0.001282, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.312/1.312, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.1978/0.1978, allocations: 43.51 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.001442/0.001442, allocations: 66.98 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0775/0.07895, allocations: 57.8 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01279/0.09179, allocations: 14.22 MB / 454.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0091/0.1009, allocations: 4.001 MB / 458.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.1031, allocations: 75.81 kB / 458.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006565/0.1097, allocations: 3.926 MB / 462.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.1121, allocations: 0.9988 MB / 463.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.1142, allocations: 0.8772 MB / 464.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003354/0.1175, allocations: 2.645 MB / 467.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/0.1229, allocations: 5.114 MB / 472.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.1251, allocations: 1.593 MB / 474.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.1278, allocations: 2.096 MB / 476.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008648/0.1287, allocations: 488 kB / 476.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.1308, allocations: 1.139 MB / 477.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.1328, allocations: 1.968 MB / 479.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.1354, allocations: 2.281 MB / 482 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007503/0.1429, allocations: 7.564 MB / 489.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1429, allocations: 0 / 489.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1429, allocations: 0 / 489.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002024/0.1432, allocations: 0 / 489.6 MB, free: 5.609 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.0103/0.1535, allocations: 4.732 MB / 494.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1535, allocations: 15.89 kB / 494.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001023/0.1546, allocations: 0.6775 MB / 495 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.1577, allocations: 0.6589 MB / 495.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00406/0.1618, allocations: 2.289 MB / 498 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.1621, allocations: 270.9 kB / 498.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005844/0.1627, allocations: 359.9 kB / 498.6 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/0.1818, allocations: 10.47 MB / 0.4971 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-05/0.1819, allocations: 15.88 kB / 0.4971 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/0.1823, allocations: 155.9 kB / 0.4973 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002756/0.1851, allocations: 1.636 MB / 0.4989 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/0.2036, allocations: 9.157 MB / 0.5078 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2133/0.4169, allocations: 30.74 MB / 0.5378 GB, free: 71.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.4273, allocations: 3.11 MB / 0.5409 GB, free: 71.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/0.4303, allocations: 1.654 MB / 0.5425 GB, free: 71.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01534/0.4456, allocations: 9.328 MB / 0.5516 GB, free: 67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.4457, allocations: 47.56 kB / 0.5517 GB, free: 66.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 6.222e-06/0.4458, allocations: 2.547 kB / 0.5517 GB, free: 66.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.02444/0.4702, allocations: 8.999 MB / 0.5604 GB, free: 63.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4703, allocations: 121.8 kB / 0.5606 GB, free: 62.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.4733, allocations: 2.883 MB / 0.5634 GB, free: 61.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.4735, allocations: 52.08 kB / 0.5634 GB, free: 61.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009428/0.4744, allocations: 2.503 MB / 0.5659 GB, free: 59.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.4747, allocations: 440.5 kB / 0.5663 GB, free: 58.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008964/0.4756, allocations: 0.8306 MB / 0.5671 GB, free: 58.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.4756, allocations: 308.5 kB / 0.5674 GB, free: 58.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.4773, allocations: 1.487 MB / 0.5688 GB, free: 57.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.4798, allocations: 3.836 MB / 0.5726 GB, free: 52.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/0.4843, allocations: 5.61 MB / 0.5781 GB, free: 45.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.101e-05/0.4844, allocations: 24 kB / 0.5781 GB, free: 45.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.006485/0.4908, allocations: 5.285 MB / 0.5833 GB, free: 40.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.4909, allocations: 40 kB / 0.5833 GB, free: 40.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.198e-05/0.491, allocations: 84 kB / 0.5834 GB, free: 40.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-05/0.4911, allocations: 108 kB / 0.5835 GB, free: 40.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.4939, allocations: 0.9942 MB / 0.5844 GB, free: 39.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-05/0.494, allocations: 167.4 kB / 0.5846 GB, free: 39.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.4966, allocations: 228.3 kB / 0.5848 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/0.4968, allocations: 244 kB / 0.5851 GB, free: 38.64 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.00204/0.4989, allocations: 1.758 MB / 0.5868 GB, free: 36.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.4992, allocations: 243 kB / 0.587 GB, free: 36.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.5017, allocations: 2.057 MB / 0.589 GB, free: 34.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.5018, allocations: 18.47 kB / 0.589 GB, free: 34.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5018, allocations: 7.938 kB / 0.589 GB, free: 34.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.5018, allocations: 3.984 kB / 0.589 GB, free: 34.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007709/0.5095, allocations: 6.657 MB / 0.5955 GB, free: 27.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.5095, allocations: 20 kB / 0.5956 GB, free: 27.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009177/0.5105, allocations: 259.5 kB / 0.5958 GB, free: 27.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.5105, allocations: 20 kB / 0.5958 GB, free: 27.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.5106, allocations: 36 kB / 0.5959 GB, free: 27.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/0.5106, allocations: 27.92 kB / 0.5959 GB, free: 27.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/0.5106, allocations: 23.88 kB / 0.5959 GB, free: 27.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.5126, allocations: 2.192 MB / 0.5981 GB, free: 24.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.5131, allocations: 340.7 kB / 0.5984 GB, free: 24.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.5134, allocations: 43.98 kB / 0.5984 GB, free: 24.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/0.5143, allocations: 63.94 kB / 0.5985 GB, free: 24.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.5144, allocations: 124.2 kB / 0.5986 GB, free: 24.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.5145, allocations: 48 kB / 0.5986 GB, free: 24.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002044/0.5165, allocations: 1.843 MB / 0.6004 GB, free: 22.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5166, allocations: 4 kB / 0.6004 GB, free: 22.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003231/0.5198, allocations: 0.7513 MB / 0.6012 GB, free: 21.64 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.002492/0.5223, allocations: 2.845 MB / 0.604 GB, free: 18.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004654/0.527, allocations: 3.585 MB / 0.6075 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.527, allocations: 4 kB / 0.6075 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.5278, allocations: 0.8046 MB / 0.6083 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.5295, allocations: 336.2 kB / 0.6086 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/0.5695, allocations: 34.53 MB / 0.6423 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003376/0.5729, allocations: 2.949 MB / 0.6452 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002839/0.5758, allocations: 1.029 MB / 0.6462 GB, free: 2.391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/0.5778, allocations: 1.608 MB / 0.6477 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5778, allocations: 0 / 0.6477 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09719/0.675, allocations: 54.09 MB / 0.7006 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.7, allocations: 11.92 kB / 0.7006 GB, free: 10.65 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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