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.001562/0.001562, allocations: 110.5 kB / 16.41 MB, free: 6.461 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.001554/0.001554, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2218/0.2218, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001721/0.001722, allocations: 69.47 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1136, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01604/0.1297, allocations: 14.26 MB / 0.5013 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009444/0.1392, allocations: 3.86 MB / 0.5051 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002998/0.1422, allocations: 75.88 kB / 0.5052 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007742/0.15, allocations: 3.945 MB / 0.509 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.1534, allocations: 1.014 MB / 0.51 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.1556, allocations: 0.7096 MB / 0.5107 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004092/0.1597, allocations: 2.536 MB / 0.5132 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006134/0.1659, allocations: 5.051 MB / 0.5181 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.1687, allocations: 1.582 MB / 0.5197 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.1721, allocations: 2.037 MB / 0.5217 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.1734, allocations: 468 kB / 0.5221 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.176, allocations: 0.999 MB / 0.5231 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.1785, allocations: 1.925 MB / 0.525 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.1816, allocations: 2.242 MB / 0.5271 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2529/0.4345, allocations: 7.47 MB / 0.5344 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4346, allocations: 1.109 kB / 0.5344 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4346, allocations: 0 / 0.5344 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003236/0.435, allocations: 2 kB / 0.5344 GB, free: 14.89 MB / 414.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.01996/0.4549, allocations: 4.554 MB / 0.5389 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.455, allocations: 12.92 kB / 0.5389 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003157/0.4582, allocations: 0.6754 MB / 0.5396 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/0.463, allocations: 0.6255 MB / 0.5402 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007361/0.4704, allocations: 2.218 MB / 0.5423 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/0.4708, allocations: 265 kB / 0.5426 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/0.4728, allocations: 362.7 kB / 0.5429 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.4966, allocations: 9.249 MB / 0.552 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001961/0.4968, allocations: 16.47 kB / 0.552 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/0.4982, allocations: 155.9 kB / 0.5521 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00284/0.5011, allocations: 1.55 MB / 0.5536 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/0.5186, allocations: 7.221 MB / 0.5607 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04719/0.5659, allocations: 27.76 MB / 0.5878 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007222/0.5731, allocations: 2.191 MB / 0.5899 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.5752, allocations: 0.9854 MB / 0.5909 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/0.5873, allocations: 6.697 MB / 0.5974 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.5874, allocations: 50.34 kB / 0.5975 GB, free: 5.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 3.837e-06/0.5875, allocations: 0 / 0.5975 GB, free: 5.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.02237/0.6098, allocations: 7.46 MB / 0.6048 GB, free: 14.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.61, allocations: 166.5 kB / 0.6049 GB, free: 13.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005168/0.6152, allocations: 2.726 MB / 0.6076 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.6154, allocations: 41.7 kB / 0.6076 GB, free: 11.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002033/0.6175, allocations: 2.535 MB / 0.6101 GB, free: 8.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/0.618, allocations: 397.3 kB / 0.6105 GB, free: 8.293 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/0.6199, allocations: 0.8091 MB / 0.6113 GB, free: 7.477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.62, allocations: 308.7 kB / 0.6116 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.6222, allocations: 1.128 MB / 0.6127 GB, free: 6.047 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/0.6264, allocations: 3.468 MB / 0.6161 GB, free: 1.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006707/0.6332, allocations: 4.945 MB / 0.6209 GB, free: 11.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-05/0.6333, allocations: 24 kB / 0.6209 GB, free: 11.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009849/0.6432, allocations: 4.507 MB / 0.6253 GB, free: 7.652 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.6434, allocations: 43.62 kB / 0.6254 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/0.6435, allocations: 84.56 kB / 0.6254 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.6437, allocations: 112 kB / 0.6256 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/0.6471, allocations: 0.944 MB / 0.6265 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001902/0.6473, allocations: 162.1 kB / 0.6266 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.6506, allocations: 221.5 kB / 0.6268 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000726/0.6514, allocations: 236 kB / 0.6271 GB, free: 5.992 MB / 478.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.003753/0.6552, allocations: 1.765 MB / 0.6288 GB, free: 4.301 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006852/0.6559, allocations: 229 kB / 0.629 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.6584, allocations: 1.192 MB / 0.6302 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.6584, allocations: 12 kB / 0.6302 GB, free: 2.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6584, allocations: 0 / 0.6302 GB, free: 2.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.6585, allocations: 15.2 kB / 0.6302 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.6715, allocations: 6.372 MB / 0.6364 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/0.6716, allocations: 16 kB / 0.6364 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.6726, allocations: 248.4 kB / 0.6367 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.76e-05/0.6727, allocations: 31.38 kB / 0.6367 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.6728, allocations: 43.98 kB / 0.6367 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.201e-05/0.6729, allocations: 35.89 kB / 0.6368 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-05/0.6729, allocations: 29.19 kB / 0.6368 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.6759, allocations: 2.107 MB / 0.6389 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/0.6768, allocations: 329.7 kB / 0.6392 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/0.6774, allocations: 51.98 kB / 0.6392 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.6788, allocations: 59.95 kB / 0.6393 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.679, allocations: 134.7 kB / 0.6394 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.6791, allocations: 56 kB / 0.6395 GB, free: 8.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003869/0.683, allocations: 1.797 MB / 0.6412 GB, free: 7.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.6831, allocations: 4 kB / 0.6412 GB, free: 7.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004836/0.6879, allocations: 0.6914 MB / 0.6419 GB, free: 6.457 MB / 494.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.004948/0.6929, allocations: 2.744 MB / 0.6446 GB, free: 3.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005578/0.6985, allocations: 2.638 MB / 0.6472 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.722e-05/0.6986, allocations: 1.75 kB / 0.6472 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.7, allocations: 0.6363 MB / 0.6478 GB, free: 212 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.703, allocations: 346.4 kB / 0.6481 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05508/0.7582, allocations: 29.63 MB / 0.677 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006404/0.7646, allocations: 2.964 MB / 0.6799 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003262/0.7679, allocations: 1.016 MB / 0.6809 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003021/0.771, allocations: 1.608 MB / 0.6825 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/0.771, allocations: 0 / 0.6825 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.8777, allocations: 48.65 MB / 0.73 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15, allocations: 15.89 kB / 0.73 GB, free: 8.773 MB / 0.5762 GB (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