Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2299/0.2299, allocations: 46.9 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 83.84 kB / 0.4968 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3463, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01301/0.3593, allocations: 10.2 MB / 0.5711 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007208/0.3665, allocations: 3.103 MB / 0.5742 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.3682, allocations: 51.94 kB / 0.5742 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005089/0.3733, allocations: 2.644 MB / 0.5768 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.3766, allocations: 1.203 MB / 0.578 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009089/0.3775, allocations: 359.2 kB / 0.5783 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003626/0.3812, allocations: 2.546 MB / 0.5808 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.3838, allocations: 2.117 MB / 0.5829 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.3853, allocations: 1.052 MB / 0.5839 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.3871, allocations: 1.488 MB / 0.5854 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.3875, allocations: 252 kB / 0.5856 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.3889, allocations: 0.7841 MB / 0.5864 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.3901, allocations: 1.367 MB / 0.5877 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.3916, allocations: 1.557 MB / 0.5892 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005318/0.3969, allocations: 5.128 MB / 0.5942 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3969, allocations: 0 / 0.5942 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3969, allocations: 0 / 0.5942 GB, free: 3.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.065e-05/0.397, allocations: 0 / 0.5942 GB, free: 3.023 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.005587/0.4026, allocations: 3.349 MB / 0.5975 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4026, allocations: 16.03 kB / 0.5975 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/0.4081, allocations: 1.625 MB / 0.5991 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.4115, allocations: 1.501 MB / 0.6006 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.4117, allocations: 184.9 kB / 0.6007 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000408/0.4121, allocations: 227.8 kB / 0.601 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.4237, allocations: 7.114 MB / 0.6079 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-05/0.4237, allocations: 15.81 kB / 0.6079 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.424, allocations: 107.9 kB / 0.608 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.4264, allocations: 1.443 MB / 0.6094 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.4386, allocations: 5.949 MB / 0.6152 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03822/0.4768, allocations: 22.35 MB / 0.6371 GB, free: 6.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005226/0.482, allocations: 2.117 MB / 0.6391 GB, free: 3.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.4832, allocations: 0.7212 MB / 0.6398 GB, free: 3.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008147/0.4914, allocations: 3.853 MB / 0.6436 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.4914, allocations: 47.05 kB / 0.6436 GB, free: 15.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.467e-06/0.4914, allocations: 0 / 0.6436 GB, free: 15.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006669/0.4981, allocations: 2.253 MB / 0.6458 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.4981, allocations: 59.97 kB / 0.6459 GB, free: 12.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.5017, allocations: 2.06 MB / 0.6479 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.5018, allocations: 37.7 kB / 0.6479 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.5035, allocations: 2.11 MB / 0.65 GB, free: 8.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004033/0.5039, allocations: 361.3 kB / 0.6504 GB, free: 8.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000996/0.5049, allocations: 0.6512 MB / 0.651 GB, free: 7.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.5051, allocations: 365.9 kB / 0.6513 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.5067, allocations: 0.9352 MB / 0.6522 GB, free: 6.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/0.51, allocations: 2.876 MB / 0.6551 GB, free: 2.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005192/0.5152, allocations: 4.151 MB / 0.6591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.398e-05/0.5153, allocations: 16 kB / 0.6591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006683/0.5219, allocations: 3.71 MB / 0.6628 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.135e-05/0.522, allocations: 36 kB / 0.6628 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/0.5221, allocations: 68 kB / 0.6628 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.5223, allocations: 88.75 kB / 0.6629 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.5244, allocations: 0.694 MB / 0.6636 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000146/0.5246, allocations: 131.5 kB / 0.6637 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.5271, allocations: 448.6 kB / 0.6642 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/0.5274, allocations: 196 kB / 0.6644 GB, free: 7.887 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.002729/0.5301, allocations: 1.515 MB / 0.6658 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.5304, allocations: 174.8 kB / 0.666 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.5308, allocations: 218.1 kB / 0.6662 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.5309, allocations: 8 kB / 0.6662 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.5309, allocations: 4 kB / 0.6662 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.5309, allocations: 7.984 kB / 0.6662 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009871/0.5408, allocations: 4.94 MB / 0.671 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5408, allocations: 4 kB / 0.6711 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.5413, allocations: 119.8 kB / 0.6712 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/0.5413, allocations: 16.03 kB / 0.6712 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.5413, allocations: 20 kB / 0.6712 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.5413, allocations: 19.92 kB / 0.6712 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.5414, allocations: 11.94 kB / 0.6712 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.5433, allocations: 1.415 MB / 0.6726 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/0.5438, allocations: 295.5 kB / 0.6729 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.5442, allocations: 27.98 kB / 0.6729 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/0.5448, allocations: 35.94 kB / 0.673 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5449, allocations: 71.69 kB / 0.673 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.545, allocations: 39.97 kB / 0.6731 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002361/0.5474, allocations: 1.444 MB / 0.6745 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5474, allocations: 0 / 0.6745 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002925/0.5503, allocations: 0.7825 MB / 0.6752 GB, free: 12.39 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.0003849/0.5507, allocations: 146.9 kB / 0.6754 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003472/0.5542, allocations: 2.079 MB / 0.6774 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5542, allocations: 0 / 0.6774 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006856/0.5548, allocations: 484.9 kB / 0.6779 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.5564, allocations: 271.3 kB / 0.6781 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.568, allocations: 5.797 MB / 0.6838 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003759/0.5718, allocations: 2.514 MB / 0.6862 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002662/0.5744, allocations: 1.028 MB / 0.6872 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.5749, allocations: 127.4 kB / 0.6874 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/0.5749, allocations: 7.938 kB / 0.6874 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.04004/0.6149, allocations: 17.96 MB / 0.7049 GB, free: 13.86 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.91399442916736]