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.00158/0.00158, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001837/0.001837, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001666, allocations: 75.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3689, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01394/0.3829, allocations: 12.47 MB / 0.5427 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009138/0.3921, allocations: 3.697 MB / 0.5463 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/0.3949, allocations: 69.25 kB / 0.5464 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007698/0.4026, allocations: 3.894 MB / 0.5502 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.4061, allocations: 0.8629 MB / 0.551 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.4085, allocations: 0.7096 MB / 0.5517 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.4122, allocations: 2.201 MB / 0.5539 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006489/0.4187, allocations: 4.914 MB / 0.5587 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.4213, allocations: 1.465 MB / 0.5601 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.4245, allocations: 1.901 MB / 0.5619 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.4258, allocations: 452 kB / 0.5624 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.4284, allocations: 1.015 MB / 0.5634 GB, free: 12 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002464/0.4309, allocations: 1.762 MB / 0.5651 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003471/0.4344, allocations: 2.017 MB / 0.5671 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008329/0.4428, allocations: 6.893 MB / 0.5738 GB, free: 5.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.4428, allocations: 0 / 0.5738 GB, free: 5.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4428, allocations: 0 / 0.5738 GB, free: 5.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002456/0.4431, allocations: 0 / 0.5738 GB, free: 5.305 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.01617/0.4592, allocations: 4.136 MB / 0.5778 GB, free: 1.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.4593, allocations: 8.031 kB / 0.5778 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002914/0.4623, allocations: 0.5859 MB / 0.5784 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005337/0.4676, allocations: 0.6243 MB / 0.579 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00769/0.4754, allocations: 2.137 MB / 0.5811 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/0.4758, allocations: 246.4 kB / 0.5813 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.4778, allocations: 319.9 kB / 0.5816 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02934/0.5071, allocations: 8.206 MB / 0.5897 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.5073, allocations: 15.88 kB / 0.5897 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/0.5088, allocations: 135.9 kB / 0.5898 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00249/0.5113, allocations: 1.096 MB / 0.5909 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/0.5346, allocations: 6.705 MB / 0.5974 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04194/0.5766, allocations: 24.18 MB / 0.621 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006706/0.5834, allocations: 1.991 MB / 0.623 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.5849, allocations: 0.8996 MB / 0.6239 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/0.596, allocations: 6.363 MB / 0.6301 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.5961, allocations: 47.22 kB / 0.6301 GB, free: 10.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=80): time 3.296e-06/0.5961, allocations: 0 / 0.6301 GB, free: 10.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=99): time 0.01911/0.6153, allocations: 5.761 MB / 0.6357 GB, free: 4.211 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/0.6154, allocations: 111.8 kB / 0.6359 GB, free: 4.078 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.6197, allocations: 2.433 MB / 0.6382 GB, free: 1.617 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.6198, allocations: 41.7 kB / 0.6383 GB, free: 1.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.6215, allocations: 2.168 MB / 0.6404 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.6219, allocations: 395 kB / 0.6408 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.6231, allocations: 0.7181 MB / 0.6415 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6232, allocations: 309.1 kB / 0.6418 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.6248, allocations: 0.9634 MB / 0.6427 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/0.628, allocations: 3.048 MB / 0.6457 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00526/0.6333, allocations: 4.35 MB / 0.6499 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.9e-05/0.6334, allocations: 20 kB / 0.6499 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.007168/0.6406, allocations: 3.948 MB / 0.6538 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/0.6407, allocations: 36 kB / 0.6538 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/0.6408, allocations: 79.98 kB / 0.6539 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.641, allocations: 96 kB / 0.654 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.6435, allocations: 0.7954 MB / 0.6548 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001483/0.6437, allocations: 143.4 kB / 0.6549 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.646, allocations: 179.7 kB / 0.6551 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004224/0.6465, allocations: 204 kB / 0.6553 GB, free: 14.03 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.002826/0.6493, allocations: 1.587 MB / 0.6568 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/0.6498, allocations: 209.3 kB / 0.657 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006573/0.6505, allocations: 254.2 kB / 0.6573 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.6505, allocations: 8 kB / 0.6573 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.6505, allocations: 0 / 0.6573 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.6505, allocations: 11.97 kB / 0.6573 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.6609, allocations: 5.858 MB / 0.663 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-05/0.661, allocations: 23.98 kB / 0.663 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007637/0.6618, allocations: 224.4 kB / 0.6632 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.568e-05/0.6618, allocations: 24 kB / 0.6633 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-05/0.6619, allocations: 48 kB / 0.6633 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.468e-05/0.6619, allocations: 39.86 kB / 0.6634 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.817e-05/0.662, allocations: 31.81 kB / 0.6634 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.6644, allocations: 1.957 MB / 0.6653 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007573/0.6652, allocations: 314.1 kB / 0.6656 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004612/0.6657, allocations: 55.97 kB / 0.6656 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.6668, allocations: 44 kB / 0.6657 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.667, allocations: 143.3 kB / 0.6658 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.6672, allocations: 59.94 kB / 0.6659 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003349/0.6705, allocations: 1.598 MB / 0.6674 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6705, allocations: 0 / 0.6674 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003761/0.6743, allocations: 0.5938 MB / 0.668 GB, free: 308 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.003668/0.678, allocations: 2.621 MB / 0.6706 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004325/0.6824, allocations: 2.274 MB / 0.6728 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/0.6824, allocations: 0 / 0.6728 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009095/0.6833, allocations: 0.5398 MB / 0.6733 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.6863, allocations: 394 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.05293/0.7392, allocations: 26.28 MB / 0.6994 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004248/0.7435, allocations: 2.678 MB / 0.702 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002461/0.746, allocations: 0.8989 MB / 0.7029 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/0.7482, allocations: 1.362 MB / 0.7042 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.7482, allocations: 0 / 0.7042 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3699/1.118, allocations: 47.3 MB / 0.7504 GB, free: 171 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.98, allocations: 8.781 kB / 0.7504 GB, free: 171 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