Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001689/0.001689, 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.002268/0.002268, 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2427/0.2427, allocations: 46.95 MB / 361.7 MB, free: 4.051 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.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 0.4969 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3523, allocations: 66.03 MB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01194/0.3642, allocations: 8.853 MB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00736/0.3716, allocations: 2.921 MB / 0.5728 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.3734, allocations: 59.81 kB / 0.5729 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005379/0.3788, allocations: 2.528 MB / 0.5754 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003525/0.3823, allocations: 1.218 MB / 0.5766 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3834, allocations: 343.4 kB / 0.5769 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004114/0.3875, allocations: 2.539 MB / 0.5794 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/0.3908, allocations: 2.261 MB / 0.5816 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.3928, allocations: 1.063 MB / 0.5826 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.3953, allocations: 1.503 MB / 0.5841 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006719/0.3959, allocations: 252 kB / 0.5843 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.3976, allocations: 0.667 MB / 0.585 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.3993, allocations: 1.367 MB / 0.5863 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.4012, allocations: 1.134 MB / 0.5874 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007256/0.4085, allocations: 5.144 MB / 0.5924 GB, free: 4.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.4085, allocations: 4 kB / 0.5924 GB, free: 4.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4085, allocations: 0 / 0.5924 GB, free: 4.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002329/0.4087, allocations: 0 / 0.5924 GB, free: 4.273 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.009886/0.4186, allocations: 3.278 MB / 0.5956 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.4186, allocations: 8.031 kB / 0.5956 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000162/0.4188, allocations: 76.86 kB / 0.5957 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001142/0.4199, allocations: 0.5537 MB / 0.5963 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00542/0.4254, allocations: 1.621 MB / 0.5978 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/0.4291, allocations: 1.451 MB / 0.5993 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.4293, allocations: 176.5 kB / 0.5994 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009362/0.4303, allocations: 235.9 kB / 0.5997 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/0.4434, allocations: 7.11 MB / 0.6066 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.4434, allocations: 15.88 kB / 0.6066 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/0.4437, allocations: 103.9 kB / 0.6067 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002265/0.446, allocations: 1.447 MB / 0.6081 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.4593, allocations: 5.956 MB / 0.6139 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03713/0.4964, allocations: 21.14 MB / 0.6346 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005165/0.5016, allocations: 1.669 MB / 0.6362 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.5029, allocations: 0.7099 MB / 0.6369 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007807/0.5107, allocations: 3.233 MB / 0.6401 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.5107, allocations: 39.22 kB / 0.6401 GB, free: 2.379 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 5.43e-06/0.5107, allocations: 0 / 0.6401 GB, free: 2.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.0067/0.5174, allocations: 2.261 MB / 0.6423 GB, free: 116 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.5175, allocations: 64 kB / 0.6424 GB, free: 40 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.5209, allocations: 2.052 MB / 0.6444 GB, free: 13.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.521, allocations: 37.7 kB / 0.6444 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001893/0.5229, allocations: 2.114 MB / 0.6465 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.5234, allocations: 357.3 kB / 0.6468 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009975/0.5244, allocations: 0.6551 MB / 0.6475 GB, free: 10.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.5247, allocations: 361.9 kB / 0.6478 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.5262, allocations: 0.9391 MB / 0.6487 GB, free: 9.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/0.5295, allocations: 2.872 MB / 0.6515 GB, free: 5.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/0.5349, allocations: 4.164 MB / 0.6556 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.979e-05/0.535, allocations: 20 kB / 0.6556 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007109/0.5421, allocations: 3.707 MB / 0.6592 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/0.5422, allocations: 36 kB / 0.6593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.319e-05/0.5422, allocations: 68 kB / 0.6593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.5424, allocations: 88 kB / 0.6594 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.5445, allocations: 0.694 MB / 0.6601 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001216/0.5447, allocations: 127.5 kB / 0.6602 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.5471, allocations: 448.6 kB / 0.6606 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/0.5475, allocations: 196.4 kB / 0.6608 GB, free: 11.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (382): * Single equations (assignments): 377 * Array equations: 5 * 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.002988/0.5505, allocations: 1.511 MB / 0.6623 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.5509, allocations: 178.8 kB / 0.6625 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.5514, allocations: 206.2 kB / 0.6627 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/0.5514, allocations: 15.98 kB / 0.6627 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.5515, allocations: 0 / 0.6627 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.5515, allocations: 3.984 kB / 0.6627 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5619, allocations: 4.813 MB / 0.6674 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/0.5619, allocations: 8.969 kB / 0.6674 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.5624, allocations: 115.8 kB / 0.6675 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.5624, allocations: 12 kB / 0.6675 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.5624, allocations: 31.98 kB / 0.6676 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/0.5625, allocations: 11.94 kB / 0.6676 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/0.5625, allocations: 15.94 kB / 0.6676 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.5644, allocations: 1.423 MB / 0.669 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.565, allocations: 222.3 kB / 0.6692 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.5652, allocations: 31.92 kB / 0.6692 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.5658, allocations: 31.94 kB / 0.6692 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5659, allocations: 71.72 kB / 0.6693 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.868e-05/0.566, allocations: 39.97 kB / 0.6693 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002452/0.5685, allocations: 1.452 MB / 0.6708 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5685, allocations: 0 / 0.6708 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003499/0.572, allocations: 0.7824 MB / 0.6715 GB, free: 15.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * 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.002891/0.5748, allocations: 2.028 MB / 0.6735 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00437/0.5792, allocations: 2.076 MB / 0.6755 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.619e-05/0.5792, allocations: 4 kB / 0.6755 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/0.5801, allocations: 477.7 kB / 0.676 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.582, allocations: 276.8 kB / 0.6763 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04507/0.6271, allocations: 23.2 MB / 0.6989 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003551/0.6306, allocations: 1.95 MB / 0.7008 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002579/0.6332, allocations: 1.024 MB / 0.7018 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/0.6352, allocations: 1.202 MB / 0.703 GB, free: 12.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.753e-06/0.6352, allocations: 4 kB / 0.703 GB, free: 12.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4014/1.037, allocations: 38.32 MB / 0.7404 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.64/17.68, allocations: 11.83 kB / 0.7404 GB, free: 159.4 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: 21.450024507008493]