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.001079/0.001079, allocations: 100.5 kB / 16.4 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.001106/0.001106, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.366/1.366, 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.2038/0.2039, allocations: 43.53 MB / 314.1 MB, free: 456 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.001598/0.001598, allocations: 63.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1022, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01325/0.1155, allocations: 12.64 MB / 0.4997 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007937/0.1234, allocations: 3.717 MB / 0.5034 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.1255, allocations: 63.88 kB / 0.5034 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006239/0.1317, allocations: 3.306 MB / 0.5067 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.1346, allocations: 0.9405 MB / 0.5076 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.1368, allocations: 0.8225 MB / 0.5084 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.1403, allocations: 2.404 MB / 0.5107 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004924/0.1452, allocations: 4.141 MB / 0.5148 GB, free: 92 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.1477, allocations: 1.402 MB / 0.5162 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/0.1504, allocations: 1.811 MB / 0.5179 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008972/0.1514, allocations: 368 kB / 0.5183 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.1535, allocations: 1.018 MB / 0.5193 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002558/0.1561, allocations: 1.695 MB / 0.5209 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002991/0.1591, allocations: 1.981 MB / 0.5229 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006477/0.1656, allocations: 6.405 MB / 0.5291 GB, free: 1.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1657, allocations: 0 / 0.5291 GB, free: 1.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1657, allocations: 0 / 0.5291 GB, free: 1.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000201/0.1659, 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.211/0.3769, allocations: 4.278 MB / 0.5333 GB, free: 37.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.377, allocations: 14.27 kB / 0.5333 GB, free: 37.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001555/0.3785, allocations: 0.6382 MB / 0.5339 GB, free: 37.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/0.3814, allocations: 0.5814 MB / 0.5345 GB, free: 37.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004565/0.386, allocations: 1.898 MB / 0.5363 GB, free: 37.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.3862, allocations: 238.6 kB / 0.5366 GB, free: 36.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007016/0.3869, allocations: 308.7 kB / 0.5369 GB, free: 36.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.4053, allocations: 9.213 MB / 0.5459 GB, free: 33.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.714e-05/0.4054, allocations: 22.42 kB / 0.5459 GB, free: 33.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/0.4058, allocations: 141.7 kB / 0.546 GB, free: 33.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003069/0.4089, allocations: 1.585 MB / 0.5476 GB, free: 32.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.4256, allocations: 7.464 MB / 0.5549 GB, free: 29.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03198/0.4576, allocations: 27.81 MB / 0.582 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006902/0.4646, allocations: 2.333 MB / 0.5843 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.4662, allocations: 1.104 MB / 0.5854 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.4776, allocations: 7.617 MB / 0.5928 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.4777, allocations: 51.09 kB / 0.5929 GB, free: 6.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.917e-06/0.4777, allocations: 3.188 kB / 0.5929 GB, free: 6.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02037/0.4981, allocations: 7.168 MB / 0.5999 GB, free: 15.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.4982, allocations: 145.5 kB / 0.6 GB, free: 15.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.5023, allocations: 2.655 MB / 0.6026 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.5025, allocations: 41.8 kB / 0.6026 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.5041, allocations: 2.43 MB / 0.605 GB, free: 10.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/0.5046, allocations: 399.1 kB / 0.6054 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.5057, allocations: 0.7778 MB / 0.6061 GB, free: 8.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5058, allocations: 301.1 kB / 0.6064 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.5076, allocations: 1.089 MB / 0.6075 GB, free: 7.484 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/0.511, allocations: 3.498 MB / 0.6109 GB, free: 2.793 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005411/0.5164, allocations: 4.974 MB / 0.6158 GB, free: 12.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.699e-05/0.5165, allocations: 24 kB / 0.6158 GB, free: 12.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.0078/0.5243, allocations: 4.454 MB / 0.6201 GB, free: 8.133 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.951e-05/0.5245, allocations: 47.98 kB / 0.6202 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.5246, allocations: 88.09 kB / 0.6203 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.5247, allocations: 115.9 kB / 0.6204 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/0.5277, allocations: 0.9475 MB / 0.6213 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001577/0.5279, allocations: 172.2 kB / 0.6215 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.5305, allocations: 187.8 kB / 0.6217 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004651/0.531, allocations: 240 kB / 0.6219 GB, free: 6.352 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.002703/0.5337, allocations: 1.601 MB / 0.6234 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005056/0.5342, allocations: 233 kB / 0.6237 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.5366, allocations: 1.383 MB / 0.625 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.5366, allocations: 15.94 kB / 0.625 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5366, allocations: 4 kB / 0.625 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5367, allocations: 11.92 kB / 0.6251 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.5473, allocations: 6.025 MB / 0.6309 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.5474, allocations: 16 kB / 0.6309 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.5483, allocations: 223.6 kB / 0.6312 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.47e-05/0.5483, allocations: 20 kB / 0.6312 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.5484, allocations: 40 kB / 0.6312 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.967e-05/0.5485, allocations: 35.86 kB / 0.6313 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-05/0.5485, allocations: 20.41 kB / 0.6313 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.5508, allocations: 1.8 MB / 0.633 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/0.5516, allocations: 318 kB / 0.6333 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/0.5521, allocations: 43.98 kB / 0.6334 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.5533, allocations: 35.98 kB / 0.6334 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.5534, allocations: 132 kB / 0.6335 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/0.5535, allocations: 48 kB / 0.6336 GB, free: 9.805 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00283/0.5564, allocations: 1.7 MB / 0.6352 GB, free: 8.098 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5564, allocations: 0 / 0.6352 GB, free: 8.098 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003397/0.5598, allocations: 0.6731 MB / 0.6359 GB, free: 7.43 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.002896/0.5627, allocations: 2.441 MB / 0.6383 GB, free: 4.766 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003974/0.5667, allocations: 2.555 MB / 0.6408 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.5668, allocations: 4.125 kB / 0.6408 GB, free: 2.234 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008102/0.5676, allocations: 0.5756 MB / 0.6413 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.5696, allocations: 330.6 kB / 0.6417 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0404/0.61, allocations: 28.08 MB / 0.6691 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003684/0.6138, allocations: 2.739 MB / 0.6718 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002823/0.6166, allocations: 1.041 MB / 0.6728 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/0.6188, allocations: 1.464 MB / 0.6742 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/0.6188, allocations: 0 / 0.6742 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/0.7037, allocations: 47.26 MB / 0.7204 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.38, allocations: 11.83 kB / 0.7204 GB, free: 13.37 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