Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",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.001109/0.001109, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001158/0.001158, allocations: 194 kB / 18.12 MB, free: 5.363 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.356/1.356, allocations: 222.9 MB / 241.8 MB, free: 15.59 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.2273/0.2273, allocations: 44.18 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 77.97 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.111, allocations: 60.8 MB / 468.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02442/0.1354, allocations: 25.62 MB / 494.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.147, allocations: 5.416 MB / 499.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/0.1508, allocations: 103.8 kB / 499.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.1534, allocations: 1.282 MB / 0.4893 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.1548, allocations: 418.2 kB / 0.4897 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.1558, allocations: 383.4 kB / 0.4901 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001826/0.1577, allocations: 1.664 MB / 0.4917 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.1593, allocations: 1.203 MB / 0.4929 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007788/0.1601, allocations: 498.1 kB / 0.4933 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.1615, allocations: 0.8138 MB / 0.4941 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.1618, allocations: 95.94 kB / 0.4942 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1628, allocations: 0.6123 MB / 0.4948 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007976/0.1637, allocations: 0.6974 MB / 0.4955 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.1648, allocations: 0.7841 MB / 0.4963 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.1674, allocations: 2.414 MB / 0.4986 GB, free: 4.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1674, allocations: 0 / 0.4986 GB, free: 4.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1674, allocations: 0 / 0.4986 GB, free: 4.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-05/0.1675, allocations: 0 / 0.4986 GB, free: 4.633 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.004935/0.1725, allocations: 2.137 MB / 0.5007 GB, free: 2.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1725, allocations: 8.031 kB / 0.5007 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004968/0.173, allocations: 292.6 kB / 0.501 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1741, allocations: 274.2 kB / 0.5013 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.1757, allocations: 0.8419 MB / 0.5021 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.1758, allocations: 90.7 kB / 0.5022 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.176, allocations: 127.9 kB / 0.5023 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2158/0.3919, allocations: 4.272 MB / 0.5065 GB, free: 50.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.3919, allocations: 10.38 kB / 0.5065 GB, free: 50.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.3921, allocations: 55.52 kB / 0.5065 GB, free: 50.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001155/0.3933, allocations: 0.7291 MB / 0.5072 GB, free: 50.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007248/0.4005, allocations: 3.502 MB / 0.5107 GB, free: 49.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.4161, allocations: 14.32 MB / 0.5246 GB, free: 39.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003744/0.4199, allocations: 1.219 MB / 0.5258 GB, free: 38.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000717/0.4206, allocations: 0.6962 MB / 0.5265 GB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003888/0.4245, allocations: 3.694 MB / 0.5301 GB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.4246, allocations: 38.86 kB / 0.5301 GB, free: 35.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.4246, allocations: 4 kB / 0.5302 GB, free: 35.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.005481/0.4301, allocations: 1.756 MB / 0.5319 GB, free: 33.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.4301, allocations: 59.34 kB / 0.5319 GB, free: 33.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.4315, allocations: 1.488 MB / 0.5334 GB, free: 32.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.4315, allocations: 33.7 kB / 0.5334 GB, free: 32.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.432, allocations: 1.191 MB / 0.5346 GB, free: 31.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/0.4321, allocations: 182.3 kB / 0.5347 GB, free: 30.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.4324, allocations: 431.1 kB / 0.5352 GB, free: 30.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.4325, allocations: 353.9 kB / 0.5355 GB, free: 30.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.4331, allocations: 489.4 kB / 0.536 GB, free: 29.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.4341, allocations: 1.892 MB / 0.5378 GB, free: 27.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.4358, allocations: 2.605 MB / 0.5404 GB, free: 23.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.4358, allocations: 16 kB / 0.5404 GB, free: 23.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002431/0.4382, allocations: 2.258 MB / 0.5426 GB, free: 21.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.4383, allocations: 34.44 kB / 0.5426 GB, free: 21.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/0.4383, allocations: 48 kB / 0.5427 GB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-05/0.4384, allocations: 68.88 kB / 0.5427 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.4394, allocations: 495.7 kB / 0.5432 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.028e-05/0.4395, allocations: 99.64 kB / 0.5433 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4405, allocations: 304.7 kB / 0.5436 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4407, allocations: 132 kB / 0.5437 GB, free: 20.31 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.0007555/0.4414, allocations: 0.762 MB / 0.5444 GB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.4415, allocations: 126.3 kB / 0.5446 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.4417, allocations: 140.5 kB / 0.5447 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4417, allocations: 8 kB / 0.5447 GB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4417, allocations: 4.562 kB / 0.5447 GB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4418, allocations: 3.984 kB / 0.5447 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.4445, allocations: 2.89 MB / 0.5475 GB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.4445, allocations: 16.06 kB / 0.5476 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.4448, allocations: 104.6 kB / 0.5477 GB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.4448, allocations: 16 kB / 0.5477 GB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.4449, allocations: 20 kB / 0.5477 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/0.4449, allocations: 23.92 kB / 0.5477 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.4449, allocations: 15.94 kB / 0.5477 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.4455, allocations: 0.8751 MB / 0.5486 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.4457, allocations: 219.3 kB / 0.5488 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.4458, allocations: 27.94 kB / 0.5488 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.4462, allocations: 27.98 kB / 0.5488 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.4463, allocations: 79.58 kB / 0.5489 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.4463, allocations: 28 kB / 0.5489 GB, free: 14.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008574/0.4472, allocations: 0.9131 MB / 0.5498 GB, free: 13.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4472, allocations: 0 / 0.5498 GB, free: 13.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001407/0.4486, allocations: 406.6 kB / 0.5502 GB, free: 13.19 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.0009552/0.4496, allocations: 1.442 MB / 0.5516 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.4508, allocations: 1.186 MB / 0.5528 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4508, allocations: 4.062 kB / 0.5528 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.451, allocations: 238.5 kB / 0.553 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.452, allocations: 197.9 kB / 0.5532 GB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.4676, allocations: 15.47 MB / 0.5683 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.469, allocations: 1.532 MB / 0.5698 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001496/0.4706, allocations: 0.5708 MB / 0.5704 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007381/0.4713, allocations: 0.6242 MB / 0.571 GB, free: 5.438 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4713, allocations: 0 / 0.571 GB, free: 5.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.5116, allocations: 22 MB / 0.5925 GB, free: 15.61 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.5119, allocations: 192.8 kB / 0.5926 GB, free: 15.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.038, allocations: 64 / 0.5926 GB, free: 15.36 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches