Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0014/0.0014, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001632/0.001632, allocations: 208.7 kB / 23.72 MB, free: 4.539 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2501/0.2501, allocations: 46.95 MB / 360.9 MB, free: 4.055 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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.91 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3617, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0113/0.373, allocations: 8.404 MB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.3791, allocations: 2.792 MB / 0.572 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3804, allocations: 55.81 kB / 0.5721 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004243/0.3847, allocations: 1.939 MB / 0.574 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.3883, allocations: 1.137 MB / 0.5751 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009026/0.3892, allocations: 291.4 kB / 0.5753 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.3931, allocations: 2.325 MB / 0.5776 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.3958, allocations: 1.738 MB / 0.5793 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.3976, allocations: 0.884 MB / 0.5802 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.4003, allocations: 1.262 MB / 0.5814 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007934/0.4011, allocations: 192 kB / 0.5816 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.4027, allocations: 0.6124 MB / 0.5822 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.4044, allocations: 1.137 MB / 0.5833 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.4065, allocations: 0.9471 MB / 0.5842 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005734/0.4123, allocations: 4.341 MB / 0.5885 GB, free: 7.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4123, allocations: 8 kB / 0.5885 GB, free: 7.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4123, allocations: 0 / 0.5885 GB, free: 7.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.4124, allocations: 0 / 0.5885 GB, free: 7.984 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005583/0.418, allocations: 2.866 MB / 0.5913 GB, free: 5.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4181, allocations: 8.031 kB / 0.5913 GB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/0.4232, allocations: 1.578 MB / 0.5928 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.4265, allocations: 1.279 MB / 0.5941 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.4266, allocations: 148 kB / 0.5942 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.427, allocations: 195.8 kB / 0.5944 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009943/0.437, allocations: 6.242 MB / 0.6005 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.828e-05/0.437, allocations: 11.88 kB / 0.6005 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.4373, allocations: 95.89 kB / 0.6006 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002076/0.4394, allocations: 1.34 MB / 0.6019 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.4501, allocations: 5.322 MB / 0.6071 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02985/0.4799, allocations: 18.3 MB / 0.625 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.4844, allocations: 1.477 MB / 0.6264 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.4855, allocations: 0.6431 MB / 0.627 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008003/0.4935, allocations: 3.001 MB / 0.63 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4936, allocations: 50.88 kB / 0.63 GB, free: 12.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.178e-06/0.4936, allocations: 0 / 0.63 GB, free: 12.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005952/0.4995, allocations: 1.982 MB / 0.632 GB, free: 10.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.4996, allocations: 59.84 kB / 0.632 GB, free: 10.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/0.503, allocations: 1.931 MB / 0.6339 GB, free: 8.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.5031, allocations: 41.7 kB / 0.6339 GB, free: 8.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.5047, allocations: 1.923 MB / 0.6358 GB, free: 6.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.5052, allocations: 325.5 kB / 0.6361 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009684/0.5061, allocations: 0.6195 MB / 0.6367 GB, free: 5.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.5063, allocations: 345.9 kB / 0.6371 GB, free: 5.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.5078, allocations: 0.8881 MB / 0.6379 GB, free: 4.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003148/0.5109, allocations: 2.751 MB / 0.6406 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005128/0.5161, allocations: 3.97 MB / 0.6445 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.285e-05/0.5161, allocations: 24 kB / 0.6445 GB, free: 11.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006229/0.5224, allocations: 3.522 MB / 0.648 GB, free: 8.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.5225, allocations: 37 kB / 0.648 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/0.5226, allocations: 64 kB / 0.648 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.5227, allocations: 92 kB / 0.6481 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/0.5253, allocations: 0.655 MB / 0.6488 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001791/0.5254, allocations: 135.4 kB / 0.6489 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.5278, allocations: 413 kB / 0.6493 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003716/0.5282, allocations: 184 kB / 0.6495 GB, free: 6.578 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 357 * 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.002155/0.5303, allocations: 1.35 MB / 0.6508 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.5306, allocations: 158.9 kB / 0.6509 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.531, allocations: 188 kB / 0.6511 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.531, allocations: 8 kB / 0.6511 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.5311, allocations: 3.938 kB / 0.6511 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5311, allocations: 3.984 kB / 0.6511 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006278/0.5373, allocations: 3.066 MB / 0.6541 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.5373, allocations: 7.938 kB / 0.6541 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.5378, allocations: 99.86 kB / 0.6542 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/0.5378, allocations: 15.94 kB / 0.6543 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.5378, allocations: 23.98 kB / 0.6543 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.716e-05/0.5379, allocations: 11.94 kB / 0.6543 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.5379, allocations: 11.94 kB / 0.6543 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.5396, allocations: 1.249 MB / 0.6555 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.5399, allocations: 154.8 kB / 0.6557 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.5401, allocations: 23.94 kB / 0.6557 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.5406, allocations: 31.92 kB / 0.6557 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.5407, allocations: 47.81 kB / 0.6558 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.5408, allocations: 32 kB / 0.6558 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001755/0.5425, allocations: 1.114 MB / 0.6569 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5425, allocations: 0 / 0.6569 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002941/0.5455, allocations: 0.7045 MB / 0.6576 GB, free: 14.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0004183/0.5459, allocations: 150.9 kB / 0.6577 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003566/0.5495, allocations: 1.956 MB / 0.6596 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/0.5495, allocations: 4 kB / 0.6596 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.5501, allocations: 433.5 kB / 0.66 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.5515, allocations: 194.2 kB / 0.6602 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.5616, allocations: 5.091 MB / 0.6652 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/0.5644, allocations: 1.712 MB / 0.6669 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002183/0.5666, allocations: 0.9273 MB / 0.6678 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.567, allocations: 119.4 kB / 0.6679 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.567, allocations: 0 / 0.6679 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of Templates: time 0.03278/0.5997, allocations: 15.45 MB / 0.683 GB, free: 4.055 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.72211056901142]