Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.00161, allocations: 82.03 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 62.43 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01216/0.1341, allocations: 10.83 MB / 490.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006945/0.1411, allocations: 3.408 MB / 494.4 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.1426, allocations: 59.88 kB / 494.4 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00603/0.1487, allocations: 3.295 MB / 497.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.1513, allocations: 0.7812 MB / 498.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.1533, allocations: 0.6628 MB / 499.2 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.1572, allocations: 1.96 MB / 0.4894 GB, free: 128 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006433/0.1637, allocations: 3.941 MB / 0.4932 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002682/0.1664, allocations: 1.235 MB / 0.4944 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003216/0.1696, allocations: 1.651 MB / 0.496 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.1712, allocations: 344 kB / 0.4964 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.1742, allocations: 0.913 MB / 0.4973 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002456/0.1766, allocations: 1.508 MB / 0.4987 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004582/0.1813, allocations: 1.737 MB / 0.5004 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.253/0.4342, allocations: 5.548 MB / 0.5058 GB, free: 21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.4343, allocations: 0.75 kB / 0.5058 GB, free: 21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4343, allocations: 0.5 kB / 0.5058 GB, free: 21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002146/0.4345, allocations: 0 / 0.5058 GB, free: 21 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.00944/0.444, allocations: 3.733 MB / 0.5095 GB, free: 19.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.444, allocations: 10.16 kB / 0.5095 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000847/0.4449, allocations: 0.5333 MB / 0.51 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.4473, allocations: 0.5741 MB / 0.5106 GB, free: 19.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.451, allocations: 1.739 MB / 0.5123 GB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.4512, allocations: 212.7 kB / 0.5125 GB, free: 18.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006835/0.4519, allocations: 277.2 kB / 0.5127 GB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.47, allocations: 7.621 MB / 0.5202 GB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-05/0.4701, allocations: 14.47 kB / 0.5202 GB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/0.4704, allocations: 126.8 kB / 0.5203 GB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001562/0.472, allocations: 1.103 MB / 0.5214 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.4861, allocations: 6.182 MB / 0.5274 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02677/0.513, allocations: 22.91 MB / 0.5498 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006133/0.5191, allocations: 1.873 MB / 0.5516 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.5204, allocations: 0.8308 MB / 0.5525 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008026/0.5285, allocations: 5.858 MB / 0.5582 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.5285, allocations: 42.78 kB / 0.5582 GB, free: 3.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=75): time 3.306e-06/0.5286, allocations: 0 / 0.5582 GB, free: 3.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=94): time 0.01483/0.5434, allocations: 4.438 MB / 0.5625 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.5435, allocations: 64.41 kB / 0.5626 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.5469, allocations: 2.279 MB / 0.5648 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.373e-05/0.547, allocations: 37.7 kB / 0.5649 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.5484, allocations: 2.044 MB / 0.5669 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.5487, allocations: 373.7 kB / 0.5672 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009195/0.5496, allocations: 0.6904 MB / 0.5679 GB, free: 9.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.5497, allocations: 309.1 kB / 0.5682 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.5513, allocations: 0.8989 MB / 0.5691 GB, free: 8.348 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/0.5541, allocations: 2.969 MB / 0.572 GB, free: 4.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00489/0.559, allocations: 4.211 MB / 0.5761 GB, free: 15.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.542e-05/0.5591, allocations: 20 kB / 0.5761 GB, free: 15.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006641/0.5658, allocations: 3.775 MB / 0.5798 GB, free: 12.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/0.5659, allocations: 36 kB / 0.5798 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.566, allocations: 76 kB / 0.5799 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.5661, allocations: 96 kB / 0.58 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/0.5684, allocations: 0.7831 MB / 0.5808 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001471/0.5686, allocations: 147.4 kB / 0.5809 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.5706, allocations: 152.2 kB / 0.581 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/0.5709, allocations: 208 kB / 0.5812 GB, free: 10.71 MB / 430.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.002384/0.5733, allocations: 1.418 MB / 0.5826 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.5738, allocations: 201.5 kB / 0.5828 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.5743, allocations: 237 kB / 0.583 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5744, allocations: 8 kB / 0.583 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.5744, allocations: 0.5 kB / 0.583 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5744, allocations: 3.984 kB / 0.583 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.5848, allocations: 5.343 MB / 0.5883 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.747e-05/0.585, allocations: 20 kB / 0.5883 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.5859, allocations: 218 kB / 0.5885 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-05/0.5859, allocations: 30.81 kB / 0.5885 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.5861, allocations: 44 kB / 0.5886 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.923e-05/0.5861, allocations: 35.86 kB / 0.5886 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.577e-05/0.5861, allocations: 36.28 kB / 0.5886 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.589, allocations: 1.716 MB / 0.5903 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009981/0.59, allocations: 298.3 kB / 0.5906 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006867/0.5907, allocations: 43.98 kB / 0.5906 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.5921, allocations: 51.48 kB / 0.5907 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.5923, allocations: 143.3 kB / 0.5908 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/0.5924, allocations: 52 kB / 0.5909 GB, free: 232 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002999/0.5954, allocations: 1.47 MB / 0.5923 GB, free: 14.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5954, allocations: 1.969 kB / 0.5923 GB, free: 14.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003739/0.5991, allocations: 0.5586 MB / 0.5929 GB, free: 14.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 86 * 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.003194/0.6024, allocations: 2.37 MB / 0.5952 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.6061, allocations: 2.231 MB / 0.5973 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.6061, allocations: 4 kB / 0.5974 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.6069, allocations: 0.497 MB / 0.5978 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/0.6092, allocations: 372.9 kB / 0.5982 GB, free: 8.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03804/0.6472, allocations: 26.62 MB / 0.6242 GB, free: 9.809 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003453/0.6507, allocations: 2.46 MB / 0.6266 GB, free: 7.316 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002948/0.6537, allocations: 0.9044 MB / 0.6275 GB, free: 6.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001978/0.6557, allocations: 1.24 MB / 0.6287 GB, free: 5.172 MB / 478.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6557, allocations: 0 / 0.6287 GB, free: 5.172 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/0.7377, allocations: 41.61 MB / 0.6693 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/9.416, allocations: 3.938 kB / 0.6693 GB, free: 11.74 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_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_trunk_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP_res.csv","/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_trunk_ModelicaTest.MultiBody.Joints.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches