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.001509/0.00151, allocations: 114.9 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 205.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001669, allocations: 76.16 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3966, allocations: 62.45 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.0149/0.4115, allocations: 12.47 MB / 0.5427 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008912/0.4205, allocations: 3.698 MB / 0.5463 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.4231, allocations: 68.72 kB / 0.5464 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007896/0.4311, allocations: 3.9 MB / 0.5502 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.4345, allocations: 0.8513 MB / 0.551 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.4369, allocations: 0.7251 MB / 0.5517 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004148/0.4411, allocations: 2.19 MB / 0.5539 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007516/0.4487, allocations: 4.926 MB / 0.5587 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.4519, allocations: 1.457 MB / 0.5601 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003417/0.4553, allocations: 1.901 MB / 0.562 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.4566, allocations: 451.9 kB / 0.5624 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.4591, allocations: 1.015 MB / 0.5634 GB, free: 8 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002382/0.4615, allocations: 1.762 MB / 0.5651 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003239/0.4648, allocations: 2.029 MB / 0.5671 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008934/0.4738, allocations: 6.885 MB / 0.5738 GB, free: 5.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4738, allocations: 0 / 0.5738 GB, free: 5.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4738, allocations: 0 / 0.5738 GB, free: 5.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002401/0.4741, allocations: 0 / 0.5738 GB, free: 5.297 MB / 430.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.01245/0.4865, allocations: 4.136 MB / 0.5778 GB, free: 1.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.4866, allocations: 12.03 kB / 0.5779 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002025/0.4886, allocations: 0.582 MB / 0.5784 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.4922, allocations: 0.6243 MB / 0.579 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00634/0.4985, allocations: 2.149 MB / 0.5811 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.4989, allocations: 242.3 kB / 0.5814 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/0.5004, allocations: 311.9 kB / 0.5817 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.5224, allocations: 8.206 MB / 0.5897 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.5226, allocations: 11.88 kB / 0.5897 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/0.524, allocations: 139.9 kB / 0.5898 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001778/0.5258, allocations: 1.096 MB / 0.5909 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.542, allocations: 6.709 MB / 0.5974 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04139/0.5834, allocations: 24.18 MB / 0.621 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006759/0.5903, allocations: 1.989 MB / 0.623 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.592, allocations: 0.8997 MB / 0.6239 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.6029, allocations: 6.367 MB / 0.6301 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.603, allocations: 43.22 kB / 0.6301 GB, free: 10 MB / 494.1 MB Notification: Performance of pre-optimization done (n=80): time 3.596e-06/0.603, allocations: 0 / 0.6301 GB, free: 10 MB / 494.1 MB Notification: Performance of matching and sorting (n=99): time 0.01784/0.6209, allocations: 5.749 MB / 0.6357 GB, free: 4.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.621, allocations: 119.8 kB / 0.6359 GB, free: 4.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/0.6251, allocations: 2.433 MB / 0.6382 GB, free: 1.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.6253, allocations: 45.7 kB / 0.6383 GB, free: 1.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00183/0.6271, allocations: 2.168 MB / 0.6404 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004748/0.6276, allocations: 395 kB / 0.6408 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.6289, allocations: 0.7142 MB / 0.6415 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6291, allocations: 309.1 kB / 0.6418 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.6308, allocations: 0.9673 MB / 0.6427 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/0.6342, allocations: 3.041 MB / 0.6457 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/0.6395, allocations: 4.36 MB / 0.6499 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.773e-05/0.6395, allocations: 20 kB / 0.65 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.00688/0.6464, allocations: 3.95 MB / 0.6538 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.183e-05/0.6465, allocations: 36 kB / 0.6538 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.6467, allocations: 72 kB / 0.6539 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.6468, allocations: 100 kB / 0.654 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.6493, allocations: 0.7915 MB / 0.6548 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001375/0.6495, allocations: 147.4 kB / 0.6549 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.6516, allocations: 175.7 kB / 0.6551 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003939/0.6521, allocations: 204 kB / 0.6553 GB, free: 14.02 MB / 0.5137 GB 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.003152/0.6552, allocations: 1.594 MB / 0.6568 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/0.6559, allocations: 209.3 kB / 0.657 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008705/0.6567, allocations: 254.2 kB / 0.6573 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.6568, allocations: 12 kB / 0.6573 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.6568, allocations: 0 / 0.6573 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.6568, allocations: 3.984 kB / 0.6573 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.6677, allocations: 5.866 MB / 0.663 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.678e-05/0.6678, allocations: 23.94 kB / 0.6631 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008728/0.6687, allocations: 224.4 kB / 0.6633 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.165e-05/0.6688, allocations: 28 kB / 0.6633 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.6689, allocations: 40 kB / 0.6633 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-05/0.669, allocations: 39.86 kB / 0.6634 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-05/0.669, allocations: 35.81 kB / 0.6634 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/0.6722, allocations: 1.961 MB / 0.6653 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008088/0.673, allocations: 314.1 kB / 0.6656 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/0.6735, allocations: 47.98 kB / 0.6657 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6747, allocations: 43.98 kB / 0.6657 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.6749, allocations: 143.3 kB / 0.6658 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6751, allocations: 56 kB / 0.6659 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00329/0.6784, allocations: 1.594 MB / 0.6675 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6784, allocations: 0 / 0.6675 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00421/0.6826, allocations: 0.5977 MB / 0.668 GB, free: 300 kB / 0.5137 GB 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.003594/0.6863, allocations: 2.613 MB / 0.6706 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004348/0.6906, allocations: 2.278 MB / 0.6728 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.639e-05/0.6907, allocations: 4 kB / 0.6728 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.6917, allocations: 0.5397 MB / 0.6733 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/0.6947, allocations: 386.7 kB / 0.6737 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04742/0.7421, allocations: 26.27 MB / 0.6994 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00468/0.7469, allocations: 2.682 MB / 0.702 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002844/0.7498, allocations: 0.8951 MB / 0.7029 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/0.7524, allocations: 1.358 MB / 0.7042 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of SimCode: time 1.183e-06/0.7524, allocations: 0 / 0.7042 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3991/1.151, allocations: 47.29 MB / 0.7504 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.33, allocations: 8.031 kB / 0.7504 GB, free: 171.3 MB / 0.5762 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