Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_0_0_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.001109/0.001109, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001172/0.001172, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1987/0.1987, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.39 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01245/0.115, allocations: 12.5 MB / 481.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006809/0.1218, allocations: 3.661 MB / 485.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.1236, allocations: 67.88 kB / 485.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006596/0.1302, allocations: 3.895 MB / 489.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.1326, allocations: 0.859 MB / 490.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.1345, allocations: 0.7135 MB / 491.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.1373, allocations: 2.21 MB / 493.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004819/0.1422, allocations: 4.926 MB / 498.2 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.1442, allocations: 1.457 MB / 499.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.1467, allocations: 1.921 MB / 0.4898 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007857/0.1475, allocations: 451.9 kB / 0.4902 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.1492, allocations: 1.015 MB / 0.4912 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.1507, allocations: 1.75 MB / 0.4929 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.1535, allocations: 2.037 MB / 0.4949 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006688/0.1602, allocations: 6.769 MB / 0.5015 GB, free: 1.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1602, allocations: 0 / 0.5015 GB, free: 1.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1602, allocations: 0 / 0.5015 GB, free: 1.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001684/0.1604, allocations: 0 / 0.5015 GB, free: 1.848 MB / 382.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.185/0.3455, allocations: 4.137 MB / 0.5056 GB, free: 46.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3455, allocations: 11.44 kB / 0.5056 GB, free: 46.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007523/0.3463, allocations: 0.5844 MB / 0.5062 GB, free: 46.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.3486, allocations: 0.6168 MB / 0.5068 GB, free: 46.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/0.3522, allocations: 2.103 MB / 0.5088 GB, free: 45.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.3524, allocations: 245.3 kB / 0.5091 GB, free: 45.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005542/0.353, allocations: 322.1 kB / 0.5094 GB, free: 44.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/0.369, allocations: 8.195 MB / 0.5174 GB, free: 41.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.109e-05/0.3691, allocations: 13.81 kB / 0.5174 GB, free: 41.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.3695, allocations: 136.7 kB / 0.5175 GB, free: 41.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001362/0.3708, allocations: 1.095 MB / 0.5186 GB, free: 41.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.3832, allocations: 6.708 MB / 0.5251 GB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/0.4054, allocations: 24.3 MB / 0.5489 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.4106, allocations: 1.979 MB / 0.5508 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/0.4116, allocations: 0.9 MB / 0.5517 GB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005895/0.4175, allocations: 6.289 MB / 0.5578 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.4175, allocations: 39.22 kB / 0.5579 GB, free: 2.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 2.585e-06/0.4175, allocations: 3.469 kB / 0.5579 GB, free: 2.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.01622/0.4337, allocations: 5.726 MB / 0.5634 GB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.4339, allocations: 111.8 kB / 0.5636 GB, free: 12.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.4372, allocations: 2.438 MB / 0.5659 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.4373, allocations: 53.64 kB / 0.566 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.4385, allocations: 2.172 MB / 0.5681 GB, free: 7.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.4389, allocations: 391 kB / 0.5685 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009395/0.4399, allocations: 0.722 MB / 0.5692 GB, free: 6.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.44, allocations: 301.1 kB / 0.5695 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4414, allocations: 0.9634 MB / 0.5704 GB, free: 5.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/0.4441, allocations: 3.041 MB / 0.5734 GB, free: 1.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004573/0.4487, allocations: 4.348 MB / 0.5776 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.854e-05/0.4488, allocations: 20 kB / 0.5776 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.005752/0.4545, allocations: 3.934 MB / 0.5815 GB, free: 8.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.68e-05/0.4546, allocations: 40 kB / 0.5815 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.289e-05/0.4547, allocations: 72.86 kB / 0.5816 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-05/0.4548, allocations: 96.75 kB / 0.5817 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.4569, allocations: 0.8032 MB / 0.5825 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.457, allocations: 147.4 kB / 0.5826 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.4588, allocations: 175.6 kB / 0.5828 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.459, allocations: 204 kB / 0.583 GB, free: 6.688 MB / 414.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.002254/0.4613, allocations: 1.587 MB / 0.5845 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.4616, allocations: 209.3 kB / 0.5847 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.4635, allocations: 1.211 MB / 0.5859 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4635, allocations: 8 kB / 0.5859 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4635, allocations: 4 kB / 0.5859 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.4635, allocations: 7.922 kB / 0.5859 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007246/0.4708, allocations: 5.704 MB / 0.5915 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.4708, allocations: 16 kB / 0.5915 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/0.4715, allocations: 219.6 kB / 0.5917 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.039e-05/0.4715, allocations: 27.94 kB / 0.5917 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/0.4716, allocations: 40 kB / 0.5918 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.271e-05/0.4716, allocations: 35.86 kB / 0.5918 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/0.4716, allocations: 23.88 kB / 0.5918 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.4734, allocations: 1.912 MB / 0.5937 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.4738, allocations: 314.1 kB / 0.594 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.474, allocations: 51.92 kB / 0.5941 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.4748, allocations: 43.92 kB / 0.5941 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.4749, allocations: 124 kB / 0.5942 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.475, allocations: 52 kB / 0.5943 GB, free: 10.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001871/0.4769, allocations: 1.602 MB / 0.5958 GB, free: 8.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4769, allocations: 4 kB / 0.5958 GB, free: 8.926 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002443/0.4793, allocations: 0.6042 MB / 0.5964 GB, free: 8.324 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * 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.002158/0.4815, allocations: 2.566 MB / 0.5989 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.4849, allocations: 2.445 MB / 0.6013 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4849, allocations: 0 / 0.6013 GB, free: 3.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006653/0.4856, allocations: 0.5573 MB / 0.6019 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.4874, allocations: 367.6 kB / 0.6022 GB, free: 2.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03278/0.5202, allocations: 28.84 MB / 0.6304 GB, free: 1.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/0.5228, allocations: 2.674 MB / 0.633 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002321/0.5251, allocations: 0.9097 MB / 0.6339 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/0.5266, allocations: 1.362 MB / 0.6352 GB, free: 12.18 MB / 478.1 MB Notification: Performance of SimCode: time 2.515e-06/0.5267, allocations: 0 / 0.6352 GB, free: 12.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07173/0.5984, allocations: 46.34 MB / 0.6805 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.161/9.76, allocations: 0 / 0.6805 GB, free: 14.08 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches