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.001767/0.001767, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002176/0.002176, allocations: 206.1 kB / 23.73 MB, free: 4.379 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2213/0.2213, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.002028/0.002028, allocations: 63.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3105, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009185/0.3197, allocations: 7.17 MB / 0.5676 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.3245, allocations: 2.51 MB / 0.5701 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.325, allocations: 39.88 kB / 0.5701 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.3276, allocations: 1.254 MB / 0.5713 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.3286, allocations: 469.7 kB / 0.5718 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000934/0.3296, allocations: 415.1 kB / 0.5722 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.3308, allocations: 1.036 MB / 0.5732 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.332, allocations: 0.9919 MB / 0.5741 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.3326, allocations: 0.5372 MB / 0.5747 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.3338, allocations: 0.8176 MB / 0.5755 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.334, allocations: 116 kB / 0.5756 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008907/0.3349, allocations: 0.5811 MB / 0.5761 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007176/0.3356, allocations: 0.7361 MB / 0.5769 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006417/0.3363, allocations: 0.594 MB / 0.5774 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.3391, allocations: 2.525 MB / 0.5799 GB, free: 368 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3391, allocations: 0 / 0.5799 GB, free: 368 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3391, allocations: 0 / 0.5799 GB, free: 368 kB / 414.1 MB Notification: Performance of Transformations before backend: time 4.296e-05/0.3391, allocations: 0 / 0.5799 GB, free: 368 kB / 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.004291/0.3434, allocations: 2.098 MB / 0.582 GB, free: 14.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3435, allocations: 8.031 kB / 0.582 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000347/0.3438, allocations: 288.6 kB / 0.5822 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/0.3448, allocations: 287.4 kB / 0.5825 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.3464, allocations: 0.7884 MB / 0.5833 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/0.3465, allocations: 94.69 kB / 0.5834 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.3468, allocations: 127.9 kB / 0.5835 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007501/0.3543, allocations: 4.323 MB / 0.5877 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.3543, allocations: 15.81 kB / 0.5877 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.3544, allocations: 55.95 kB / 0.5878 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001067/0.3555, allocations: 0.7287 MB / 0.5885 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007191/0.3627, allocations: 3.496 MB / 0.5919 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.3809, allocations: 13.7 MB / 0.6053 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/0.3849, allocations: 1.144 MB / 0.6064 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008404/0.3857, allocations: 0.5919 MB / 0.607 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005261/0.391, allocations: 2.67 MB / 0.6096 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.391, allocations: 34.89 kB / 0.6096 GB, free: 1.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.355e-06/0.391, allocations: 0 / 0.6096 GB, free: 1.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006265/0.3973, allocations: 1.776 MB / 0.6114 GB, free: 15.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3973, allocations: 59.34 kB / 0.6114 GB, free: 15.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.3994, allocations: 1.565 MB / 0.6129 GB, free: 13.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.3995, allocations: 37.7 kB / 0.613 GB, free: 13.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009896/0.4005, allocations: 1.245 MB / 0.6142 GB, free: 12.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.4006, allocations: 178.8 kB / 0.6144 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005085/0.4011, allocations: 439.5 kB / 0.6148 GB, free: 11.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4013, allocations: 349.9 kB / 0.6151 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/0.402, allocations: 491.9 kB / 0.6156 GB, free: 10.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.4039, allocations: 1.893 MB / 0.6174 GB, free: 8.355 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.4069, allocations: 2.598 MB / 0.62 GB, free: 5.047 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.224e-05/0.4069, allocations: 16 kB / 0.62 GB, free: 5.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003488/0.4104, allocations: 2.264 MB / 0.6222 GB, free: 2.762 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.4105, allocations: 31.94 kB / 0.6222 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.964e-05/0.4105, allocations: 52.12 kB / 0.6223 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-05/0.4106, allocations: 68 kB / 0.6223 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.4119, allocations: 491 kB / 0.6228 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.284e-05/0.412, allocations: 103.6 kB / 0.6229 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.4133, allocations: 309.7 kB / 0.6232 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.4134, allocations: 132 kB / 0.6233 GB, free: 1.598 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.001008/0.4144, allocations: 0.7697 MB / 0.6241 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.4146, allocations: 131.1 kB / 0.6242 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.4148, allocations: 144.4 kB / 0.6244 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4148, allocations: 4 kB / 0.6244 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4148, allocations: 0 / 0.6244 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4148, allocations: 0 / 0.6244 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/0.4188, allocations: 2.799 MB / 0.6271 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.4188, allocations: 15.94 kB / 0.6271 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.4191, allocations: 100.6 kB / 0.6272 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/0.4192, allocations: 12 kB / 0.6272 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.4192, allocations: 32 kB / 0.6272 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.4192, allocations: 23.86 kB / 0.6273 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/0.4192, allocations: 19.94 kB / 0.6273 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.4202, allocations: 0.8759 MB / 0.6281 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.4204, allocations: 143 kB / 0.6283 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.4206, allocations: 31.98 kB / 0.6283 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.421, allocations: 20 kB / 0.6283 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.4211, allocations: 79.61 kB / 0.6284 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.4211, allocations: 32 kB / 0.6284 GB, free: 11.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.4223, allocations: 0.9088 MB / 0.6293 GB, free: 11.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4223, allocations: 0 / 0.6293 GB, free: 11.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001561/0.4238, allocations: 407 kB / 0.6297 GB, free: 10.65 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.001349/0.4252, allocations: 1.458 MB / 0.6311 GB, free: 9.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.427, allocations: 1.166 MB / 0.6323 GB, free: 7.855 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.427, allocations: 4 kB / 0.6323 GB, free: 7.852 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.4273, allocations: 238.5 kB / 0.6325 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4283, allocations: 203.4 kB / 0.6327 GB, free: 7.426 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/0.4467, allocations: 14.07 MB / 0.6464 GB, free: 7.391 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.4479, allocations: 0.9466 MB / 0.6474 GB, free: 6.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001282/0.4491, allocations: 0.5699 MB / 0.6479 GB, free: 5.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/0.4499, allocations: 0.6125 MB / 0.6485 GB, free: 5.223 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4499, allocations: 0 / 0.6485 GB, free: 5.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/0.5069, allocations: 24.32 MB / 0.6723 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.48, allocations: 18.03 kB / 0.6723 GB, free: 13.25 MB / 0.5137 GB " [Timeout remaining time 647] (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: 15.605317230016226]