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.001703/0.001703, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001448/0.001448, allocations: 212.8 kB / 24.52 MB, free: 3.914 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2274/0.2274, allocations: 44.94 MB / 359.6 MB, free: 6.137 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",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.002102/0.002102, allocations: 63.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 65.48 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009838/0.3668, allocations: 7.129 MB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006092/0.3729, allocations: 2.494 MB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.3743, allocations: 39.88 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.3771, allocations: 1.246 MB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.3786, allocations: 473.7 kB / 0.5688 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3797, allocations: 411.1 kB / 0.5692 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.3811, allocations: 1.04 MB / 0.5702 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.3825, allocations: 0.9957 MB / 0.5712 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007848/0.3833, allocations: 0.5295 MB / 0.5717 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.3845, allocations: 0.8254 MB / 0.5725 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.3848, allocations: 116 kB / 0.5726 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3858, allocations: 0.5849 MB / 0.5732 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008587/0.3867, allocations: 0.7245 MB / 0.5739 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000803/0.3875, allocations: 0.6017 MB / 0.5745 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.3908, allocations: 2.517 MB / 0.577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3908, allocations: 0 / 0.577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3908, allocations: 0 / 0.577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.849e-05/0.3908, allocations: 0 / 0.577 GB, free: 3.738 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.005018/0.3958, allocations: 2.101 MB / 0.579 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3959, allocations: 12.03 kB / 0.579 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.327e-05/0.396, allocations: 38.56 kB / 0.5791 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004921/0.3965, allocations: 292.6 kB / 0.5794 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.3976, allocations: 287.4 kB / 0.5796 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.3993, allocations: 0.7923 MB / 0.5804 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.3994, allocations: 94.44 kB / 0.5805 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/0.3998, allocations: 123.9 kB / 0.5806 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00878/0.4085, allocations: 4.33 MB / 0.5848 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/0.4086, allocations: 15.86 kB / 0.5849 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.4088, allocations: 55.95 kB / 0.5849 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/0.41, allocations: 0.721 MB / 0.5856 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008124/0.4181, allocations: 3.5 MB / 0.589 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.4378, allocations: 13.69 MB / 0.6024 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/0.4419, allocations: 1.144 MB / 0.6035 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008611/0.4428, allocations: 0.5918 MB / 0.6041 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005088/0.4478, allocations: 2.67 MB / 0.6067 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.4479, allocations: 46.81 kB / 0.6067 GB, free: 4.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 3.155e-06/0.4479, allocations: 0 / 0.6067 GB, free: 4.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006524/0.4544, allocations: 1.776 MB / 0.6085 GB, free: 2.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.4545, allocations: 59.34 kB / 0.6085 GB, free: 2.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.4567, allocations: 1.472 MB / 0.61 GB, free: 1.141 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.4568, allocations: 37.64 kB / 0.61 GB, free: 1.098 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.4578, allocations: 1.245 MB / 0.6112 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.4581, allocations: 174.8 kB / 0.6114 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/0.4586, allocations: 439.5 kB / 0.6118 GB, free: 15.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4588, allocations: 353.9 kB / 0.6122 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007411/0.4596, allocations: 487.9 kB / 0.6126 GB, free: 14.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.4615, allocations: 1.893 MB / 0.6145 GB, free: 11.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.4645, allocations: 2.598 MB / 0.617 GB, free: 8.469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.552e-05/0.4645, allocations: 12 kB / 0.617 GB, free: 8.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003731/0.4682, allocations: 2.268 MB / 0.6192 GB, free: 6.184 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.4683, allocations: 31.92 kB / 0.6193 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.875e-05/0.4684, allocations: 52 kB / 0.6193 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.887e-05/0.4684, allocations: 79.94 kB / 0.6194 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4698, allocations: 491 kB / 0.6199 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.644e-05/0.4699, allocations: 103.6 kB / 0.62 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.4713, allocations: 313.7 kB / 0.6203 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.4714, allocations: 128 kB / 0.6204 GB, free: 5.008 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.001073/0.4725, allocations: 0.7697 MB / 0.6211 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.4727, allocations: 139 kB / 0.6213 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.4729, allocations: 140.4 kB / 0.6214 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4729, allocations: 4 kB / 0.6214 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4729, allocations: 0 / 0.6214 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4729, allocations: 3.984 kB / 0.6214 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/0.477, allocations: 2.799 MB / 0.6241 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.477, allocations: 12 kB / 0.6241 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.4773, allocations: 100.7 kB / 0.6242 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/0.4773, allocations: 16 kB / 0.6243 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.4774, allocations: 20 kB / 0.6243 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.811e-05/0.4774, allocations: 27.92 kB / 0.6243 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/0.4774, allocations: 19.88 kB / 0.6243 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4784, allocations: 0.8837 MB / 0.6252 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.4787, allocations: 147 kB / 0.6253 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.4789, allocations: 20 kB / 0.6253 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.4793, allocations: 27.98 kB / 0.6254 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.4794, allocations: 71.62 kB / 0.6254 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.4794, allocations: 28 kB / 0.6255 GB, free: 15.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001304/0.4807, allocations: 0.9128 MB / 0.6264 GB, free: 14.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4807, allocations: 0 / 0.6264 GB, free: 14.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001858/0.4826, allocations: 410.9 kB / 0.6267 GB, free: 14.06 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.001541/0.4841, allocations: 1.461 MB / 0.6282 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.4863, allocations: 1.162 MB / 0.6293 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.4863, allocations: 0 / 0.6293 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.4866, allocations: 238.6 kB / 0.6295 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4878, allocations: 213.2 kB / 0.6297 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/0.5095, allocations: 14.07 MB / 0.6435 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.5109, allocations: 0.9465 MB / 0.6444 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00143/0.5123, allocations: 0.5738 MB / 0.645 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008651/0.5132, allocations: 0.6086 MB / 0.6456 GB, free: 8.633 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5132, allocations: 0 / 0.6456 GB, free: 8.633 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06329/0.5765, allocations: 24.07 MB / 0.6691 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.1, allocations: 4.062 kB / 0.6691 GB, free: 0.9609 MB / 0.4981 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: 18.717879281030037]