Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 78.14 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 62.44 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.309/0.4407, allocations: 50.6 MB / 0.5176 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02586/0.4666, allocations: 9.99 MB / 0.5273 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01447/0.4811, allocations: 214.8 kB / 0.5275 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009217/0.4904, allocations: 3.928 MB / 0.5314 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.4938, allocations: 0.8018 MB / 0.5321 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.496, allocations: 0.6491 MB / 0.5328 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005373/0.5014, allocations: 3.625 MB / 0.5363 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006208/0.5076, allocations: 4.784 MB / 0.541 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.51, allocations: 1.26 MB / 0.5422 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.513, allocations: 1.977 MB / 0.5441 GB, free: 312 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.5141, allocations: 290.4 kB / 0.5444 GB, free: 312 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.5164, allocations: 0.9251 MB / 0.5453 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002351/0.5187, allocations: 1.609 MB / 0.5469 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004186/0.5229, allocations: 1.868 MB / 0.5487 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008197/0.5312, allocations: 6.652 MB / 0.5552 GB, free: 6.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5312, allocations: 0 / 0.5552 GB, free: 6.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5312, allocations: 0 / 0.5552 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002429/0.5314, allocations: 0 / 0.5552 GB, free: 6.879 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.01238/0.5438, allocations: 4.138 MB / 0.5593 GB, free: 2.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5439, allocations: 12.88 kB / 0.5593 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001731/0.5456, allocations: 0.5882 MB / 0.5598 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.5485, allocations: 0.6204 MB / 0.5605 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.553, allocations: 2.11 MB / 0.5625 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.5532, allocations: 235.3 kB / 0.5627 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.5545, allocations: 322.6 kB / 0.563 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.5744, allocations: 8.194 MB / 0.571 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.5746, allocations: 19.88 kB / 0.5711 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008421/0.5754, allocations: 140.4 kB / 0.5712 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/0.5771, allocations: 1.096 MB / 0.5723 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.593, allocations: 6.7 MB / 0.5788 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03932/0.6323, allocations: 24.3 MB / 0.6026 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/0.6387, allocations: 1.985 MB / 0.6045 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.6402, allocations: 0.9035 MB / 0.6054 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008909/0.6492, allocations: 6.362 MB / 0.6116 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.6492, allocations: 47.16 kB / 0.6116 GB, free: 11.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 2.946e-06/0.6492, allocations: 0 / 0.6116 GB, free: 11.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=99): time 0.01777/0.667, allocations: 5.748 MB / 0.6172 GB, free: 6.137 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/0.6672, allocations: 115.8 kB / 0.6174 GB, free: 6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004919/0.6721, allocations: 2.433 MB / 0.6197 GB, free: 3.539 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.6722, allocations: 41.7 kB / 0.6198 GB, free: 3.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.6741, allocations: 2.172 MB / 0.6219 GB, free: 1.316 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004874/0.6746, allocations: 390.7 kB / 0.6223 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.676, allocations: 0.7143 MB / 0.623 GB, free: 220 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.6762, allocations: 313 kB / 0.6233 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.678, allocations: 0.9634 MB / 0.6242 GB, free: 14.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/0.6817, allocations: 3.048 MB / 0.6272 GB, free: 10.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006046/0.6878, allocations: 4.363 MB / 0.6314 GB, free: 5.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-05/0.6879, allocations: 20 kB / 0.6315 GB, free: 5.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.008646/0.6966, allocations: 3.942 MB / 0.6353 GB, free: 1.504 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.6967, allocations: 36 kB / 0.6353 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/0.6969, allocations: 72 kB / 0.6354 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/0.697, allocations: 100 kB / 0.6355 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.6997, allocations: 0.807 MB / 0.6363 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001816/0.6999, allocations: 143.4 kB / 0.6364 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.703, allocations: 179.6 kB / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006157/0.7036, allocations: 212 kB / 0.6368 GB, free: 15.96 MB / 494.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.003405/0.707, allocations: 1.575 MB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005824/0.7076, allocations: 209.3 kB / 0.6385 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007186/0.7083, allocations: 254.2 kB / 0.6388 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.7084, allocations: 12 kB / 0.6388 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.7084, allocations: 0 / 0.6388 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.7084, allocations: 7.922 kB / 0.6388 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.7199, allocations: 5.861 MB / 0.6445 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.397e-05/0.72, allocations: 20.94 kB / 0.6445 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/0.7208, allocations: 223.6 kB / 0.6448 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.498e-05/0.7209, allocations: 32 kB / 0.6448 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.721, allocations: 44 kB / 0.6448 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.993e-05/0.721, allocations: 43.84 kB / 0.6449 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.89e-05/0.721, allocations: 31.81 kB / 0.6449 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.7237, allocations: 1.96 MB / 0.6468 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/0.7245, allocations: 310.2 kB / 0.6471 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/0.725, allocations: 47.98 kB / 0.6472 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.7261, allocations: 43.98 kB / 0.6472 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.7263, allocations: 147.3 kB / 0.6473 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/0.7264, allocations: 52 kB / 0.6474 GB, free: 4.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003257/0.7297, allocations: 1.602 MB / 0.649 GB, free: 2.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7297, allocations: 0 / 0.649 GB, free: 2.871 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003635/0.7333, allocations: 0.6016 MB / 0.6495 GB, free: 2.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * 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.003422/0.7368, allocations: 2.608 MB / 0.6521 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004225/0.741, allocations: 2.216 MB / 0.6543 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.741, allocations: 5 kB / 0.6543 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.7418, allocations: 0.5457 MB / 0.6548 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.7446, allocations: 374.7 kB / 0.6551 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05892/0.8035, allocations: 30.46 MB / 0.6849 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004393/0.8079, allocations: 2.674 MB / 0.6875 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002702/0.8107, allocations: 0.895 MB / 0.6884 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/0.8126, allocations: 1.358 MB / 0.6897 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of SimCode: time 1.133e-06/0.8126, allocations: 4 kB / 0.6897 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.338/1.151, allocations: 45.04 MB / 0.7337 GB, free: 194.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/1.151, allocations: 192 kB / 0.7339 GB, free: 194.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/4.103, allocations: 0 / 0.7339 GB, free: 194.6 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches