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.001432/0.001432, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001782, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002556, allocations: 85.45 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1256, allocations: 62.45 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.0266/0.1522, allocations: 25.46 MB / 0.493 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.1668, allocations: 5.408 MB / 0.4983 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.1724, allocations: 103.8 kB / 0.4984 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.1756, allocations: 1.282 MB / 0.4996 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.1774, allocations: 422.2 kB / 0.5 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1787, allocations: 383.3 kB / 0.5004 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.181, allocations: 1.652 MB / 0.502 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.1831, allocations: 1.191 MB / 0.5032 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.1841, allocations: 494.2 kB / 0.5037 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.1857, allocations: 0.8098 MB / 0.5044 GB, free: 316 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004557/0.1862, allocations: 96 kB / 0.5045 GB, free: 220 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3062/0.4924, allocations: 0.6109 MB / 0.5051 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.4939, allocations: 0.6937 MB / 0.5058 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.495, allocations: 0.7772 MB / 0.5066 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.4983, allocations: 2.393 MB / 0.5089 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.4983, allocations: 3.406 kB / 0.5089 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4983, allocations: 0 / 0.5089 GB, free: 11.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.577e-05/0.4984, allocations: 0 / 0.5089 GB, free: 11.96 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.005827/0.5042, allocations: 2.123 MB / 0.511 GB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.5043, allocations: 11.62 kB / 0.511 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004814/0.5048, allocations: 291.7 kB / 0.5113 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.506, allocations: 273.7 kB / 0.5115 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.5077, allocations: 0.8386 MB / 0.5124 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.5078, allocations: 95.3 kB / 0.5124 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.508, allocations: 129.4 kB / 0.5126 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009499/0.5176, allocations: 4.272 MB / 0.5167 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.5177, allocations: 13.75 kB / 0.5168 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.5179, allocations: 62.98 kB / 0.5168 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001444/0.5193, allocations: 0.7249 MB / 0.5175 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008547/0.5279, allocations: 3.508 MB / 0.5209 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.5456, allocations: 14.3 MB / 0.5349 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/0.5496, allocations: 1.226 MB / 0.5361 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009151/0.5506, allocations: 0.6959 MB / 0.5368 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006024/0.5566, allocations: 3.683 MB / 0.5404 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.5567, allocations: 38.58 kB / 0.5404 GB, free: 12.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 3.417e-06/0.5567, allocations: 4 kB / 0.5404 GB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.006369/0.5631, allocations: 1.763 MB / 0.5421 GB, free: 11.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.5631, allocations: 59.03 kB / 0.5422 GB, free: 11.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.5653, allocations: 1.475 MB / 0.5436 GB, free: 10.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.5653, allocations: 31.48 kB / 0.5437 GB, free: 10.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/0.5661, allocations: 1.195 MB / 0.5448 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.5662, allocations: 175.3 kB / 0.545 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/0.5668, allocations: 435.7 kB / 0.5454 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5669, allocations: 349.6 kB / 0.5458 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.5676, allocations: 491.8 kB / 0.5462 GB, free: 8.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.5691, allocations: 1.894 MB / 0.5481 GB, free: 6.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.5717, allocations: 2.599 MB / 0.5506 GB, free: 3.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.5718, allocations: 16 kB / 0.5506 GB, free: 3.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00326/0.575, allocations: 2.261 MB / 0.5528 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.5751, allocations: 28 kB / 0.5529 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.465e-05/0.5751, allocations: 52 kB / 0.5529 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.017e-05/0.5752, allocations: 67.94 kB / 0.553 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5765, allocations: 491.4 kB / 0.5534 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.009e-05/0.5766, allocations: 102.1 kB / 0.5535 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.5782, allocations: 300.8 kB / 0.5538 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.5783, allocations: 132 kB / 0.554 GB, free: 312 kB / 398.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.001453/0.5798, allocations: 0.7624 MB / 0.5547 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.58, allocations: 122.4 kB / 0.5548 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.5802, allocations: 144.3 kB / 0.555 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.5802, allocations: 8 kB / 0.555 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5803, allocations: 0 / 0.555 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5803, allocations: 3.938 kB / 0.555 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.5841, allocations: 2.886 MB / 0.5578 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.5841, allocations: 19.38 kB / 0.5578 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.5844, allocations: 102.7 kB / 0.5579 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/0.5844, allocations: 19.94 kB / 0.5579 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.5845, allocations: 24 kB / 0.5579 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.751e-05/0.5845, allocations: 26.92 kB / 0.558 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.5845, allocations: 19.03 kB / 0.558 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.5854, allocations: 0.8699 MB / 0.5588 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.5856, allocations: 222.8 kB / 0.5591 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5858, allocations: 27.98 kB / 0.5591 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.5862, allocations: 20 kB / 0.5591 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.5863, allocations: 74.84 kB / 0.5592 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.5863, allocations: 28 kB / 0.5592 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.5874, allocations: 0.9088 MB / 0.5601 GB, free: 9.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.5874, allocations: 0 / 0.5601 GB, free: 9.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001717/0.5892, allocations: 406 kB / 0.5605 GB, free: 9.371 MB / 414.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.001279/0.5905, allocations: 1.444 MB / 0.5619 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.5923, allocations: 1.181 MB / 0.563 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5924, allocations: 8.125 kB / 0.563 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.5926, allocations: 237.6 kB / 0.5633 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5938, allocations: 200.8 kB / 0.5635 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02106/0.6148, allocations: 15.43 MB / 0.5785 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.6163, allocations: 1.529 MB / 0.58 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001518/0.6178, allocations: 0.5699 MB / 0.5806 GB, free: 2.641 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007216/0.6185, allocations: 0.6164 MB / 0.5812 GB, free: 2.023 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6186, allocations: 0 / 0.5812 GB, free: 2.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.6653, allocations: 21.93 MB / 0.6026 GB, free: 12.27 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.6656, allocations: 196.2 kB / 0.6028 GB, free: 12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.179, allocations: 3.938 kB / 0.6028 GB, free: 12 MB / 462.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/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