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.001081/0.001081, allocations: 108.3 kB / 17.21 MB, free: 6.289 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.0009608/0.0009608, allocations: 194 kB / 18.12 MB, free: 5.383 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.398/1.398, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2038/0.2038, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 73.17 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1208, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.3295/0.4504, allocations: 50.94 MB / 0.5074 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02365/0.4741, allocations: 10.08 MB / 0.5172 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01394/0.4881, allocations: 215.2 kB / 0.5174 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007451/0.4956, allocations: 3.934 MB / 0.5213 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.4981, allocations: 0.8059 MB / 0.5221 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.5, allocations: 0.6461 MB / 0.5227 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00421/0.5042, allocations: 3.633 MB / 0.5262 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004889/0.5092, allocations: 4.792 MB / 0.5309 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.5108, allocations: 1.266 MB / 0.5322 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.5128, allocations: 1.971 MB / 0.5341 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.5132, allocations: 292.3 kB / 0.5344 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.5148, allocations: 0.9332 MB / 0.5353 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.5159, allocations: 1.611 MB / 0.5368 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.5173, allocations: 1.869 MB / 0.5387 GB, free: 264 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00618/0.5235, allocations: 6.669 MB / 0.5452 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5235, allocations: 0 / 0.5452 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.5236, allocations: 0 / 0.5452 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001393/0.5237, allocations: 0 / 0.5452 GB, free: 11.45 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.00927/0.533, allocations: 4.15 MB / 0.5492 GB, free: 7.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.5331, allocations: 8.031 kB / 0.5492 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009005/0.534, allocations: 0.5883 MB / 0.5498 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.5363, allocations: 0.6165 MB / 0.5504 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/0.5403, allocations: 2.104 MB / 0.5525 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.5404, allocations: 239.2 kB / 0.5527 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/0.5409, allocations: 318.3 kB / 0.553 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.5561, allocations: 8.195 MB / 0.561 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.06e-05/0.5562, allocations: 19.81 kB / 0.561 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003562/0.5566, allocations: 142.8 kB / 0.5612 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.5582, allocations: 1.094 MB / 0.5622 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.5736, allocations: 6.704 MB / 0.5688 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03882/0.6125, allocations: 24.31 MB / 0.5925 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006286/0.6188, allocations: 1.97 MB / 0.5944 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.6202, allocations: 0.8996 MB / 0.5953 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008675/0.6289, allocations: 6.291 MB / 0.6015 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.591e-05/0.629, allocations: 47.16 kB / 0.6015 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 3.967e-06/0.6291, allocations: 0 / 0.6015 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01716/0.6462, allocations: 5.716 MB / 0.6071 GB, free: 10.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.6463, allocations: 115.8 kB / 0.6072 GB, free: 10.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/0.6504, allocations: 2.442 MB / 0.6096 GB, free: 8.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.6505, allocations: 41.7 kB / 0.6096 GB, free: 8.184 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.652, allocations: 2.176 MB / 0.6118 GB, free: 6.004 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.6523, allocations: 390.1 kB / 0.6121 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000864/0.6531, allocations: 0.722 MB / 0.6128 GB, free: 4.895 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6533, allocations: 309 kB / 0.6131 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.6546, allocations: 0.9556 MB / 0.6141 GB, free: 3.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.6578, allocations: 3.044 MB / 0.617 GB, free: 15.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004995/0.6628, allocations: 4.349 MB / 0.6213 GB, free: 10.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.275e-05/0.6629, allocations: 24 kB / 0.6213 GB, free: 10.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.006387/0.6693, allocations: 3.933 MB / 0.6251 GB, free: 6.219 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.6694, allocations: 36 kB / 0.6252 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.6695, allocations: 72 kB / 0.6252 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.6696, allocations: 100 kB / 0.6253 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/0.6719, allocations: 0.7993 MB / 0.6261 GB, free: 5.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.672, allocations: 143.4 kB / 0.6263 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.6741, allocations: 179.8 kB / 0.6264 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.6743, allocations: 204 kB / 0.6266 GB, free: 4.699 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.002234/0.6766, allocations: 1.591 MB / 0.6282 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/0.677, allocations: 213.2 kB / 0.6284 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.6789, allocations: 1.2 MB / 0.6296 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6789, allocations: 12 kB / 0.6296 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6789, allocations: 0 / 0.6296 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.679, allocations: 11.98 kB / 0.6296 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009908/0.6889, allocations: 5.687 MB / 0.6351 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/0.6889, allocations: 19.98 kB / 0.6352 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/0.6898, allocations: 231.8 kB / 0.6354 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-05/0.6898, allocations: 20 kB / 0.6354 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.6899, allocations: 47.94 kB / 0.6354 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.456e-05/0.6899, allocations: 27.92 kB / 0.6355 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.69, allocations: 27.88 kB / 0.6355 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.6924, allocations: 1.915 MB / 0.6374 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008097/0.6933, allocations: 314 kB / 0.6377 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005192/0.6938, allocations: 39.98 kB / 0.6377 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6949, allocations: 43.92 kB / 0.6377 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.6951, allocations: 127.9 kB / 0.6379 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.6952, allocations: 55.94 kB / 0.6379 GB, free: 8.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003258/0.6984, allocations: 1.602 MB / 0.6395 GB, free: 6.969 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6985, allocations: 4 kB / 0.6395 GB, free: 6.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00392/0.7024, allocations: 0.6133 MB / 0.6401 GB, free: 6.352 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.00343/0.7058, allocations: 2.562 MB / 0.6426 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003785/0.7096, allocations: 2.243 MB / 0.6448 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.7097, allocations: 4.25 kB / 0.6448 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007676/0.7105, allocations: 0.5594 MB / 0.6453 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.7133, allocations: 367.2 kB / 0.6457 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05574/0.7691, allocations: 30.3 MB / 0.6753 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004031/0.7731, allocations: 2.678 MB / 0.6779 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002641/0.7758, allocations: 0.9029 MB / 0.6788 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/0.7778, allocations: 1.362 MB / 0.6801 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.7778, allocations: 0 / 0.6801 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6009/1.379, allocations: 45.47 MB / 0.7245 GB, free: 199.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/1.379, allocations: 188.9 kB / 0.7247 GB, free: 199.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.302/4.681, allocations: 7.844 kB / 0.7247 GB, free: 199.6 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