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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.92 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 67.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2997, allocations: 65.48 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009993/0.3097, allocations: 8.174 MB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005491/0.3152, allocations: 2.662 MB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009177/0.3161, allocations: 43.88 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.319, allocations: 1.308 MB / 0.5689 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.3203, allocations: 473.7 kB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3214, allocations: 415 kB / 0.5698 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.3231, allocations: 1.036 MB / 0.5708 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.3247, allocations: 0.988 MB / 0.5718 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009349/0.3256, allocations: 0.5294 MB / 0.5723 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.3271, allocations: 0.8254 MB / 0.5731 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003528/0.3275, allocations: 119.9 kB / 0.5732 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.3287, allocations: 0.6045 MB / 0.5738 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009853/0.3297, allocations: 0.7284 MB / 0.5745 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.331, allocations: 0.7959 MB / 0.5753 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003493/0.3345, allocations: 2.499 MB / 0.5777 GB, free: 2.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3345, allocations: 0 / 0.5777 GB, free: 2.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3345, allocations: 4 kB / 0.5777 GB, free: 2.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.517e-05/0.3345, allocations: 0 / 0.5777 GB, free: 2.508 MB / 414.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.005388/0.3399, allocations: 2.092 MB / 0.5798 GB, free: 384 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.34, allocations: 8.031 kB / 0.5798 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005585/0.3405, allocations: 296.6 kB / 0.5801 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3418, allocations: 284.9 kB / 0.5803 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.3436, allocations: 0.7884 MB / 0.5811 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.489e-05/0.3437, allocations: 93.14 kB / 0.5812 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.344, allocations: 123.9 kB / 0.5813 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00844/0.3525, allocations: 4.272 MB / 0.5855 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/0.3525, allocations: 7.938 kB / 0.5855 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.3528, allocations: 63.92 kB / 0.5855 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.3539, allocations: 0.7248 MB / 0.5863 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007853/0.3617, allocations: 3.504 MB / 0.5897 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.3814, allocations: 14.2 MB / 0.6035 GB, free: 7.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.3855, allocations: 1.136 MB / 0.6047 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/0.3864, allocations: 0.588 MB / 0.6052 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004981/0.3914, allocations: 2.798 MB / 0.608 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.3915, allocations: 30.89 kB / 0.608 GB, free: 2.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.505e-06/0.3915, allocations: 0 / 0.608 GB, free: 2.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006348/0.3978, allocations: 1.764 MB / 0.6097 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3979, allocations: 59.34 kB / 0.6098 GB, free: 0.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.4, allocations: 1.484 MB / 0.6112 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.4001, allocations: 41.64 kB / 0.6113 GB, free: 15.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009916/0.4011, allocations: 1.234 MB / 0.6125 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.4013, allocations: 182.7 kB / 0.6126 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005659/0.4018, allocations: 439.5 kB / 0.6131 GB, free: 13.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.402, allocations: 357.9 kB / 0.6134 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007884/0.4028, allocations: 491.9 kB / 0.6139 GB, free: 12.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.4048, allocations: 1.89 MB / 0.6157 GB, free: 10.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.4079, allocations: 2.602 MB / 0.6183 GB, free: 6.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/0.4079, allocations: 12 kB / 0.6183 GB, free: 6.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003906/0.4118, allocations: 2.268 MB / 0.6205 GB, free: 4.453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.4119, allocations: 24 kB / 0.6205 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/0.412, allocations: 56.16 kB / 0.6206 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.319e-05/0.412, allocations: 71.98 kB / 0.6206 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.4134, allocations: 491 kB / 0.6211 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-05/0.4135, allocations: 95.64 kB / 0.6212 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4149, allocations: 309.8 kB / 0.6215 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.4151, allocations: 132 kB / 0.6216 GB, free: 3.297 MB / 462.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.00118/0.4163, allocations: 0.7696 MB / 0.6224 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.4165, allocations: 135.1 kB / 0.6225 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.4168, allocations: 140.4 kB / 0.6226 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.4168, allocations: 4 kB / 0.6226 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4168, allocations: 0 / 0.6226 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4168, allocations: 3.984 kB / 0.6226 GB, free: 2.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/0.4214, allocations: 2.854 MB / 0.6254 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/0.4214, allocations: 15.94 kB / 0.6254 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.4218, allocations: 99.78 kB / 0.6255 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/0.4218, allocations: 15.98 kB / 0.6255 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.4218, allocations: 24 kB / 0.6256 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.607e-05/0.4218, allocations: 19.94 kB / 0.6256 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-05/0.4219, allocations: 20.44 kB / 0.6256 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4229, allocations: 0.8875 MB / 0.6265 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.4232, allocations: 143 kB / 0.6266 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.4234, allocations: 32 kB / 0.6266 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.4239, allocations: 19.98 kB / 0.6267 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.424, allocations: 79.56 kB / 0.6267 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.424, allocations: 27.98 kB / 0.6268 GB, free: 13.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.4254, allocations: 0.9089 MB / 0.6276 GB, free: 12.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4254, allocations: 0 / 0.6276 GB, free: 12.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001929/0.4274, allocations: 407 kB / 0.628 GB, free: 12.3 MB / 478.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.001716/0.4291, allocations: 1.461 MB / 0.6295 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.4312, allocations: 1.177 MB / 0.6306 GB, free: 9.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.4312, allocations: 3.938 kB / 0.6306 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.4316, allocations: 234.5 kB / 0.6308 GB, free: 9.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.4329, allocations: 198.2 kB / 0.631 GB, free: 9.062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/0.4548, allocations: 14.07 MB / 0.6448 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/0.4568, allocations: 1.532 MB / 0.6463 GB, free: 7.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001482/0.4583, allocations: 0.5699 MB / 0.6468 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009254/0.4592, allocations: 0.6164 MB / 0.6474 GB, free: 6.273 MB / 494.1 MB Notification: Performance of SimCode: time 1.864e-06/0.4592, allocations: 0 / 0.6474 GB, free: 6.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06411/0.5233, allocations: 24.77 MB / 0.6716 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.66, allocations: 6.688 kB / 0.6716 GB, free: 13.72 MB / 0.5137 GB " [Timeout remaining time 645] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.91844326793216]