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.001608/0.001608, allocations: 103.1 kB / 17.32 MB, free: 5.984 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.00188/0.00188, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.508/1.508, allocations: 222.9 MB / 241.9 MB, free: 13.72 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.2143/0.2143, allocations: 44.17 MB / 336.2 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.19 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.3477/0.4904, allocations: 50.93 MB / 0.5076 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02585/0.5163, allocations: 10.03 MB / 0.5174 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01315/0.5295, allocations: 211 kB / 0.5176 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007613/0.5371, allocations: 3.786 MB / 0.5213 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.5409, allocations: 0.7958 MB / 0.522 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.5433, allocations: 0.6592 MB / 0.5227 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004348/0.5477, allocations: 2.22 MB / 0.5249 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006516/0.5542, allocations: 5.177 MB / 0.5299 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.5574, allocations: 1.485 MB / 0.5314 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.5609, allocations: 2.066 MB / 0.5334 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009536/0.5619, allocations: 447.8 kB / 0.5338 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.5641, allocations: 1.034 MB / 0.5348 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.5656, allocations: 1.762 MB / 0.5365 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.5675, allocations: 2.04 MB / 0.5385 GB, free: 228 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.5746, allocations: 6.799 MB / 0.5452 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5746, allocations: 0 / 0.5452 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5746, allocations: 0 / 0.5452 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002428/0.5749, allocations: 0 / 0.5452 GB, free: 11.37 MB / 398.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.009467/0.5843, allocations: 4.146 MB / 0.5492 GB, free: 7.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.5844, allocations: 12.03 kB / 0.5492 GB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008426/0.5853, allocations: 0.582 MB / 0.5498 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.5875, allocations: 0.6204 MB / 0.5504 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.5911, allocations: 2.104 MB / 0.5525 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.5913, allocations: 239.8 kB / 0.5527 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005145/0.5918, allocations: 321.3 kB / 0.553 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0168/0.6086, allocations: 8.186 MB / 0.561 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.962e-05/0.6087, allocations: 19.86 kB / 0.561 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/0.6091, allocations: 140.2 kB / 0.5611 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001497/0.6106, allocations: 1.098 MB / 0.5622 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.6256, allocations: 6.703 MB / 0.5688 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/0.6611, allocations: 24.3 MB / 0.5925 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005889/0.6671, allocations: 1.991 MB / 0.5944 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.6683, allocations: 0.8919 MB / 0.5953 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008024/0.6764, allocations: 6.282 MB / 0.6014 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.6764, allocations: 51.2 kB / 0.6015 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 3.466e-06/0.6765, allocations: 8 kB / 0.6015 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01812/0.6946, allocations: 5.711 MB / 0.6071 GB, free: 11.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.6947, allocations: 119.8 kB / 0.6072 GB, free: 10.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/0.6989, allocations: 2.442 MB / 0.6096 GB, free: 8.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.699, allocations: 45.64 kB / 0.6096 GB, free: 8.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.7005, allocations: 2.172 MB / 0.6117 GB, free: 6.254 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.7009, allocations: 395.5 kB / 0.6121 GB, free: 5.871 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009032/0.7018, allocations: 0.7181 MB / 0.6128 GB, free: 5.145 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7019, allocations: 309.1 kB / 0.6131 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.7033, allocations: 0.9634 MB / 0.6141 GB, free: 3.875 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.706, allocations: 3.033 MB / 0.617 GB, free: 15.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004801/0.7108, allocations: 4.352 MB / 0.6213 GB, free: 10.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/0.7108, allocations: 24 kB / 0.6213 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.005852/0.7167, allocations: 3.934 MB / 0.6251 GB, free: 6.465 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.7168, allocations: 36.19 kB / 0.6252 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.481e-05/0.7169, allocations: 76 kB / 0.6252 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.84e-05/0.7169, allocations: 100 kB / 0.6253 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.7191, allocations: 0.7954 MB / 0.6261 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/0.7193, allocations: 147.4 kB / 0.6262 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.7212, allocations: 171.6 kB / 0.6264 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.7215, allocations: 204 kB / 0.6266 GB, free: 4.949 MB / 478.1 MB 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.002417/0.7239, allocations: 1.591 MB / 0.6282 GB, free: 3.348 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/0.7244, allocations: 213.2 kB / 0.6284 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.7265, allocations: 1.204 MB / 0.6295 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.7265, allocations: 15.98 kB / 0.6296 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.7265, allocations: 0 / 0.6296 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.7265, allocations: 3.984 kB / 0.6296 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008243/0.7348, allocations: 5.7 MB / 0.6351 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.7348, allocations: 16 kB / 0.6351 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.7355, allocations: 219.6 kB / 0.6353 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/0.7356, allocations: 28.66 kB / 0.6354 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.7356, allocations: 40 kB / 0.6354 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.639e-05/0.7357, allocations: 43.86 kB / 0.6355 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.677e-05/0.7357, allocations: 23.88 kB / 0.6355 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.7377, allocations: 1.919 MB / 0.6374 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/0.7382, allocations: 306 kB / 0.6376 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.7385, allocations: 43.98 kB / 0.6377 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.7392, allocations: 39.98 kB / 0.6377 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.7393, allocations: 124 kB / 0.6378 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.7394, allocations: 55.94 kB / 0.6379 GB, free: 8.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002102/0.7415, allocations: 1.606 MB / 0.6395 GB, free: 7.215 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7415, allocations: 0 / 0.6395 GB, free: 7.215 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002802/0.7443, allocations: 0.6094 MB / 0.6401 GB, free: 6.605 MB / 494.1 MB 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.002456/0.7468, allocations: 2.566 MB / 0.6426 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003774/0.7506, allocations: 2.438 MB / 0.6449 GB, free: 1.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.7506, allocations: 4 kB / 0.6449 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006941/0.7513, allocations: 0.5607 MB / 0.6455 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.7533, allocations: 373.8 kB / 0.6459 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0522/0.8055, allocations: 30.29 MB / 0.6754 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004057/0.8096, allocations: 2.678 MB / 0.6781 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002316/0.812, allocations: 0.903 MB / 0.6789 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/0.8136, allocations: 1.366 MB / 0.6803 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.8136, allocations: 0 / 0.6803 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3018/1.115, allocations: 46.2 MB / 0.7254 GB, free: 206.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/1.116, allocations: 193 kB / 0.7256 GB, free: 206.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/4.215, allocations: 0 / 0.7256 GB, free: 206.4 MB / 0.545 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