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.001092/0.001092, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 76.53 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1222, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01465/0.1369, allocations: 12.47 MB / 492.6 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.1453, allocations: 3.691 MB / 496.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.1475, allocations: 75.88 kB / 496.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006948/0.1546, allocations: 3.895 MB / 0.4885 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.157, allocations: 0.8629 MB / 0.4894 GB, free: 120 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.159, allocations: 0.7057 MB / 0.4901 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.1624, allocations: 2.198 MB / 0.4922 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007381/0.1698, allocations: 4.93 MB / 0.497 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.1723, allocations: 1.449 MB / 0.4984 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003455/0.1758, allocations: 1.913 MB / 0.5003 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.1773, allocations: 448 kB / 0.5007 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.1797, allocations: 1.026 MB / 0.5017 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00253/0.1822, allocations: 1.75 MB / 0.5034 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2622/0.4444, allocations: 2.023 MB / 0.5054 GB, free: 18.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009675/0.4541, allocations: 6.759 MB / 0.512 GB, free: 18.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4542, allocations: 0 / 0.512 GB, free: 18.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4542, allocations: 1.109 kB / 0.512 GB, free: 18.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002468/0.4544, allocations: 1.812 kB / 0.512 GB, free: 18.57 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.01216/0.4666, allocations: 4.131 MB / 0.5161 GB, free: 17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4667, allocations: 10.31 kB / 0.5161 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001118/0.4678, allocations: 0.5839 MB / 0.5166 GB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.4702, allocations: 0.6167 MB / 0.5172 GB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/0.474, allocations: 2.111 MB / 0.5193 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.4742, allocations: 236.9 kB / 0.5195 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006169/0.4748, allocations: 322.9 kB / 0.5198 GB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.491, allocations: 8.202 MB / 0.5278 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.345e-05/0.4911, allocations: 17.16 kB / 0.5279 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/0.4914, allocations: 135.8 kB / 0.528 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/0.4928, allocations: 1.092 MB / 0.5291 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.5059, allocations: 6.715 MB / 0.5356 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0272/0.5331, allocations: 24.3 MB / 0.5594 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005824/0.539, allocations: 1.983 MB / 0.5613 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.5402, allocations: 0.9059 MB / 0.5622 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007927/0.5482, allocations: 6.364 MB / 0.5684 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.5482, allocations: 39.22 kB / 0.5684 GB, free: 9.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.405e-06/0.5482, allocations: 0 / 0.5684 GB, free: 9.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01619/0.5644, allocations: 5.754 MB / 0.574 GB, free: 3.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.5645, allocations: 115.8 kB / 0.5742 GB, free: 3.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.5677, allocations: 2.437 MB / 0.5765 GB, free: 1.305 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.5679, allocations: 41.7 kB / 0.5766 GB, free: 1.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.5692, allocations: 2.167 MB / 0.5787 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.5696, allocations: 392.7 kB / 0.5791 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008841/0.5705, allocations: 0.7181 MB / 0.5798 GB, free: 13.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5706, allocations: 313 kB / 0.5801 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.572, allocations: 0.9634 MB / 0.581 GB, free: 12.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002632/0.5746, allocations: 3.051 MB / 0.584 GB, free: 8.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004592/0.5793, allocations: 4.349 MB / 0.5882 GB, free: 3.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.809e-05/0.5793, allocations: 24 kB / 0.5883 GB, free: 3.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.005804/0.5851, allocations: 3.932 MB / 0.5921 GB, free: 68 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.5852, allocations: 36 kB / 0.5921 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.856e-05/0.5853, allocations: 76.05 kB / 0.5922 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-05/0.5854, allocations: 99.75 kB / 0.5923 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/0.5876, allocations: 0.8026 MB / 0.5931 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/0.5877, allocations: 152.6 kB / 0.5932 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.5896, allocations: 167.6 kB / 0.5934 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/0.5898, allocations: 212 kB / 0.5936 GB, free: 14.64 MB / 446.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.002548/0.5924, allocations: 1.582 MB / 0.5951 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.5927, allocations: 213.2 kB / 0.5953 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.5932, allocations: 258.2 kB / 0.5956 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.5932, allocations: 12 kB / 0.5956 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.5932, allocations: 4 kB / 0.5956 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.5932, allocations: 3.984 kB / 0.5956 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008408/0.6016, allocations: 5.856 MB / 0.6013 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/0.6017, allocations: 20 kB / 0.6013 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/0.6024, allocations: 227.2 kB / 0.6016 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.29e-05/0.6024, allocations: 24 kB / 0.6016 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/0.6025, allocations: 48 kB / 0.6016 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.182e-05/0.6025, allocations: 35.86 kB / 0.6017 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-05/0.6026, allocations: 39.86 kB / 0.6017 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.6047, allocations: 1.969 MB / 0.6036 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.6053, allocations: 310.2 kB / 0.6039 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.6055, allocations: 47.98 kB / 0.604 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/0.6062, allocations: 39.98 kB / 0.604 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.6064, allocations: 147.3 kB / 0.6041 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.6065, allocations: 56 kB / 0.6042 GB, free: 3.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002156/0.6087, allocations: 1.602 MB / 0.6058 GB, free: 1.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6087, allocations: 0 / 0.6058 GB, free: 1.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002756/0.6114, allocations: 0.6016 MB / 0.6063 GB, free: 1.133 MB / 446.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.002564/0.614, allocations: 2.592 MB / 0.6089 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003516/0.6175, allocations: 2.36 MB / 0.6112 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6175, allocations: 0 / 0.6112 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007364/0.6183, allocations: 0.5399 MB / 0.6117 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.6202, allocations: 384.6 kB / 0.6121 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03678/0.657, allocations: 29 MB / 0.6404 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/0.6598, allocations: 2.682 MB / 0.643 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002234/0.6621, allocations: 0.8934 MB / 0.6439 GB, free: 6.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.6636, allocations: 1.366 MB / 0.6452 GB, free: 4.789 MB / 494.1 MB Notification: Performance of SimCode: time 5.92e-07/0.6636, allocations: 0 / 0.6452 GB, free: 4.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/0.7886, allocations: 45.9 MB / 0.69 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.936/9.725, allocations: 13.81 kB / 0.6901 GB, free: 7.078 MB / 0.5294 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