Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_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.001218/0.001218, allocations: 109.5 kB / 17.78 MB, free: 5.293 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.001194/0.001194, allocations: 188 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.88 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3378, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.011/0.3488, allocations: 10.85 MB / 0.529 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007379/0.3562, allocations: 3.365 MB / 0.5323 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.3579, allocations: 64.66 kB / 0.5324 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005682/0.3636, allocations: 3.277 MB / 0.5356 GB, free: 7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3657, allocations: 0.7914 MB / 0.5363 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.3673, allocations: 0.6586 MB / 0.537 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002902/0.3702, allocations: 1.98 MB / 0.5389 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004501/0.3748, allocations: 3.941 MB / 0.5428 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.377, allocations: 1.249 MB / 0.544 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.3793, allocations: 1.644 MB / 0.5456 GB, free: 212 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006174/0.38, allocations: 344 kB / 0.5459 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.3815, allocations: 0.9129 MB / 0.5468 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.3829, allocations: 1.516 MB / 0.5483 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.3846, allocations: 1.752 MB / 0.55 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005463/0.3901, allocations: 5.693 MB / 0.5556 GB, free: 5.965 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3901, allocations: 0 / 0.5556 GB, free: 5.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3901, allocations: 0 / 0.5556 GB, free: 5.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001527/0.3903, allocations: 4 kB / 0.5556 GB, free: 5.961 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.008248/0.3985, allocations: 3.729 MB / 0.5592 GB, free: 2.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3986, allocations: 12.03 kB / 0.5592 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007874/0.3994, allocations: 0.5329 MB / 0.5597 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.4016, allocations: 0.5818 MB / 0.5603 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.4056, allocations: 1.767 MB / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.4058, allocations: 217.6 kB / 0.5622 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005758/0.4064, allocations: 275.8 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.4203, allocations: 7.611 MB / 0.5699 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/0.4204, allocations: 19.81 kB / 0.57 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/0.4207, allocations: 119.9 kB / 0.5701 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.4222, allocations: 1.107 MB / 0.5712 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.4355, allocations: 6.175 MB / 0.5772 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03088/0.4665, allocations: 22.79 MB / 0.5994 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006115/0.4726, allocations: 1.859 MB / 0.6013 GB, free: 6.113 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.474, allocations: 0.8314 MB / 0.6021 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009036/0.4831, allocations: 5.785 MB / 0.6077 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.4832, allocations: 39.22 kB / 0.6078 GB, free: 14.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=75): time 2.585e-06/0.4832, allocations: 0 / 0.6078 GB, free: 14.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.01425/0.4974, allocations: 4.411 MB / 0.6121 GB, free: 10.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.4975, allocations: 72.34 kB / 0.6121 GB, free: 10.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003275/0.5008, allocations: 2.282 MB / 0.6144 GB, free: 8.086 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.501, allocations: 41.7 kB / 0.6144 GB, free: 8.039 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.5023, allocations: 2.043 MB / 0.6164 GB, free: 5.965 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.5027, allocations: 367.3 kB / 0.6167 GB, free: 5.602 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008837/0.5036, allocations: 0.6943 MB / 0.6174 GB, free: 4.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5037, allocations: 305.1 kB / 0.6177 GB, free: 4.598 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.5051, allocations: 0.8929 MB / 0.6186 GB, free: 3.703 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.5077, allocations: 2.973 MB / 0.6215 GB, free: 15.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/0.5122, allocations: 4.206 MB / 0.6256 GB, free: 10.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.495e-05/0.5122, allocations: 20 kB / 0.6256 GB, free: 10.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006056/0.5183, allocations: 3.763 MB / 0.6293 GB, free: 6.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.5184, allocations: 36 kB / 0.6293 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.5185, allocations: 72 kB / 0.6294 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001125/0.5187, allocations: 104 kB / 0.6295 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.521, allocations: 0.7836 MB / 0.6303 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001239/0.5211, allocations: 143.4 kB / 0.6304 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/0.523, allocations: 160.1 kB / 0.6305 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003006/0.5233, allocations: 200 kB / 0.6307 GB, free: 5.188 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 50 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (436): * Single equations (assignments): 436 * 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.002012/0.5253, allocations: 1.411 MB / 0.6321 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.5257, allocations: 201.4 kB / 0.6323 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.5276, allocations: 1.152 MB / 0.6334 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5277, allocations: 8 kB / 0.6334 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.5277, allocations: 4 kB / 0.6334 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5277, allocations: 3.984 kB / 0.6334 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008861/0.5366, allocations: 5.173 MB / 0.6385 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/0.5366, allocations: 16 kB / 0.6385 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/0.5374, allocations: 211.7 kB / 0.6387 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.52e-05/0.5374, allocations: 24 kB / 0.6387 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.5375, allocations: 36 kB / 0.6388 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.346e-05/0.5375, allocations: 31.86 kB / 0.6388 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/0.5375, allocations: 27.88 kB / 0.6388 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.5396, allocations: 1.678 MB / 0.6405 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.5403, allocations: 298.2 kB / 0.6408 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.5406, allocations: 43.98 kB / 0.6408 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008023/0.5414, allocations: 39.98 kB / 0.6408 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5416, allocations: 116 kB / 0.6409 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/0.5416, allocations: 51.94 kB / 0.641 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002342/0.544, allocations: 1.485 MB / 0.6424 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.544, allocations: 0 / 0.6424 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002854/0.5469, allocations: 0.5703 MB / 0.643 GB, free: 8.031 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * 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 (118): * Single equations (assignments): 118 * 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.002707/0.5496, allocations: 2.312 MB / 0.6453 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003502/0.5531, allocations: 2.165 MB / 0.6474 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.5531, allocations: 12.19 kB / 0.6474 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007853/0.5539, allocations: 0.5166 MB / 0.6479 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.5559, allocations: 354.6 kB / 0.6482 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03292/0.5889, allocations: 24.13 MB / 0.6718 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/0.5919, allocations: 2.46 MB / 0.6742 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002329/0.5942, allocations: 0.91 MB / 0.6751 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/0.5957, allocations: 1.249 MB / 0.6763 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.5957, allocations: 0 / 0.6763 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07345/0.6692, allocations: 41.93 MB / 0.7172 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.59, allocations: 3.781 kB / 0.7172 GB, free: 8.945 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches