Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 78.88 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1514, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01171/0.1632, allocations: 8.109 MB / 488.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00632/0.1696, allocations: 2.641 MB / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.1711, allocations: 35.94 kB / 490.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.174, allocations: 1.296 MB / 492.2 MB, free: 9.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.1753, allocations: 445.7 kB / 492.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1764, allocations: 411.1 kB / 493 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.1782, allocations: 1.04 MB / 494.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.1799, allocations: 1.199 MB / 495.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009925/0.1809, allocations: 0.5294 MB / 495.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.1824, allocations: 0.7631 MB / 496.6 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004347/0.1828, allocations: 116 kB / 496.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.1842, allocations: 0.5811 MB / 497.3 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.1852, allocations: 0.7092 MB / 498 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.1868, allocations: 0.8075 MB / 498.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.1902, allocations: 2.41 MB / 0.4895 GB, free: 16 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1902, allocations: 0 / 0.4895 GB, free: 16 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1902, allocations: 0 / 0.4895 GB, free: 16 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.1903, allocations: 0 / 0.4895 GB, free: 16 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.006547/0.1969, allocations: 2.125 MB / 0.4915 GB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.1969, allocations: 16.02 kB / 0.4915 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001001/0.1979, allocations: 292.6 kB / 0.4918 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.1993, allocations: 270.2 kB / 0.4921 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.2011, allocations: 0.8419 MB / 0.4929 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.2012, allocations: 90.69 kB / 0.493 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/0.2016, allocations: 123.9 kB / 0.4931 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008375/0.21, allocations: 4.284 MB / 0.4973 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.2101, allocations: 7.938 kB / 0.4973 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/0.2103, allocations: 55.95 kB / 0.4973 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001085/0.2114, allocations: 0.7287 MB / 0.4981 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007592/0.219, allocations: 3.5 MB / 0.5015 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2297/0.4488, allocations: 14.29 MB / 0.5154 GB, free: 32.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/0.4531, allocations: 1.219 MB / 0.5166 GB, free: 32.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/0.4541, allocations: 0.7024 MB / 0.5173 GB, free: 31.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005409/0.4595, allocations: 3.683 MB / 0.5209 GB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.4596, allocations: 43.11 kB / 0.521 GB, free: 29.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.296e-06/0.4596, allocations: 3.25 kB / 0.521 GB, free: 29.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.006444/0.466, allocations: 1.76 MB / 0.5227 GB, free: 29.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.4661, allocations: 59.72 kB / 0.5227 GB, free: 29.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.4679, allocations: 1.482 MB / 0.5242 GB, free: 28.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.468, allocations: 32.11 kB / 0.5242 GB, free: 28.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.4685, allocations: 1.197 MB / 0.5254 GB, free: 27.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.4686, allocations: 178 kB / 0.5255 GB, free: 27.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.4691, allocations: 434.1 kB / 0.526 GB, free: 27.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.4691, allocations: 351.7 kB / 0.5263 GB, free: 26.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.4698, allocations: 490.1 kB / 0.5268 GB, free: 26.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.471, allocations: 1.885 MB / 0.5286 GB, free: 24.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.473, allocations: 2.604 MB / 0.5311 GB, free: 21.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/0.473, allocations: 14.94 kB / 0.5312 GB, free: 21.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002811/0.4758, allocations: 2.271 MB / 0.5334 GB, free: 20.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.4759, allocations: 23.59 kB / 0.5334 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/0.4759, allocations: 55.12 kB / 0.5335 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.454e-05/0.476, allocations: 67.12 kB / 0.5335 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.4771, allocations: 491.2 kB / 0.534 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.867e-05/0.4771, allocations: 100.8 kB / 0.5341 GB, free: 20.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.4784, allocations: 308.6 kB / 0.5344 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4785, allocations: 130.6 kB / 0.5345 GB, free: 20.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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.0007781/0.4793, allocations: 0.7651 MB / 0.5352 GB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4795, allocations: 122.7 kB / 0.5354 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.4796, allocations: 140.5 kB / 0.5355 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4796, allocations: 3.844 kB / 0.5355 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.4797, allocations: 0 / 0.5355 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4797, allocations: 3.984 kB / 0.5355 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.4828, allocations: 2.889 MB / 0.5383 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.4828, allocations: 8 kB / 0.5383 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.4831, allocations: 99.83 kB / 0.5384 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.4831, allocations: 19.94 kB / 0.5384 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.4831, allocations: 20 kB / 0.5385 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.4831, allocations: 23.92 kB / 0.5385 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.4831, allocations: 23.84 kB / 0.5385 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.4837, allocations: 0.8828 MB / 0.5394 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.484, allocations: 211.4 kB / 0.5396 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.4841, allocations: 28 kB / 0.5396 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.4845, allocations: 27.98 kB / 0.5396 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.4846, allocations: 71.64 kB / 0.5397 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.4846, allocations: 28 kB / 0.5397 GB, free: 15.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000925/0.4855, allocations: 0.9088 MB / 0.5406 GB, free: 14.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4856, allocations: 0 / 0.5406 GB, free: 14.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001764/0.4873, allocations: 406.6 kB / 0.541 GB, free: 14.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * 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.0009777/0.4883, allocations: 1.446 MB / 0.5424 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.4898, allocations: 1.209 MB / 0.5436 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4898, allocations: 0 / 0.5436 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.49, allocations: 246.6 kB / 0.5438 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.491, allocations: 203 kB / 0.544 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/0.5072, allocations: 14.78 MB / 0.5585 GB, free: 9.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.5085, allocations: 1.528 MB / 0.56 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001711/0.5102, allocations: 0.5738 MB / 0.5605 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.511, allocations: 0.6164 MB / 0.5611 GB, free: 7.203 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.511, allocations: 0 / 0.5611 GB, free: 7.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.5563, allocations: 22.4 MB / 0.583 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.695, allocations: 7.109 kB / 0.583 GB, free: 0.9219 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_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_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches