Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",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.001313/0.001313, allocations: 105.6 kB / 16.4 MB, free: 6.457 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.001251/0.001251, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1924/0.1924, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 73.61 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09553, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01487/0.1104, allocations: 14.22 MB / 0.5013 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008738/0.1192, allocations: 3.997 MB / 0.5052 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.1218, allocations: 71.94 kB / 0.5053 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007202/0.1291, allocations: 3.933 MB / 0.5091 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.1319, allocations: 1.007 MB / 0.5101 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.1342, allocations: 0.8811 MB / 0.511 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003944/0.1382, allocations: 2.63 MB / 0.5135 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006342/0.1445, allocations: 5.117 MB / 0.5185 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.1475, allocations: 1.605 MB / 0.5201 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.1508, allocations: 2.08 MB / 0.5221 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.1521, allocations: 492 kB / 0.5226 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.1546, allocations: 1.143 MB / 0.5237 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002501/0.1571, allocations: 1.96 MB / 0.5256 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003717/0.1609, allocations: 2.285 MB / 0.5279 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2234/0.3843, allocations: 7.725 MB / 0.5354 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3843, allocations: 0 / 0.5354 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3843, allocations: 0 / 0.5354 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002563/0.3846, allocations: 2.562 kB / 0.5354 GB, free: 15.13 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01508/0.3997, allocations: 4.75 MB / 0.54 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3997, allocations: 13.67 kB / 0.5401 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002053/0.4018, allocations: 0.6797 MB / 0.5407 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/0.4059, allocations: 0.659 MB / 0.5414 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.4111, allocations: 2.323 MB / 0.5436 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.4114, allocations: 267.2 kB / 0.5439 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.4127, allocations: 353.1 kB / 0.5442 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02475/0.4374, allocations: 10.47 MB / 0.5545 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/0.4377, allocations: 22.19 kB / 0.5545 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001725/0.4394, allocations: 151 kB / 0.5546 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003337/0.4428, allocations: 1.64 MB / 0.5562 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/0.4628, allocations: 9.155 MB / 0.5652 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04286/0.5057, allocations: 30.53 MB / 0.595 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009568/0.5153, allocations: 3.11 MB / 0.598 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/0.5176, allocations: 1.657 MB / 0.5996 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/0.5309, allocations: 9.315 MB / 0.6087 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.531, allocations: 50.94 kB / 0.6088 GB, free: 11.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 4.449e-06/0.531, allocations: 2.062 kB / 0.6088 GB, free: 11.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02698/0.558, allocations: 9 MB / 0.6176 GB, free: 2.027 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.5581, allocations: 115.8 kB / 0.6177 GB, free: 1.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004412/0.5625, allocations: 2.893 MB / 0.6205 GB, free: 14.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002012/0.5627, allocations: 45.7 kB / 0.6205 GB, free: 14.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.5644, allocations: 2.509 MB / 0.623 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.5649, allocations: 436.7 kB / 0.6234 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/0.5662, allocations: 0.8408 MB / 0.6242 GB, free: 11.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.5663, allocations: 301.1 kB / 0.6245 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.5686, allocations: 1.495 MB / 0.626 GB, free: 9.371 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/0.5722, allocations: 3.835 MB / 0.6297 GB, free: 4.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005887/0.5781, allocations: 5.607 MB / 0.6352 GB, free: 13.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.921e-05/0.5782, allocations: 24 kB / 0.6352 GB, free: 13.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.008643/0.5868, allocations: 5.27 MB / 0.6404 GB, free: 9.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.93e-05/0.5869, allocations: 43.98 kB / 0.6404 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.5871, allocations: 88.16 kB / 0.6405 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.5872, allocations: 112 kB / 0.6406 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.5905, allocations: 0.9914 MB / 0.6416 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001236/0.5906, allocations: 161 kB / 0.6417 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.5934, allocations: 234.9 kB / 0.6419 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004584/0.5938, allocations: 244 kB / 0.6422 GB, free: 7.434 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (524): * Single equations (assignments): 523 * 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.003151/0.597, allocations: 1.758 MB / 0.6439 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/0.5975, allocations: 244.7 kB / 0.6441 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.6008, allocations: 2.062 MB / 0.6461 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.6008, allocations: 12 kB / 0.6462 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.6008, allocations: 7.984 kB / 0.6462 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.6008, allocations: 11.92 kB / 0.6462 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.6117, allocations: 6.652 MB / 0.6527 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.6118, allocations: 12 kB / 0.6527 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009954/0.6128, allocations: 251.7 kB / 0.6529 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.176e-05/0.6128, allocations: 23.94 kB / 0.6529 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.65e-05/0.6129, allocations: 36 kB / 0.653 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/0.6129, allocations: 31.86 kB / 0.653 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/0.6129, allocations: 19.94 kB / 0.653 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.6156, allocations: 2.201 MB / 0.6552 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006737/0.6163, allocations: 333.8 kB / 0.6555 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/0.6166, allocations: 47.88 kB / 0.6555 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009759/0.6176, allocations: 67.94 kB / 0.6556 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.6178, allocations: 120.2 kB / 0.6557 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.954e-05/0.6179, allocations: 51.98 kB / 0.6558 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002631/0.6205, allocations: 1.843 MB / 0.6576 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.173e-06/0.6205, allocations: 3.938 kB / 0.6576 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003152/0.6237, allocations: 0.7549 MB / 0.6583 GB, free: 6.582 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.003091/0.6268, allocations: 2.841 MB / 0.6611 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004783/0.6316, allocations: 3.229 MB / 0.6642 GB, free: 332 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.6316, allocations: 4.812 kB / 0.6642 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.6328, allocations: 0.8105 MB / 0.665 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.6349, allocations: 335.3 kB / 0.6654 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05075/0.6857, allocations: 31.18 MB / 0.6958 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004138/0.6899, allocations: 2.957 MB / 0.6987 GB, free: 9.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002811/0.6927, allocations: 1.024 MB / 0.6997 GB, free: 8.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002457/0.6952, allocations: 1.616 MB / 0.7013 GB, free: 7.164 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/0.6952, allocations: 0 / 0.7013 GB, free: 7.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08979/0.785, allocations: 52.2 MB / 0.7523 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.22, allocations: 11.53 kB / 0.7523 GB, free: 2.953 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches