Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_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.001172/0.001172, allocations: 101.9 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.001023/0.001023, 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.323/1.323, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1988/0.1988, allocations: 43.52 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.001686/0.001686, allocations: 72.36 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08837, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01364/0.1021, allocations: 14.25 MB / 454.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00844/0.1106, allocations: 3.863 MB / 458.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.1127, allocations: 71.88 kB / 458.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006463/0.1191, allocations: 3.941 MB / 462.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.1216, allocations: 1.014 MB / 463.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1232, allocations: 0.7175 MB / 464.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002884/0.1261, allocations: 2.536 MB / 467 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004975/0.1311, allocations: 5.051 MB / 472.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.1334, allocations: 1.578 MB / 473.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003012/0.1364, allocations: 2.045 MB / 475.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009355/0.1373, allocations: 468 kB / 476.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.1392, allocations: 1.003 MB / 477.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.1409, allocations: 1.914 MB / 479.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002559/0.1434, allocations: 2.25 MB / 481.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006185/0.1496, allocations: 7.298 MB / 488.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1497, allocations: 0 / 488.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1497, allocations: 0 / 488.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.1498, allocations: 0 / 488.6 MB, free: 6.586 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: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.008319/0.1581, allocations: 4.549 MB / 493.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.1582, allocations: 15.89 kB / 493.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009489/0.1592, allocations: 0.6773 MB / 493.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.1616, allocations: 0.6236 MB / 494.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.1653, allocations: 2.177 MB / 496.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.1655, allocations: 267.1 kB / 496.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006342/0.1662, allocations: 355.8 kB / 497.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.1843, allocations: 9.246 MB / 0.4946 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.114e-05/0.1844, allocations: 15.81 kB / 0.4947 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004596/0.1849, allocations: 163.9 kB / 0.4948 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002533/0.1874, allocations: 1.554 MB / 0.4963 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.2022, allocations: 7.202 MB / 0.5034 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2074/0.4096, allocations: 27.92 MB / 0.5306 GB, free: 79.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/0.4163, allocations: 2.174 MB / 0.5328 GB, free: 79.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.4179, allocations: 0.9822 MB / 0.5337 GB, free: 79.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008008/0.4259, allocations: 6.709 MB / 0.5403 GB, free: 76.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.4259, allocations: 43.69 kB / 0.5403 GB, free: 76.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.484e-06/0.4259, allocations: 0 / 0.5403 GB, free: 76.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01688/0.4428, allocations: 7.448 MB / 0.5476 GB, free: 73.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4429, allocations: 169.8 kB / 0.5477 GB, free: 73.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.4458, allocations: 2.727 MB / 0.5504 GB, free: 72.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.4459, allocations: 47.45 kB / 0.5504 GB, free: 72.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.447, allocations: 2.532 MB / 0.5529 GB, free: 70.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.4472, allocations: 401.1 kB / 0.5533 GB, free: 70.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008295/0.4481, allocations: 0.8083 MB / 0.5541 GB, free: 69.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.4481, allocations: 305.1 kB / 0.5544 GB, free: 69.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4495, allocations: 1.121 MB / 0.5555 GB, free: 69.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.4516, allocations: 3.476 MB / 0.5589 GB, free: 65.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.4552, allocations: 4.939 MB / 0.5637 GB, free: 61.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.129e-05/0.4553, allocations: 29.22 kB / 0.5637 GB, free: 61.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.005513/0.4608, allocations: 4.514 MB / 0.5681 GB, free: 58.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.4609, allocations: 39.84 kB / 0.5682 GB, free: 58.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.802e-05/0.4609, allocations: 91.88 kB / 0.5683 GB, free: 58.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.511e-05/0.461, allocations: 110.5 kB / 0.5684 GB, free: 58.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/0.4634, allocations: 0.9411 MB / 0.5693 GB, free: 58.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.56e-05/0.4635, allocations: 163.4 kB / 0.5694 GB, free: 58.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.4656, allocations: 211.5 kB / 0.5696 GB, free: 58.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.4658, allocations: 243.9 kB / 0.5699 GB, free: 57.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (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 (505): * Single equations (assignments): 504 * 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.001811/0.4676, allocations: 1.758 MB / 0.5716 GB, free: 56.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.4679, allocations: 236.9 kB / 0.5718 GB, free: 55.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.4693, allocations: 1.186 MB / 0.573 GB, free: 54.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4693, allocations: 12 kB / 0.573 GB, free: 54.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4694, allocations: 0 / 0.573 GB, free: 54.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.4694, allocations: 11.92 kB / 0.573 GB, free: 54.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006441/0.4758, allocations: 6.401 MB / 0.5792 GB, free: 48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.4759, allocations: 16 kB / 0.5793 GB, free: 47.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.4766, allocations: 239.6 kB / 0.5795 GB, free: 47.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.4767, allocations: 27.94 kB / 0.5795 GB, free: 47.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/0.4767, allocations: 43.98 kB / 0.5796 GB, free: 47.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-05/0.4768, allocations: 34.05 kB / 0.5796 GB, free: 47.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.4768, allocations: 27.88 kB / 0.5796 GB, free: 47.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.4785, allocations: 2.11 MB / 0.5817 GB, free: 45.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.4789, allocations: 329.8 kB / 0.582 GB, free: 44.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.4792, allocations: 54.36 kB / 0.582 GB, free: 44.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.4801, allocations: 51.95 kB / 0.5821 GB, free: 44.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4802, allocations: 139.4 kB / 0.5822 GB, free: 44.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.4803, allocations: 56 kB / 0.5823 GB, free: 44.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.482, allocations: 1.797 MB / 0.584 GB, free: 42.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.482, allocations: 0 / 0.584 GB, free: 42.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002826/0.4848, allocations: 0.6998 MB / 0.5847 GB, free: 42.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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.002215/0.487, allocations: 2.747 MB / 0.5874 GB, free: 39.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003604/0.4906, allocations: 2.764 MB / 0.5901 GB, free: 36.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.4907, allocations: 4.312 kB / 0.5901 GB, free: 36.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007622/0.4914, allocations: 0.6393 MB / 0.5907 GB, free: 35.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.4932, allocations: 341.8 kB / 0.5911 GB, free: 35.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03054/0.5238, allocations: 32.98 MB / 0.6233 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002961/0.5268, allocations: 2.952 MB / 0.6261 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002593/0.5294, allocations: 1.024 MB / 0.6271 GB, free: 9.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/0.5312, allocations: 1.604 MB / 0.6287 GB, free: 7.934 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5312, allocations: 0 / 0.6287 GB, free: 7.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/0.6633, allocations: 50.56 MB / 0.6781 GB, free: 5.344 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.909/10.57, allocations: 7.938 kB / 0.6781 GB, free: 5.336 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRP/JointRRP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches