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.001704/0.001704, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001887/0.001887, allocations: 209 kB / 24.48 MB, free: 3.938 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2444/0.2444, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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: 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_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_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3667, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.0125/0.3792, allocations: 8.916 MB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006799/0.386, allocations: 2.932 MB / 0.5734 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.3875, allocations: 59.81 kB / 0.5734 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005468/0.393, allocations: 2.528 MB / 0.5759 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.3966, allocations: 1.214 MB / 0.5771 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3976, allocations: 351.4 kB / 0.5774 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.4015, allocations: 2.543 MB / 0.5799 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.4053, allocations: 2.24 MB / 0.5821 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.4073, allocations: 1.067 MB / 0.5831 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.4099, allocations: 1.37 MB / 0.5845 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007998/0.4107, allocations: 259.9 kB / 0.5847 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.4123, allocations: 0.6709 MB / 0.5854 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.4137, allocations: 1.363 MB / 0.5867 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.4153, allocations: 1.138 MB / 0.5878 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006134/0.4214, allocations: 5.144 MB / 0.5928 GB, free: 4.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4214, allocations: 4 kB / 0.5928 GB, free: 4.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4214, allocations: 0 / 0.5928 GB, free: 4.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.4215, allocations: 0 / 0.5928 GB, free: 4.223 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.006646/0.4282, allocations: 3.274 MB / 0.596 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/0.4283, allocations: 8.031 kB / 0.5961 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/0.4335, allocations: 1.629 MB / 0.5976 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.4373, allocations: 1.447 MB / 0.5991 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.4375, allocations: 185 kB / 0.5992 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005796/0.4381, allocations: 231.8 kB / 0.5995 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.4523, allocations: 7.106 MB / 0.6064 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/0.4524, allocations: 15.88 kB / 0.6064 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008918/0.4533, allocations: 111.9 kB / 0.6065 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00276/0.456, allocations: 1.451 MB / 0.6079 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.4708, allocations: 5.929 MB / 0.6137 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03964/0.5105, allocations: 20.23 MB / 0.6335 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005032/0.5155, allocations: 1.669 MB / 0.6351 GB, free: 7.941 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.5168, allocations: 0.7073 MB / 0.6358 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007747/0.5246, allocations: 3.227 MB / 0.6389 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.5246, allocations: 39.22 kB / 0.639 GB, free: 3.926 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.897e-06/0.5246, allocations: 0 / 0.639 GB, free: 3.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006657/0.5313, allocations: 2.253 MB / 0.6412 GB, free: 1.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.5313, allocations: 56.06 kB / 0.6412 GB, free: 1.602 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/0.5356, allocations: 2.013 MB / 0.6432 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.5358, allocations: 37.7 kB / 0.6432 GB, free: 15.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002065/0.5378, allocations: 2.121 MB / 0.6453 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005676/0.5384, allocations: 353.3 kB / 0.6456 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.5396, allocations: 0.659 MB / 0.6463 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002811/0.5399, allocations: 349.9 kB / 0.6466 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.5416, allocations: 0.9352 MB / 0.6475 GB, free: 11.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/0.5452, allocations: 2.872 MB / 0.6503 GB, free: 7.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005599/0.5508, allocations: 4.156 MB / 0.6544 GB, free: 2.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.034e-05/0.5509, allocations: 23.94 kB / 0.6544 GB, free: 2.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007381/0.5582, allocations: 3.695 MB / 0.658 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.031e-05/0.5583, allocations: 34.81 kB / 0.6581 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.5585, allocations: 72 kB / 0.6581 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.5586, allocations: 88.75 kB / 0.6582 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.5608, allocations: 0.6901 MB / 0.6589 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/0.561, allocations: 135.5 kB / 0.659 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.5634, allocations: 436.8 kB / 0.6594 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004698/0.5639, allocations: 199.9 kB / 0.6596 GB, free: 12.78 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.002962/0.5668, allocations: 1.507 MB / 0.6611 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.5672, allocations: 162.9 kB / 0.6613 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.5677, allocations: 201 kB / 0.6614 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/0.5677, allocations: 12 kB / 0.6615 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5677, allocations: 0 / 0.6615 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5677, allocations: 4 kB / 0.6615 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008758/0.5765, allocations: 3.768 MB / 0.6651 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/0.5765, allocations: 16.03 kB / 0.6652 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.577, allocations: 111.8 kB / 0.6653 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.35e-05/0.577, allocations: 19.92 kB / 0.6653 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/0.5771, allocations: 23.98 kB / 0.6653 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.611e-05/0.5771, allocations: 15.94 kB / 0.6653 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.5771, allocations: 11.94 kB / 0.6653 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.579, allocations: 1.393 MB / 0.6667 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.5795, allocations: 174.7 kB / 0.6669 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/0.5797, allocations: 20 kB / 0.6669 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.5803, allocations: 27.91 kB / 0.6669 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5805, allocations: 67.8 kB / 0.667 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/0.5805, allocations: 43.92 kB / 0.667 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002119/0.5827, allocations: 1.155 MB / 0.6681 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5827, allocations: 0 / 0.6681 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00324/0.5859, allocations: 0.8094 MB / 0.6689 GB, free: 2.98 MB / 0.4981 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.0004305/0.5863, allocations: 155.4 kB / 0.6691 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00369/0.59, allocations: 2.067 MB / 0.6711 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.59, allocations: 4 kB / 0.6711 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.5907, allocations: 485 kB / 0.6716 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.5924, allocations: 203.1 kB / 0.6718 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.6056, allocations: 6.123 MB / 0.6777 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003969/0.6096, allocations: 1.95 MB / 0.6796 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/0.6102, allocations: 147.4 kB / 0.6798 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of SimCode: time 1.904e-06/0.6102, allocations: 0 / 0.6798 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of Templates: time 0.06396/0.6741, allocations: 33.29 MB / 0.7123 GB, free: 6.453 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] 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: 10.410826787818223]