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.001275/0.001275, allocations: 103.9 kB / 17.63 MB, free: 5.344 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.001302/0.001302, allocations: 192 kB / 18.56 MB, free: 4.434 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.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2269/0.2269, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 61.03 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09719, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01102/0.1082, allocations: 10.83 MB / 480.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005715/0.114, allocations: 3.373 MB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008315/0.1148, allocations: 59.88 kB / 483.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005146/0.12, allocations: 3.275 MB / 486.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.1216, allocations: 0.8007 MB / 487.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1229, allocations: 0.6589 MB / 488.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.1248, allocations: 1.976 MB / 490.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.1285, allocations: 3.949 MB / 494.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.1298, allocations: 1.243 MB / 495.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.1316, allocations: 1.648 MB / 497.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004464/0.132, allocations: 340 kB / 497.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.1333, allocations: 0.9052 MB / 498.4 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.1345, allocations: 1.512 MB / 499.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.1359, allocations: 1.749 MB / 0.4899 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.1403, allocations: 5.561 MB / 0.4953 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1404, allocations: 7.984 kB / 0.4954 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1404, allocations: 0 / 0.4954 GB, free: 8.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.503e-05/0.1404, allocations: 0 / 0.4954 GB, free: 8.191 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.006488/0.1469, allocations: 3.74 MB / 0.499 GB, free: 4.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.147, allocations: 12.03 kB / 0.499 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006116/0.1476, allocations: 0.5329 MB / 0.4995 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.1497, allocations: 0.5779 MB / 0.5001 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/0.1525, allocations: 1.743 MB / 0.5018 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.1526, allocations: 217.5 kB / 0.502 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004252/0.1531, allocations: 275.9 kB / 0.5023 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1846/0.3377, allocations: 7.609 MB / 0.5097 GB, free: 44.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/0.3378, allocations: 17.75 kB / 0.5097 GB, free: 44.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/0.3381, allocations: 124.4 kB / 0.5098 GB, free: 44.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001686/0.3397, allocations: 1.096 MB / 0.5109 GB, free: 44.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.3554, allocations: 6.178 MB / 0.5169 GB, free: 42.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02412/0.3796, allocations: 22.92 MB / 0.5393 GB, free: 22.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005076/0.3847, allocations: 1.852 MB / 0.5411 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009203/0.3857, allocations: 0.8295 MB / 0.5419 GB, free: 20.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00564/0.3913, allocations: 5.792 MB / 0.5476 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3914, allocations: 39.22 kB / 0.5476 GB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=75): time 2.856e-06/0.3914, allocations: 0 / 0.5476 GB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=94): time 0.01231/0.4037, allocations: 4.409 MB / 0.5519 GB, free: 9.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.4037, allocations: 64.34 kB / 0.552 GB, free: 9.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.4059, allocations: 2.286 MB / 0.5542 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.406, allocations: 45.7 kB / 0.5543 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/0.4068, allocations: 2.043 MB / 0.5563 GB, free: 4.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.407, allocations: 371.3 kB / 0.5566 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006277/0.4076, allocations: 0.6865 MB / 0.5573 GB, free: 3.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.4076, allocations: 306.3 kB / 0.5576 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.4087, allocations: 0.8976 MB / 0.5585 GB, free: 2.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.4106, allocations: 2.961 MB / 0.5614 GB, free: 14.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/0.415, allocations: 4.21 MB / 0.5655 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-05/0.415, allocations: 20 kB / 0.5655 GB, free: 9.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.005792/0.4208, allocations: 3.755 MB / 0.5692 GB, free: 5.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.4209, allocations: 40.22 kB / 0.5692 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.429e-05/0.421, allocations: 76 kB / 0.5693 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.629e-05/0.4211, allocations: 99.98 kB / 0.5694 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.4234, allocations: 0.7844 MB / 0.5701 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001246/0.4235, allocations: 147.4 kB / 0.5703 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/0.4267, allocations: 144 kB / 0.5704 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/0.427, allocations: 203.5 kB / 0.5706 GB, free: 4.184 MB / 398.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.002313/0.4293, allocations: 1.424 MB / 0.572 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.4297, allocations: 201.4 kB / 0.5722 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.4317, allocations: 1.148 MB / 0.5733 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4317, allocations: 16 kB / 0.5733 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.4317, allocations: 1.688 kB / 0.5733 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4317, allocations: 3.984 kB / 0.5733 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008863/0.4406, allocations: 5.171 MB / 0.5784 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.4407, allocations: 16 kB / 0.5784 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006773/0.4413, allocations: 207.7 kB / 0.5786 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.448e-05/0.4414, allocations: 20 kB / 0.5786 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.4415, allocations: 40 kB / 0.5786 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-05/0.4415, allocations: 35.86 kB / 0.5787 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-05/0.4415, allocations: 27.81 kB / 0.5787 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.4436, allocations: 1.678 MB / 0.5803 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/0.4442, allocations: 294.2 kB / 0.5806 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/0.4446, allocations: 39.98 kB / 0.5807 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/0.4455, allocations: 50.55 kB / 0.5807 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4457, allocations: 120 kB / 0.5808 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-05/0.4457, allocations: 48 kB / 0.5809 GB, free: 9.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002616/0.4484, allocations: 1.477 MB / 0.5823 GB, free: 7.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4484, allocations: 4 kB / 0.5823 GB, free: 7.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002969/0.4514, allocations: 0.5767 MB / 0.5829 GB, free: 7.02 MB / 414.1 MB 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.00264/0.454, allocations: 2.319 MB / 0.5851 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.4579, allocations: 2.317 MB / 0.5874 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/0.4579, allocations: 8.062 kB / 0.5874 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007775/0.4587, allocations: 0.5124 MB / 0.5879 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.4608, allocations: 360.9 kB / 0.5883 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03675/0.4975, allocations: 26.46 MB / 0.6141 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004103/0.5017, allocations: 2.46 MB / 0.6165 GB, free: 388 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0029/0.5046, allocations: 0.9139 MB / 0.6174 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/0.5066, allocations: 1.241 MB / 0.6186 GB, free: 14.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.713e-06/0.5067, allocations: 0 / 0.6186 GB, free: 14.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08067/0.5873, allocations: 42.02 MB / 0.6596 GB, free: 4.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.195, allocations: 15.83 kB / 0.6597 GB, free: 4.414 MB / 494.1 MB (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