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.001756/0.001756, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001575/0.001575, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2157/0.2157, allocations: 44.94 MB / 358.8 MB, free: 6.047 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.002002/0.002002, allocations: 67.89 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 65.48 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009699/0.3153, allocations: 7.176 MB / 0.564 GB, free: 336 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005476/0.3208, allocations: 2.494 MB / 0.5664 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/0.3218, allocations: 43.88 kB / 0.5665 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.3245, allocations: 1.25 MB / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.3256, allocations: 469.7 kB / 0.5681 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.3266, allocations: 423 kB / 0.5685 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.3281, allocations: 1.032 MB / 0.5695 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.3294, allocations: 0.9956 MB / 0.5705 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008265/0.3302, allocations: 0.5334 MB / 0.571 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.3317, allocations: 0.7629 MB / 0.5718 GB, free: 8.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003151/0.332, allocations: 120 kB / 0.5719 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009816/0.333, allocations: 0.5693 MB / 0.5725 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007538/0.3337, allocations: 0.7284 MB / 0.5732 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000697/0.3344, allocations: 0.6017 MB / 0.5738 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.3373, allocations: 2.521 MB / 0.5762 GB, free: 3.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3373, allocations: 3.938 kB / 0.5762 GB, free: 3.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3373, allocations: 0 / 0.5762 GB, free: 3.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.393e-05/0.3373, allocations: 0 / 0.5762 GB, free: 3.73 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.004592/0.3419, allocations: 2.094 MB / 0.5783 GB, free: 1.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.342, allocations: 12.03 kB / 0.5783 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003923/0.3423, allocations: 288.6 kB / 0.5785 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.3434, allocations: 283.4 kB / 0.5788 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.3452, allocations: 0.7924 MB / 0.5796 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/0.3453, allocations: 90.7 kB / 0.5797 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.3456, allocations: 123.9 kB / 0.5798 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008401/0.354, allocations: 4.33 MB / 0.584 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.725e-05/0.3541, allocations: 15.88 kB / 0.584 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.3542, allocations: 59.94 kB / 0.5841 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/0.3555, allocations: 0.721 MB / 0.5848 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008482/0.364, allocations: 3.508 MB / 0.5882 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.383, allocations: 13.69 MB / 0.6016 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.3869, allocations: 1.14 MB / 0.6027 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008983/0.3878, allocations: 0.5996 MB / 0.6033 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005122/0.3929, allocations: 2.662 MB / 0.6059 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.393, allocations: 42.89 kB / 0.6059 GB, free: 4.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.393, allocations: 0 / 0.6059 GB, free: 4.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006349/0.3993, allocations: 1.772 MB / 0.6077 GB, free: 2.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.3994, allocations: 67.28 kB / 0.6077 GB, free: 2.672 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.4015, allocations: 1.561 MB / 0.6093 GB, free: 1.094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.4016, allocations: 37.64 kB / 0.6093 GB, free: 1.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009877/0.4026, allocations: 1.245 MB / 0.6105 GB, free: 15.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.4027, allocations: 174.8 kB / 0.6107 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000603/0.4033, allocations: 443.5 kB / 0.6111 GB, free: 15.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4035, allocations: 349.9 kB / 0.6114 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.4043, allocations: 491.9 kB / 0.6119 GB, free: 14.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/0.4063, allocations: 1.886 MB / 0.6137 GB, free: 11.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/0.4095, allocations: 2.602 MB / 0.6163 GB, free: 8.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/0.4096, allocations: 12 kB / 0.6163 GB, free: 8.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003996/0.4136, allocations: 2.267 MB / 0.6185 GB, free: 6.133 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.4136, allocations: 27.75 kB / 0.6185 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.863e-05/0.4137, allocations: 52 kB / 0.6186 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-05/0.4138, allocations: 68.75 kB / 0.6187 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.4151, allocations: 495 kB / 0.6191 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.041e-05/0.4152, allocations: 99.59 kB / 0.6192 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.4166, allocations: 313.7 kB / 0.6195 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.4168, allocations: 128 kB / 0.6196 GB, free: 4.977 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.001342/0.4181, allocations: 0.762 MB / 0.6204 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.4184, allocations: 139 kB / 0.6205 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.4187, allocations: 148.4 kB / 0.6207 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-05/0.4187, allocations: 4 kB / 0.6207 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4187, allocations: 4 kB / 0.6207 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4188, allocations: 0 / 0.6207 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.4236, allocations: 2.799 MB / 0.6234 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.4236, allocations: 12 kB / 0.6234 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.4239, allocations: 99.83 kB / 0.6235 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-05/0.4239, allocations: 16 kB / 0.6235 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.424, allocations: 28 kB / 0.6235 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-05/0.424, allocations: 23.92 kB / 0.6236 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-05/0.424, allocations: 20.41 kB / 0.6236 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.4252, allocations: 0.8759 MB / 0.6244 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.4256, allocations: 147 kB / 0.6246 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4257, allocations: 31.98 kB / 0.6246 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.4261, allocations: 20 kB / 0.6246 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.4262, allocations: 79.61 kB / 0.6247 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.4262, allocations: 24 kB / 0.6247 GB, free: 15.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001384/0.4276, allocations: 0.9166 MB / 0.6256 GB, free: 14.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4276, allocations: 0 / 0.6256 GB, free: 14.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00181/0.4294, allocations: 403 kB / 0.626 GB, free: 14.03 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.001601/0.431, allocations: 1.461 MB / 0.6274 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.4332, allocations: 1.17 MB / 0.6286 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4332, allocations: 4.188 kB / 0.6286 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.4335, allocations: 226.5 kB / 0.6288 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4346, allocations: 204.7 kB / 0.629 GB, free: 10.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/0.4537, allocations: 14.07 MB / 0.6427 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.455, allocations: 0.9427 MB / 0.6437 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001382/0.4564, allocations: 0.5738 MB / 0.6442 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007849/0.4571, allocations: 0.6164 MB / 0.6448 GB, free: 8.598 MB / 494.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4571, allocations: 0 / 0.6448 GB, free: 8.598 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06062/0.5178, allocations: 23.54 MB / 0.6678 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.8, allocations: 17.36 kB / 0.6678 GB, free: 1.422 MB / 0.4981 GB " [Timeout remaining time 647] (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: 15.962494713719934]