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.001056/0.001056, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 74.94 kB / 417.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1391, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.332/0.4711, allocations: 50.61 MB / 0.5178 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02791/0.4991, allocations: 9.941 MB / 0.5275 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01393/0.5131, allocations: 210.3 kB / 0.5277 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007463/0.5206, allocations: 3.785 MB / 0.5314 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.5242, allocations: 0.779 MB / 0.5321 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.5263, allocations: 0.6686 MB / 0.5328 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00358/0.5299, allocations: 2.204 MB / 0.5349 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005393/0.5353, allocations: 5.164 MB / 0.54 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.5377, allocations: 1.482 MB / 0.5414 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.5402, allocations: 2.061 MB / 0.5435 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007009/0.5409, allocations: 448.5 kB / 0.5439 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.5427, allocations: 1.026 MB / 0.5449 GB, free: 284 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.5443, allocations: 1.764 MB / 0.5466 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.5467, allocations: 2.032 MB / 0.5486 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006314/0.553, allocations: 6.794 MB / 0.5552 GB, free: 7.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.553, allocations: 0 / 0.5552 GB, free: 7.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.5531, allocations: 0 / 0.5552 GB, free: 7.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.5532, allocations: 0 / 0.5552 GB, free: 7.137 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.008361/0.5615, allocations: 4.135 MB / 0.5593 GB, free: 2.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.5616, allocations: 15.97 kB / 0.5593 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009191/0.5625, allocations: 0.5814 MB / 0.5598 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.5648, allocations: 0.6126 MB / 0.5604 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/0.5685, allocations: 2.118 MB / 0.5625 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.5687, allocations: 235.5 kB / 0.5627 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000518/0.5692, allocations: 318.1 kB / 0.563 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.5857, allocations: 8.201 MB / 0.571 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/0.5858, allocations: 15.88 kB / 0.5711 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.5862, allocations: 136.1 kB / 0.5712 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/0.5878, allocations: 1.103 MB / 0.5723 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/0.603, allocations: 6.709 MB / 0.5788 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03435/0.6374, allocations: 24.31 MB / 0.6026 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005796/0.6432, allocations: 1.987 MB / 0.6045 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.6445, allocations: 0.8919 MB / 0.6054 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007963/0.6525, allocations: 6.359 MB / 0.6116 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.6526, allocations: 51.16 kB / 0.6116 GB, free: 12.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 3.517e-06/0.6526, allocations: 0 / 0.6116 GB, free: 12.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=99): time 0.01649/0.6691, allocations: 5.744 MB / 0.6172 GB, free: 6.402 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/0.6692, allocations: 115.8 kB / 0.6173 GB, free: 6.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/0.6726, allocations: 2.433 MB / 0.6197 GB, free: 3.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.319e-05/0.6727, allocations: 45.7 kB / 0.6198 GB, free: 3.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.6741, allocations: 2.168 MB / 0.6219 GB, free: 1.582 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.6744, allocations: 399.9 kB / 0.6223 GB, free: 1.195 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000848/0.6753, allocations: 0.7104 MB / 0.623 GB, free: 488 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6754, allocations: 309.1 kB / 0.6233 GB, free: 176 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.6768, allocations: 0.964 MB / 0.6242 GB, free: 15.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002725/0.6795, allocations: 3.056 MB / 0.6272 GB, free: 11.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004637/0.6841, allocations: 4.356 MB / 0.6314 GB, free: 5.734 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.012e-05/0.6842, allocations: 20 kB / 0.6315 GB, free: 5.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.005845/0.69, allocations: 3.938 MB / 0.6353 GB, free: 1.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.6901, allocations: 36 kB / 0.6353 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.191e-05/0.6902, allocations: 72.84 kB / 0.6354 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.584e-05/0.6903, allocations: 100 kB / 0.6355 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.6925, allocations: 0.8071 MB / 0.6363 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001146/0.6926, allocations: 143.4 kB / 0.6364 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/0.6946, allocations: 179.5 kB / 0.6366 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.6948, allocations: 204 kB / 0.6368 GB, free: 248 kB / 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.002533/0.6974, allocations: 1.587 MB / 0.6383 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003892/0.6978, allocations: 209.3 kB / 0.6385 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.6982, allocations: 258.2 kB / 0.6388 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.6982, allocations: 15.94 kB / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.6982, allocations: 0 / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6983, allocations: 3.984 kB / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00801/0.7063, allocations: 5.854 MB / 0.6445 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.7063, allocations: 20 kB / 0.6445 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/0.707, allocations: 227.5 kB / 0.6448 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.074e-05/0.707, allocations: 28 kB / 0.6448 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.7071, allocations: 44 kB / 0.6448 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.435e-05/0.7071, allocations: 35.86 kB / 0.6449 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.347e-05/0.7072, allocations: 39.86 kB / 0.6449 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.7097, allocations: 1.965 MB / 0.6468 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.7104, allocations: 310.2 kB / 0.6471 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.7106, allocations: 47.98 kB / 0.6472 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/0.7114, allocations: 47.98 kB / 0.6472 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.7116, allocations: 147.3 kB / 0.6473 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.7117, allocations: 52 kB / 0.6474 GB, free: 4.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002519/0.7142, allocations: 1.598 MB / 0.649 GB, free: 3.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7142, allocations: 0 / 0.649 GB, free: 3.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004186/0.7184, allocations: 0.6054 MB / 0.6495 GB, free: 2.523 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.003061/0.7215, allocations: 2.604 MB / 0.6521 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004003/0.7255, allocations: 2.351 MB / 0.6544 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.772e-05/0.7256, allocations: 4 kB / 0.6544 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.7263, allocations: 0.536 MB / 0.6549 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.7287, allocations: 392.8 kB / 0.6553 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05032/0.7791, allocations: 30.45 MB / 0.685 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/0.782, allocations: 2.67 MB / 0.6876 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002482/0.7845, allocations: 0.899 MB / 0.6885 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/0.7862, allocations: 1.358 MB / 0.6898 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of SimCode: time 1.874e-06/0.7862, allocations: 0 / 0.6898 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3367/1.123, allocations: 45.77 MB / 0.7345 GB, free: 194.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.123, allocations: 190.8 kB / 0.7347 GB, free: 194.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.014/4.138, allocations: 0 / 0.7347 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