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.001139/0.001139, allocations: 107.9 kB / 16.4 MB, free: 6.453 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.001168/0.001168, 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.283/1.283, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1935/0.1935, allocations: 43.52 MB / 314.1 MB, free: 460 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.001497/0.001498, allocations: 69.45 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, 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.01547/0.1233, allocations: 14.26 MB / 0.5013 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009184/0.1325, allocations: 3.852 MB / 0.5051 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.1351, allocations: 75.88 kB / 0.5052 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007285/0.1424, allocations: 3.945 MB / 0.509 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.1452, allocations: 1.018 MB / 0.51 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.147, allocations: 0.7135 MB / 0.5107 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003508/0.1505, allocations: 2.536 MB / 0.5132 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006391/0.1569, allocations: 5.043 MB / 0.5181 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.1597, allocations: 1.593 MB / 0.5197 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003363/0.1631, allocations: 2.029 MB / 0.5217 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.1642, allocations: 464 kB / 0.5221 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.1664, allocations: 1.007 MB / 0.5231 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002364/0.1688, allocations: 1.925 MB / 0.525 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.1723, allocations: 2.238 MB / 0.5271 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2349/0.4072, allocations: 7.473 MB / 0.5344 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4072, allocations: 2.062 kB / 0.5344 GB, free: 14.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4073, allocations: 0 / 0.5344 GB, free: 14.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002706/0.4075, allocations: 0.5312 kB / 0.5344 GB, free: 14.94 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.01469/0.4222, allocations: 4.55 MB / 0.5389 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4223, allocations: 14.8 kB / 0.5389 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002602/0.4249, allocations: 0.6816 MB / 0.5396 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.4294, allocations: 0.6192 MB / 0.5402 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006291/0.4357, allocations: 2.222 MB / 0.5423 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003575/0.4361, allocations: 266.1 kB / 0.5426 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/0.4378, allocations: 357.9 kB / 0.5429 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.4577, allocations: 9.25 MB / 0.552 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-05/0.4578, allocations: 15.94 kB / 0.552 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000482/0.4583, allocations: 154.2 kB / 0.5521 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002485/0.4608, allocations: 1.551 MB / 0.5536 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.4756, allocations: 7.224 MB / 0.5607 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03816/0.5138, allocations: 27.76 MB / 0.5878 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006995/0.5208, allocations: 2.189 MB / 0.5899 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.5225, allocations: 0.985 MB / 0.5909 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009816/0.5323, allocations: 6.7 MB / 0.5975 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.5324, allocations: 47.12 kB / 0.5975 GB, free: 5.738 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 4.098e-06/0.5324, allocations: 0 / 0.5975 GB, free: 5.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.02186/0.5543, allocations: 7.459 MB / 0.6048 GB, free: 14.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/0.5544, allocations: 167.2 kB / 0.6049 GB, free: 14.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/0.5597, allocations: 2.727 MB / 0.6076 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002467/0.5599, allocations: 41.7 kB / 0.6076 GB, free: 11.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002187/0.5621, allocations: 2.533 MB / 0.6101 GB, free: 8.742 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006226/0.5628, allocations: 404.9 kB / 0.6105 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001741/0.5646, allocations: 0.8091 MB / 0.6113 GB, free: 7.535 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5647, allocations: 305.1 kB / 0.6116 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002457/0.5672, allocations: 1.127 MB / 0.6127 GB, free: 6.109 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00356/0.5707, allocations: 3.471 MB / 0.6161 GB, free: 1.523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005864/0.5766, allocations: 4.945 MB / 0.6209 GB, free: 11.76 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.989e-05/0.5767, allocations: 24 kB / 0.6209 GB, free: 11.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.007785/0.5845, allocations: 4.502 MB / 0.6253 GB, free: 7.719 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/0.5846, allocations: 40 kB / 0.6254 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.018e-05/0.5847, allocations: 84 kB / 0.6254 GB, free: 7.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.5848, allocations: 112.8 kB / 0.6255 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/0.5877, allocations: 0.9458 MB / 0.6265 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001344/0.5878, allocations: 159.6 kB / 0.6266 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.5905, allocations: 222.1 kB / 0.6268 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004907/0.591, allocations: 240 kB / 0.6271 GB, free: 6.051 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.003019/0.594, allocations: 1.749 MB / 0.6288 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000541/0.5946, allocations: 237 kB / 0.629 GB, free: 4.137 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.5966, allocations: 1.195 MB / 0.6302 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5966, allocations: 13.42 kB / 0.6302 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5967, allocations: 0 / 0.6302 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.5967, allocations: 7.922 kB / 0.6302 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009632/0.6063, allocations: 6.379 MB / 0.6364 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.6064, allocations: 16 kB / 0.6364 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009046/0.6073, allocations: 240.6 kB / 0.6367 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.991e-05/0.6073, allocations: 28.12 kB / 0.6367 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.6074, allocations: 47.98 kB / 0.6367 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.558e-05/0.6074, allocations: 39.86 kB / 0.6368 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-05/0.6075, allocations: 27.88 kB / 0.6368 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.6102, allocations: 2.105 MB / 0.6389 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006952/0.6109, allocations: 333.7 kB / 0.6392 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/0.6113, allocations: 49.19 kB / 0.6392 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.6124, allocations: 59.95 kB / 0.6393 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.6126, allocations: 135.4 kB / 0.6394 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.544e-05/0.6126, allocations: 60 kB / 0.6395 GB, free: 8.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002874/0.6155, allocations: 1.797 MB / 0.6412 GB, free: 7.195 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6155, allocations: 0 / 0.6412 GB, free: 7.195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003623/0.6192, allocations: 0.6944 MB / 0.6419 GB, free: 6.504 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.003353/0.6225, allocations: 2.747 MB / 0.6446 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004619/0.6272, allocations: 2.636 MB / 0.6472 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/0.6272, allocations: 4 kB / 0.6472 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.6284, allocations: 0.6327 MB / 0.6478 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.6311, allocations: 344.9 kB / 0.6481 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05062/0.6817, allocations: 29.64 MB / 0.677 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004537/0.6863, allocations: 2.963 MB / 0.6799 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002819/0.6892, allocations: 1.016 MB / 0.6809 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002523/0.6917, allocations: 1.597 MB / 0.6825 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/0.6917, allocations: 9.531 kB / 0.6825 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09798/0.7897, allocations: 48.65 MB / 0.73 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.56, allocations: 15.89 kB / 0.73 GB, free: 8.82 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