Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_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.001108/0.001108, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001225/0.001225, allocations: 187 kB / 18.71 MB, free: 4.344 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.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2161/0.2161, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.377, allocations: 60.83 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01445/0.3914, allocations: 12.5 MB / 0.5306 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009148/0.4006, allocations: 3.664 MB / 0.5342 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.4032, allocations: 69.19 kB / 0.5343 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007479/0.4107, allocations: 3.895 MB / 0.5381 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.4138, allocations: 0.8648 MB / 0.5389 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.4159, allocations: 0.7091 MB / 0.5396 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.4196, allocations: 2.208 MB / 0.5418 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007068/0.4267, allocations: 4.918 MB / 0.5466 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.4305, allocations: 1.469 MB / 0.548 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003751/0.4343, allocations: 1.913 MB / 0.5499 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.4355, allocations: 448 kB / 0.5503 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.4379, allocations: 1.022 MB / 0.5513 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002137/0.44, allocations: 1.758 MB / 0.553 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.4428, allocations: 2.033 MB / 0.555 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007765/0.4506, allocations: 6.889 MB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4507, allocations: 0 / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.502e-06/0.4507, allocations: 3.984 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000219/0.4509, allocations: 0 / 0.5617 GB, free: 15.65 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.01041/0.4613, allocations: 4.151 MB / 0.5658 GB, free: 11.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000118/0.4615, allocations: 12.03 kB / 0.5658 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001215/0.4627, allocations: 0.586 MB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.4653, allocations: 0.6243 MB / 0.567 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.4702, allocations: 2.141 MB / 0.5691 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.4705, allocations: 242.4 kB / 0.5693 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000888/0.4714, allocations: 311.9 kB / 0.5696 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01738/0.4888, allocations: 8.187 MB / 0.5776 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.715e-05/0.4889, allocations: 19.81 kB / 0.5776 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007167/0.4896, allocations: 143.9 kB / 0.5778 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001599/0.4913, allocations: 1.099 MB / 0.5788 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.5061, allocations: 6.697 MB / 0.5854 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03927/0.5454, allocations: 24.18 MB / 0.609 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006086/0.5516, allocations: 1.998 MB / 0.6109 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.5529, allocations: 0.8997 MB / 0.6118 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008991/0.5619, allocations: 6.269 MB / 0.6179 GB, free: 4.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.562, allocations: 55.14 kB / 0.618 GB, free: 4.461 MB / 478.1 MB Notification: Performance of pre-optimization done (n=80): time 3.146e-06/0.562, allocations: 0 / 0.618 GB, free: 4.461 MB / 478.1 MB Notification: Performance of matching and sorting (n=99): time 0.02429/0.5863, allocations: 5.718 MB / 0.6236 GB, free: 14.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5865, allocations: 119.7 kB / 0.6237 GB, free: 14.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006003/0.5925, allocations: 2.442 MB / 0.6261 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.5927, allocations: 41.7 kB / 0.6261 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.5954, allocations: 2.175 MB / 0.6282 GB, free: 9.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007035/0.5961, allocations: 391 kB / 0.6286 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00195/0.5981, allocations: 0.7221 MB / 0.6293 GB, free: 8.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5983, allocations: 309.1 kB / 0.6296 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.6008, allocations: 0.9595 MB / 0.6305 GB, free: 7.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004667/0.6055, allocations: 3.041 MB / 0.6335 GB, free: 3.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007474/0.613, allocations: 4.35 MB / 0.6378 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.774e-05/0.6131, allocations: 28 kB / 0.6378 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01022/0.6233, allocations: 3.933 MB / 0.6416 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.6235, allocations: 36 kB / 0.6417 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.6236, allocations: 75.94 kB / 0.6417 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.6238, allocations: 100 kB / 0.6418 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/0.6275, allocations: 0.7954 MB / 0.6426 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001938/0.6277, allocations: 147.4 kB / 0.6427 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/0.631, allocations: 175.7 kB / 0.6429 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/0.6315, allocations: 208 kB / 0.6431 GB, free: 8.516 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (449): * Single equations (assignments): 448 * 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.003619/0.6351, allocations: 1.587 MB / 0.6447 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/0.6357, allocations: 209.3 kB / 0.6449 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.6387, allocations: 1.204 MB / 0.646 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.6388, allocations: 15.98 kB / 0.646 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.6388, allocations: 0 / 0.646 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.6388, allocations: 7.922 kB / 0.6461 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.6506, allocations: 5.688 MB / 0.6516 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.6506, allocations: 23.94 kB / 0.6516 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.6514, allocations: 215.7 kB / 0.6518 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.024e-05/0.6515, allocations: 24.72 kB / 0.6519 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.6516, allocations: 40 kB / 0.6519 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.634e-05/0.6516, allocations: 35.86 kB / 0.6519 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.85e-05/0.6516, allocations: 27.88 kB / 0.652 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.6539, allocations: 1.927 MB / 0.6538 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/0.6546, allocations: 306.1 kB / 0.6541 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.655, allocations: 39.98 kB / 0.6542 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009762/0.6559, allocations: 43.98 kB / 0.6542 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.6561, allocations: 135.9 kB / 0.6543 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.6e-05/0.6562, allocations: 48 kB / 0.6544 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002872/0.6591, allocations: 1.602 MB / 0.656 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6591, allocations: 3.938 kB / 0.656 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003317/0.6624, allocations: 0.6133 MB / 0.6566 GB, free: 10.15 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * 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.003241/0.6657, allocations: 2.564 MB / 0.6591 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00442/0.6701, allocations: 2.282 MB / 0.6613 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-05/0.6702, allocations: 0 / 0.6613 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008633/0.671, allocations: 0.5607 MB / 0.6618 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.6741, allocations: 365.6 kB / 0.6622 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04551/0.7196, allocations: 26.12 MB / 0.6877 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003961/0.7236, allocations: 2.678 MB / 0.6903 GB, free: 4.367 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002404/0.7261, allocations: 0.9107 MB / 0.6912 GB, free: 3.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/0.7281, allocations: 1.362 MB / 0.6925 GB, free: 2.086 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.7281, allocations: 0 / 0.6925 GB, free: 2.086 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3357/1.064, allocations: 47.74 MB / 0.7391 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.7, allocations: 3.531 kB / 0.7392 GB, free: 185.8 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointRRP/JointRRP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches