Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",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.001049/0.001049, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 184.8 kB / 16.92 MB, free: 6.918 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.401/1.401, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3547/0.3547, allocations: 43.57 MB / 315 MB, free: 8.914 MB / 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.0005062/0.0005062, allocations: 16 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1174, allocations: 58.87 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.2445/0.3619, allocations: 46.26 MB / 489.8 MB, free: 20.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01875/0.3807, allocations: 9.252 MB / 499.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006594/0.3873, allocations: 195.8 kB / 499.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008846/0.3883, allocations: 329 kB / 499.6 MB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.3901, allocations: 0.8937 MB / 0.4887 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3913, allocations: 0.5902 MB / 0.4893 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00316/0.3945, allocations: 3.764 MB / 0.493 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00824/0.4027, allocations: 5.963 MB / 0.4988 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.4049, allocations: 0.9087 MB / 0.4997 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.407, allocations: 1.452 MB / 0.5011 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003644/0.4074, allocations: 127.1 kB / 0.5012 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.4088, allocations: 0.7358 MB / 0.502 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.4103, allocations: 1.397 MB / 0.5033 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.4121, allocations: 1.652 MB / 0.5049 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00843/0.4205, allocations: 5.807 MB / 0.5106 GB, free: 5.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.4206, allocations: 4.969 kB / 0.5106 GB, free: 5.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.4206, allocations: 0 / 0.5106 GB, free: 5.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003478/0.421, allocations: 0 / 0.5106 GB, free: 5.938 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01086/0.4318, allocations: 3.416 MB / 0.5139 GB, free: 3.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.4319, allocations: 9.156 kB / 0.514 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001871/0.4338, allocations: 0.6281 MB / 0.5146 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.4367, allocations: 0.5782 MB / 0.5151 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.4396, allocations: 1.816 MB / 0.5169 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.4398, allocations: 240.7 kB / 0.5171 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004831/0.4403, allocations: 314.4 kB / 0.5174 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/0.4556, allocations: 8.685 MB / 0.5259 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.067e-05/0.4558, allocations: 15.88 kB / 0.5259 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.4561, allocations: 147.8 kB / 0.5261 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002516/0.4586, allocations: 1.557 MB / 0.5276 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.4728, allocations: 6.708 MB / 0.5341 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03508/0.5079, allocations: 26.42 MB / 0.5599 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006098/0.514, allocations: 1.936 MB / 0.5618 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.5153, allocations: 0.8459 MB / 0.5627 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0079/0.5232, allocations: 6.321 MB / 0.5688 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.5233, allocations: 47.22 kB / 0.5689 GB, free: 13.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=77): time 3.807e-06/0.5233, allocations: 0 / 0.5689 GB, free: 13.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.0157/0.539, allocations: 6.237 MB / 0.575 GB, free: 7.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.5391, allocations: 149.6 kB / 0.5751 GB, free: 7.141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/0.5424, allocations: 2.513 MB / 0.5776 GB, free: 4.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/0.5425, allocations: 37.7 kB / 0.5776 GB, free: 4.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.544, allocations: 2.403 MB / 0.5799 GB, free: 2.125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.5443, allocations: 387.2 kB / 0.5803 GB, free: 1.742 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.5446, allocations: 337.7 kB / 0.5806 GB, free: 1.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.5447, allocations: 313.1 kB / 0.5809 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.5461, allocations: 0.9521 MB / 0.5819 GB, free: 148 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.5489, allocations: 3.273 MB / 0.5851 GB, free: 11.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004523/0.5534, allocations: 4.614 MB / 0.5896 GB, free: 5.953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-05/0.5535, allocations: 24 kB / 0.5896 GB, free: 5.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.005703/0.5592, allocations: 4.114 MB / 0.5936 GB, free: 1.809 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.5593, allocations: 40 kB / 0.5936 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-05/0.5593, allocations: 87.94 kB / 0.5937 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/0.5595, allocations: 112 kB / 0.5938 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.5618, allocations: 0.8929 MB / 0.5947 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001119/0.5619, allocations: 163.4 kB / 0.5949 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.5639, allocations: 176 kB / 0.595 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.5642, allocations: 224 kB / 0.5952 GB, free: 132 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 40 (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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],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 (483): * Single equations (assignments): 483 * 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.003152/0.5673, allocations: 1.581 MB / 0.5968 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.5677, allocations: 221.2 kB / 0.597 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.5697, allocations: 1.142 MB / 0.5981 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5697, allocations: 12 kB / 0.5981 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5698, allocations: 0 / 0.5981 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5698, allocations: 12.06 kB / 0.5981 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009057/0.5788, allocations: 5.989 MB / 0.604 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.5789, allocations: 16 kB / 0.604 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.5796, allocations: 215.7 kB / 0.6042 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.219e-05/0.5796, allocations: 20 kB / 0.6042 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.5797, allocations: 43.98 kB / 0.6043 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.491e-05/0.5797, allocations: 31.86 kB / 0.6043 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/0.5797, allocations: 27.88 kB / 0.6043 GB, free: 6.484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.5818, allocations: 1.75 MB / 0.606 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/0.5824, allocations: 318 kB / 0.6063 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.5826, allocations: 47.98 kB / 0.6064 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007102/0.5833, allocations: 39.98 kB / 0.6064 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.5835, allocations: 127.4 kB / 0.6065 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.5835, allocations: 52 kB / 0.6066 GB, free: 3.891 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002472/0.586, allocations: 1.636 MB / 0.6082 GB, free: 2.246 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.586, allocations: 0 / 0.6082 GB, free: 2.246 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003537/0.5896, allocations: 0.6484 MB / 0.6088 GB, free: 1.598 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (120): * Single equations (assignments): 120 * 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.002521/0.5921, allocations: 2.391 MB / 0.6112 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003879/0.596, allocations: 2.283 MB / 0.6134 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.596, allocations: 5 kB / 0.6134 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007237/0.5967, allocations: 0.5263 MB / 0.6139 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007111/0.6039, allocations: 332.4 kB / 0.6142 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2606/0.8645, allocations: 31.35 MB / 0.6448 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004021/0.8686, allocations: 2.743 MB / 0.6475 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002722/0.8713, allocations: 0.9886 MB / 0.6485 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/0.8732, allocations: 1.463 MB / 0.6499 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.623e-06/0.8732, allocations: 0 / 0.6499 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/1.015, allocations: 43.71 MB / 0.6926 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/1.015, allocations: 191.9 kB / 0.6928 GB, free: 140 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.841, allocations: 0 / 0.6928 GB, free: 140 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP/JointUSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches