Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",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.00143/0.00143, allocations: 106 kB / 16.41 MB, free: 6.461 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.001376/0.001376, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2146/0.2146, allocations: 43.52 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.00208/0.00208, allocations: 73.45 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1078, allocations: 57.78 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01454/0.1224, allocations: 12.63 MB / 0.4998 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007641/0.1301, allocations: 3.717 MB / 0.5034 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.1315, allocations: 63.88 kB / 0.5034 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006128/0.1377, allocations: 3.31 MB / 0.5067 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.1404, allocations: 0.9405 MB / 0.5076 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.1425, allocations: 0.8148 MB / 0.5084 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.1463, allocations: 2.408 MB / 0.5107 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/0.1512, allocations: 4.141 MB / 0.5148 GB, free: 56 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.1536, allocations: 1.394 MB / 0.5161 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.1565, allocations: 1.811 MB / 0.5179 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000731/0.1572, allocations: 376 kB / 0.5183 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.1595, allocations: 1.01 MB / 0.5193 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.1614, allocations: 1.687 MB / 0.5209 GB, free: 9.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002284/0.1637, allocations: 1.97 MB / 0.5228 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007974/0.1717, allocations: 6.44 MB / 0.5291 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1717, allocations: 4 kB / 0.5291 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1717, allocations: 0 / 0.5291 GB, free: 1.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001841/0.1719, allocations: 0 / 0.5291 GB, free: 1.32 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.2051/0.3771, allocations: 4.387 MB / 0.5334 GB, free: 38.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3771, allocations: 13.8 kB / 0.5334 GB, free: 38.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008679/0.378, allocations: 0.6325 MB / 0.534 GB, free: 38.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.3806, allocations: 0.6063 MB / 0.5346 GB, free: 37.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.3838, allocations: 1.902 MB / 0.5365 GB, free: 37.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.3839, allocations: 233.2 kB / 0.5367 GB, free: 37.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/0.3844, allocations: 319.8 kB / 0.537 GB, free: 37.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.4002, allocations: 9.212 MB / 0.546 GB, free: 33.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.645e-05/0.4003, allocations: 18.47 kB / 0.546 GB, free: 33.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.4006, allocations: 143.8 kB / 0.5462 GB, free: 33.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002519/0.4031, allocations: 1.589 MB / 0.5477 GB, free: 33.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.4173, allocations: 7.458 MB / 0.555 GB, free: 30.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.4414, allocations: 27.89 MB / 0.5822 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006226/0.4477, allocations: 2.333 MB / 0.5845 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.4492, allocations: 1.108 MB / 0.5856 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.4594, allocations: 7.615 MB / 0.593 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.4595, allocations: 51.09 kB / 0.5931 GB, free: 6.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.697e-06/0.4595, allocations: 0 / 0.5931 GB, free: 6.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.01996/0.4794, allocations: 7.356 MB / 0.6003 GB, free: 15.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/0.4796, allocations: 149.5 kB / 0.6004 GB, free: 15.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003522/0.4831, allocations: 2.672 MB / 0.603 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/0.4832, allocations: 41.7 kB / 0.6031 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001851/0.4851, allocations: 2.523 MB / 0.6055 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.4854, allocations: 405 kB / 0.6059 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/0.4866, allocations: 0.7824 MB / 0.6067 GB, free: 8.824 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4868, allocations: 305.1 kB / 0.607 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.4885, allocations: 1.089 MB / 0.608 GB, free: 7.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/0.4924, allocations: 3.498 MB / 0.6114 GB, free: 2.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006596/0.499, allocations: 4.97 MB / 0.6163 GB, free: 12.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.325e-05/0.4991, allocations: 28 kB / 0.6163 GB, free: 12.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.007675/0.5068, allocations: 4.471 MB / 0.6207 GB, free: 8.066 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.5069, allocations: 40 kB / 0.6207 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.972e-05/0.507, allocations: 88.94 kB / 0.6208 GB, free: 7.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.5071, allocations: 115.9 kB / 0.6209 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/0.51, allocations: 0.9436 MB / 0.6218 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001478/0.5101, allocations: 171.3 kB / 0.622 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.5125, allocations: 200.1 kB / 0.6222 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/0.5128, allocations: 236 kB / 0.6224 GB, free: 6.289 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (499): * Single equations (assignments): 499 * 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 prepare postOptimizeDAE: time 0.002335/0.5151, allocations: 1.601 MB / 0.624 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.5156, allocations: 246.4 kB / 0.6242 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.518, allocations: 1.382 MB / 0.6256 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.5181, allocations: 16.81 kB / 0.6256 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.5181, allocations: 0 / 0.6256 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5181, allocations: 7.922 kB / 0.6256 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009784/0.5279, allocations: 6.033 MB / 0.6315 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.528, allocations: 17 kB / 0.6315 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/0.5288, allocations: 223.6 kB / 0.6317 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.411e-05/0.5288, allocations: 24.88 kB / 0.6317 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/0.5289, allocations: 40 kB / 0.6318 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.87e-05/0.5289, allocations: 31.86 kB / 0.6318 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-05/0.529, allocations: 27.88 kB / 0.6318 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.5315, allocations: 1.806 MB / 0.6336 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00068/0.5322, allocations: 335.4 kB / 0.6339 GB, free: 9.953 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.5324, allocations: 39.98 kB / 0.634 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/0.5332, allocations: 44.8 kB / 0.634 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.5334, allocations: 124 kB / 0.6341 GB, free: 9.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.971e-05/0.5335, allocations: 56 kB / 0.6342 GB, free: 9.695 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002696/0.5362, allocations: 1.7 MB / 0.6358 GB, free: 7.988 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5362, allocations: 0 / 0.6358 GB, free: 7.988 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00319/0.5394, allocations: 0.6718 MB / 0.6365 GB, free: 7.316 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (122): * Single equations (assignments): 122 * 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.003032/0.5425, allocations: 2.452 MB / 0.6389 GB, free: 4.637 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004666/0.5471, allocations: 2.554 MB / 0.6414 GB, free: 2.102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/0.5472, allocations: 4 kB / 0.6414 GB, free: 2.098 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009235/0.5481, allocations: 0.5735 MB / 0.6419 GB, free: 1.527 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.5501, allocations: 329.3 kB / 0.6423 GB, free: 1.211 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/0.5931, allocations: 28.2 MB / 0.6698 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/0.5963, allocations: 2.742 MB / 0.6725 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002559/0.5989, allocations: 1.045 MB / 0.6735 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/0.6009, allocations: 1.472 MB / 0.6749 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of SimCode: time 7.62e-07/0.6009, allocations: 0 / 0.6749 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09273/0.6936, allocations: 46.74 MB / 0.7206 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.81, allocations: 19.83 kB / 0.7206 GB, free: 13.59 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches