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.0008154/0.0008151, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0009635/0.0009635, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.324/1.324, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2068/0.2068, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09116, allocations: 61.91 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2489/0.3401, allocations: 49.6 MB / 0.5097 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02121/0.3613, allocations: 10.05 MB / 0.5195 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01081/0.3722, allocations: 210.8 kB / 0.5197 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3736, allocations: 313 kB / 0.52 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.3762, allocations: 0.8084 MB / 0.5208 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.378, allocations: 0.6443 MB / 0.5215 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004555/0.3826, allocations: 3.636 MB / 0.525 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009168/0.3918, allocations: 7.189 MB / 0.532 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.3935, allocations: 0.8796 MB / 0.5329 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.3957, allocations: 1.475 MB / 0.5343 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.3963, allocations: 128.9 kB / 0.5344 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.3979, allocations: 0.7722 MB / 0.5352 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.3992, allocations: 1.371 MB / 0.5365 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.4011, allocations: 1.598 MB / 0.5381 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005837/0.4069, allocations: 6.412 MB / 0.5444 GB, free: 13.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.407, allocations: 0 / 0.5444 GB, free: 13.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.407, allocations: 2.625 kB / 0.5444 GB, free: 13.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002368/0.4072, allocations: 0 / 0.5444 GB, free: 13.4 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.008299/0.4155, allocations: 3.403 MB / 0.5477 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4156, allocations: 10.38 kB / 0.5477 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00202/0.4176, allocations: 0.5803 MB / 0.5483 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/0.4219, allocations: 0.6243 MB / 0.5489 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/0.4266, allocations: 2.114 MB / 0.5509 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.4268, allocations: 241.1 kB / 0.5512 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.4279, allocations: 313.6 kB / 0.5515 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.4448, allocations: 8.215 MB / 0.5595 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/0.445, allocations: 11.88 kB / 0.5595 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007271/0.4458, allocations: 139.9 kB / 0.5596 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001553/0.4473, allocations: 1.1 MB / 0.5607 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.4619, allocations: 6.717 MB / 0.5673 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03516/0.4971, allocations: 24.33 MB / 0.591 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006231/0.5034, allocations: 1.977 MB / 0.593 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.5049, allocations: 0.9018 MB / 0.5938 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008067/0.513, allocations: 6.285 MB / 0.6 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.513, allocations: 39.22 kB / 0.6 GB, free: 4.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 5.1e-06/0.513, allocations: 0 / 0.6 GB, free: 4.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.01562/0.5287, allocations: 5.732 MB / 0.6056 GB, free: 14.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.5287, allocations: 111.8 kB / 0.6057 GB, free: 14.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/0.5324, allocations: 2.442 MB / 0.6081 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.969e-05/0.5325, allocations: 45.64 kB / 0.6082 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.5339, allocations: 2.175 MB / 0.6103 GB, free: 9.805 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.5342, allocations: 395.5 kB / 0.6107 GB, free: 9.422 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/0.5347, allocations: 333.2 kB / 0.611 GB, free: 9.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.5348, allocations: 305.1 kB / 0.6113 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.5362, allocations: 0.9634 MB / 0.6122 GB, free: 7.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00257/0.5388, allocations: 3.041 MB / 0.6152 GB, free: 3.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004352/0.5432, allocations: 4.351 MB / 0.6194 GB, free: 14.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.304e-05/0.5432, allocations: 20 kB / 0.6194 GB, free: 14.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.005981/0.5492, allocations: 3.934 MB / 0.6233 GB, free: 10.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.5493, allocations: 36 kB / 0.6233 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-05/0.5494, allocations: 76 kB / 0.6234 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.956e-05/0.5495, allocations: 96 kB / 0.6235 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.5518, allocations: 0.7993 MB / 0.6243 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000125/0.5519, allocations: 147.4 kB / 0.6244 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.5541, allocations: 172 kB / 0.6246 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.5544, allocations: 204.8 kB / 0.6248 GB, free: 8.898 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.002599/0.557, allocations: 1.591 MB / 0.6263 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.5575, allocations: 213.2 kB / 0.6265 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.5596, allocations: 1.204 MB / 0.6277 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.5597, allocations: 11.98 kB / 0.6277 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5597, allocations: 4 kB / 0.6277 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.5597, allocations: 7.984 kB / 0.6277 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009436/0.5691, allocations: 5.7 MB / 0.6333 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-05/0.5692, allocations: 20.25 kB / 0.6333 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.57, allocations: 219.6 kB / 0.6335 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-05/0.57, allocations: 27.94 kB / 0.6335 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.5701, allocations: 40 kB / 0.6336 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-05/0.5701, allocations: 27.92 kB / 0.6336 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/0.5701, allocations: 27.88 kB / 0.6336 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.5723, allocations: 1.915 MB / 0.6355 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.5729, allocations: 318.1 kB / 0.6358 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/0.5733, allocations: 39.98 kB / 0.6358 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000945/0.5743, allocations: 40 kB / 0.6359 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5744, allocations: 131.8 kB / 0.636 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.5745, allocations: 52 kB / 0.6361 GB, free: 12.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002619/0.5771, allocations: 1.61 MB / 0.6376 GB, free: 11.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5771, allocations: 0 / 0.6376 GB, free: 11.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002859/0.58, allocations: 0.6133 MB / 0.6382 GB, free: 10.54 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.002515/0.5825, allocations: 2.555 MB / 0.6407 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003437/0.586, allocations: 2.251 MB / 0.6429 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.586, allocations: 4 kB / 0.6429 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.5867, allocations: 0.5592 MB / 0.6435 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007039/0.5938, allocations: 361.3 kB / 0.6438 GB, free: 4.594 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0499/0.6437, allocations: 30.32 MB / 0.6734 GB, free: 2.078 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/0.6471, allocations: 2.682 MB / 0.676 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00236/0.6495, allocations: 0.9029 MB / 0.6769 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/0.6511, allocations: 1.362 MB / 0.6783 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.6511, allocations: 0 / 0.6783 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2695/0.9207, allocations: 44.98 MB / 0.7222 GB, free: 206.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.9209, allocations: 196.9 kB / 0.7224 GB, free: 206.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.592, allocations: 0 / 0.7224 GB, free: 206.2 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