Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001326/0.001326, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00149/0.00149, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 46.93 MB / 360.9 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 66.03 MB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01023/0.3115, allocations: 8.182 MB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005295/0.3168, allocations: 2.666 MB / 0.5712 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.3176, allocations: 39.88 kB / 0.5713 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.3204, allocations: 1.3 MB / 0.5726 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.3216, allocations: 481.7 kB / 0.573 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.3225, allocations: 411.1 kB / 0.5734 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.3239, allocations: 1.032 MB / 0.5744 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.3252, allocations: 1.007 MB / 0.5754 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007688/0.326, allocations: 0.5294 MB / 0.5759 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3273, allocations: 0.8138 MB / 0.5767 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.3276, allocations: 116 kB / 0.5768 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.3286, allocations: 0.6084 MB / 0.5774 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007981/0.3294, allocations: 0.7284 MB / 0.5781 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009897/0.3304, allocations: 0.7997 MB / 0.5789 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.3334, allocations: 2.494 MB / 0.5813 GB, free: 15.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3334, allocations: 0 / 0.5813 GB, free: 15.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3334, allocations: 0 / 0.5813 GB, free: 15.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.527e-05/0.3334, allocations: 3.938 kB / 0.5813 GB, free: 15.19 MB / 430.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.004692/0.3381, allocations: 2.101 MB / 0.5834 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3382, allocations: 12.03 kB / 0.5834 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004383/0.3386, allocations: 288.6 kB / 0.5837 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.3397, allocations: 287.4 kB / 0.584 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.3414, allocations: 0.7807 MB / 0.5847 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.571e-05/0.3415, allocations: 94.7 kB / 0.5848 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.3418, allocations: 127.8 kB / 0.5849 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008398/0.3502, allocations: 4.272 MB / 0.5891 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/0.3502, allocations: 11.88 kB / 0.5891 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.3505, allocations: 59.94 kB / 0.5892 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00111/0.3516, allocations: 0.7249 MB / 0.5899 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007747/0.3593, allocations: 3.496 MB / 0.5933 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.3783, allocations: 14.2 MB / 0.6072 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00416/0.3824, allocations: 1.144 MB / 0.6083 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/0.3834, allocations: 0.5957 MB / 0.6089 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005418/0.3888, allocations: 2.775 MB / 0.6116 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.3888, allocations: 42.88 kB / 0.6116 GB, free: 15.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 3.607e-06/0.3888, allocations: 3.938 kB / 0.6116 GB, free: 15.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.00627/0.3951, allocations: 1.768 MB / 0.6133 GB, free: 13.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3952, allocations: 63.34 kB / 0.6134 GB, free: 13.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.3974, allocations: 1.476 MB / 0.6148 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.3975, allocations: 33.7 kB / 0.6149 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009952/0.3985, allocations: 1.245 MB / 0.6161 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.3987, allocations: 182.8 kB / 0.6163 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005497/0.3992, allocations: 435.5 kB / 0.6167 GB, free: 10.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3994, allocations: 357.9 kB / 0.617 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.4002, allocations: 483.9 kB / 0.6175 GB, free: 9.344 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.4021, allocations: 1.897 MB / 0.6193 GB, free: 6.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.4052, allocations: 2.598 MB / 0.6219 GB, free: 3.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.511e-05/0.4052, allocations: 16 kB / 0.6219 GB, free: 3.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003808/0.409, allocations: 2.26 MB / 0.6241 GB, free: 1.137 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.4091, allocations: 35.92 kB / 0.6241 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-05/0.4091, allocations: 48 kB / 0.6242 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.947e-05/0.4092, allocations: 68 kB / 0.6242 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.4106, allocations: 491 kB / 0.6247 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.445e-05/0.4107, allocations: 103.6 kB / 0.6248 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.4121, allocations: 309.7 kB / 0.6251 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.4123, allocations: 136.4 kB / 0.6252 GB, free: 15.96 MB / 478.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.001136/0.4134, allocations: 0.7696 MB / 0.626 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.4136, allocations: 127.1 kB / 0.6261 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.4139, allocations: 140.4 kB / 0.6262 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4139, allocations: 4 kB / 0.6262 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4139, allocations: 0 / 0.6262 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4139, allocations: 7.984 kB / 0.6263 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004646/0.4186, allocations: 2.854 MB / 0.629 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.4186, allocations: 15.94 kB / 0.6291 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.4189, allocations: 99.83 kB / 0.6292 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.105e-05/0.4189, allocations: 24.02 kB / 0.6292 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.419, allocations: 20 kB / 0.6292 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-05/0.419, allocations: 15.94 kB / 0.6292 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.667e-05/0.419, allocations: 23.88 kB / 0.6292 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.4201, allocations: 0.8797 MB / 0.6301 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.4205, allocations: 143 kB / 0.6302 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.4206, allocations: 27.98 kB / 0.6303 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.4211, allocations: 27.94 kB / 0.6303 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4212, allocations: 75.61 kB / 0.6304 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.4212, allocations: 28 kB / 0.6304 GB, free: 10.28 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001358/0.4226, allocations: 0.9089 MB / 0.6313 GB, free: 9.371 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4226, allocations: 0 / 0.6313 GB, free: 9.371 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00174/0.4243, allocations: 410.9 kB / 0.6317 GB, free: 8.969 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.001564/0.4259, allocations: 1.457 MB / 0.6331 GB, free: 7.328 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.4279, allocations: 1.174 MB / 0.6342 GB, free: 6.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.4279, allocations: 0 / 0.6342 GB, free: 6.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.4282, allocations: 234.5 kB / 0.6345 GB, free: 5.938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.4294, allocations: 200.1 kB / 0.6346 GB, free: 5.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.45, allocations: 14.07 MB / 0.6484 GB, free: 5.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.4517, allocations: 1.528 MB / 0.6499 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001438/0.4531, allocations: 0.5699 MB / 0.6504 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000892/0.454, allocations: 0.6164 MB / 0.651 GB, free: 2.965 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.454, allocations: 0 / 0.651 GB, free: 2.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/0.517, allocations: 24.76 MB / 0.6752 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.66, allocations: 25.17 kB / 0.6752 GB, free: 10.38 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.73124242085032]