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.00132/0.00132, allocations: 113.4 kB / 16.41 MB, free: 6.496 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.001266/0.001266, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.419/1.419, 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.2263/0.2263, allocations: 43.53 MB / 314.1 MB, free: 468 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.00214/0.00214, allocations: 75.88 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01477/0.1178, allocations: 12.62 MB / 0.4997 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007828/0.1256, allocations: 3.724 MB / 0.5034 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.1272, allocations: 59.94 kB / 0.5034 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006305/0.1336, allocations: 3.31 MB / 0.5067 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.1362, allocations: 0.9405 MB / 0.5076 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.1384, allocations: 0.8264 MB / 0.5084 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.1424, allocations: 2.396 MB / 0.5107 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005769/0.1482, allocations: 4.141 MB / 0.5148 GB, free: 112 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.1506, allocations: 1.406 MB / 0.5162 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.1538, allocations: 1.807 MB / 0.5179 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.1549, allocations: 368 kB / 0.5183 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.1573, allocations: 1.01 MB / 0.5193 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.1595, allocations: 1.691 MB / 0.5209 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003258/0.1628, allocations: 1.981 MB / 0.5228 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00831/0.1711, allocations: 6.429 MB / 0.5291 GB, free: 1.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1711, allocations: 4 kB / 0.5291 GB, free: 1.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1712, allocations: 0 / 0.5291 GB, free: 1.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000162/0.1713, allocations: 0 / 0.5291 GB, free: 1.371 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.2024/0.3737, allocations: 4.386 MB / 0.5334 GB, free: 38.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3738, allocations: 17.42 kB / 0.5334 GB, free: 38.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/0.3749, allocations: 0.6326 MB / 0.534 GB, free: 38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.3778, allocations: 0.6028 MB / 0.5346 GB, free: 37.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.3816, allocations: 1.899 MB / 0.5365 GB, free: 37.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.3818, allocations: 239.8 kB / 0.5367 GB, free: 37.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006978/0.3825, allocations: 314.3 kB / 0.537 GB, free: 37.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.4005, allocations: 9.211 MB / 0.546 GB, free: 33.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.347e-05/0.4006, allocations: 18.44 kB / 0.546 GB, free: 33.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003154/0.401, allocations: 136.9 kB / 0.5462 GB, free: 33.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002712/0.4037, allocations: 1.593 MB / 0.5477 GB, free: 33.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.4188, allocations: 7.459 MB / 0.555 GB, free: 30.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.028/0.4468, allocations: 27.89 MB / 0.5822 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006679/0.4535, allocations: 2.337 MB / 0.5845 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.4552, allocations: 1.104 MB / 0.5856 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.466, allocations: 7.62 MB / 0.593 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.466, allocations: 47.14 kB / 0.5931 GB, free: 6.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.715e-06/0.466, allocations: 0 / 0.5931 GB, free: 6.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.0205/0.4865, allocations: 7.361 MB / 0.6003 GB, free: 15.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.934e-05/0.4867, allocations: 141.5 kB / 0.6004 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/0.4905, allocations: 2.664 MB / 0.603 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.4906, allocations: 45.8 kB / 0.6031 GB, free: 12.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002036/0.4927, allocations: 2.527 MB / 0.6055 GB, free: 9.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/0.4931, allocations: 409 kB / 0.6059 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.4942, allocations: 0.7824 MB / 0.6067 GB, free: 8.797 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4944, allocations: 305.1 kB / 0.607 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.4962, allocations: 1.085 MB / 0.608 GB, free: 7.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/0.5001, allocations: 3.502 MB / 0.6114 GB, free: 2.715 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006432/0.5066, allocations: 4.967 MB / 0.6163 GB, free: 12.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.196e-05/0.5066, allocations: 24 kB / 0.6163 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.007843/0.5145, allocations: 4.467 MB / 0.6207 GB, free: 8.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.5146, allocations: 44 kB / 0.6207 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.88e-05/0.5147, allocations: 92.11 kB / 0.6208 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.5148, allocations: 115.9 kB / 0.6209 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.5178, allocations: 0.9513 MB / 0.6218 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001541/0.518, allocations: 167.4 kB / 0.622 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.5203, allocations: 195.8 kB / 0.6222 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/0.5206, allocations: 237.8 kB / 0.6224 GB, free: 6.266 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.002499/0.5231, allocations: 1.604 MB / 0.624 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.5235, allocations: 242.4 kB / 0.6242 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.5259, allocations: 1.387 MB / 0.6256 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.5259, allocations: 15.94 kB / 0.6256 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5259, allocations: 4 kB / 0.6256 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.526, allocations: 7.984 kB / 0.6256 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009628/0.5356, allocations: 6.034 MB / 0.6315 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.5356, allocations: 18.94 kB / 0.6315 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008121/0.5365, allocations: 219.6 kB / 0.6317 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.266e-05/0.5365, allocations: 20 kB / 0.6317 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.5366, allocations: 40 kB / 0.6318 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-05/0.5366, allocations: 35.86 kB / 0.6318 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-05/0.5366, allocations: 24.34 kB / 0.6318 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.539, allocations: 1.806 MB / 0.6336 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/0.5396, allocations: 331.4 kB / 0.6339 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.5399, allocations: 43.98 kB / 0.634 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/0.5407, allocations: 39.98 kB / 0.634 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.5409, allocations: 132 kB / 0.6341 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.541, allocations: 52 kB / 0.6342 GB, free: 9.668 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00266/0.5436, allocations: 1.696 MB / 0.6358 GB, free: 7.965 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5436, allocations: 0 / 0.6358 GB, free: 7.965 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003181/0.5468, allocations: 0.6756 MB / 0.6365 GB, free: 7.289 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.003047/0.5499, allocations: 2.452 MB / 0.6389 GB, free: 4.609 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004301/0.5542, allocations: 2.559 MB / 0.6414 GB, free: 2.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/0.5543, allocations: 4.125 kB / 0.6414 GB, free: 2.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009491/0.5552, allocations: 0.5717 MB / 0.6419 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.5571, allocations: 337.3 kB / 0.6423 GB, free: 1.184 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04301/0.6001, allocations: 28.2 MB / 0.6698 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003661/0.6038, allocations: 2.738 MB / 0.6725 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002572/0.6064, allocations: 1.044 MB / 0.6735 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/0.6087, allocations: 1.468 MB / 0.6749 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.6087, allocations: 0 / 0.6749 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09062/0.6993, allocations: 46.75 MB / 0.7206 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.36, allocations: 11.83 kB / 0.7206 GB, free: 13.57 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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