Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001311/0.001311, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001435/0.001435, allocations: 211.5 kB / 25.13 MB, free: 3.605 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.456/1.456, allocations: 230.4 MB / 258.7 MB, free: 8.059 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.226/0.226, allocations: 46.93 MB / 362 MB, free: 4.242 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3") [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.002312/0.002312, allocations: 91.83 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3257, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01179/0.3375, allocations: 9.497 MB / 0.5716 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.3441, allocations: 2.949 MB / 0.5745 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.3454, allocations: 55.81 kB / 0.5745 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003951/0.3494, allocations: 2.029 MB / 0.5765 GB, free: 5.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.3523, allocations: 1.137 MB / 0.5776 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007719/0.3531, allocations: 287.4 kB / 0.5779 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.3564, allocations: 2.333 MB / 0.5802 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.3586, allocations: 1.738 MB / 0.5819 GB, free: 144 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.36, allocations: 0.8917 MB / 0.5827 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.3618, allocations: 1.254 MB / 0.584 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003676/0.3621, allocations: 196 kB / 0.5842 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.3634, allocations: 0.6124 MB / 0.5848 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.3646, allocations: 1.137 MB / 0.5859 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.3659, allocations: 1.308 MB / 0.5871 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005167/0.3711, allocations: 4.334 MB / 0.5914 GB, free: 6.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3711, allocations: 0 / 0.5914 GB, free: 6.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3711, allocations: 4 kB / 0.5914 GB, free: 6.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.429e-05/0.3711, allocations: 3.938 kB / 0.5914 GB, free: 6.367 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.005069/0.3762, allocations: 2.862 MB / 0.5942 GB, free: 3.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3763, allocations: 16.02 kB / 0.5942 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004975/0.3812, allocations: 1.578 MB / 0.5957 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.3844, allocations: 1.271 MB / 0.597 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.3845, allocations: 148 kB / 0.5971 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.3849, allocations: 187.8 kB / 0.5973 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.3954, allocations: 6.254 MB / 0.6034 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/0.3954, allocations: 19.81 kB / 0.6034 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.3956, allocations: 87.91 kB / 0.6035 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002068/0.3977, allocations: 1.34 MB / 0.6048 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.408, allocations: 5.336 MB / 0.61 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/0.4397, allocations: 19.9 MB / 0.6295 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004024/0.4437, allocations: 1.492 MB / 0.6309 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009941/0.4447, allocations: 0.6328 MB / 0.6315 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006471/0.4512, allocations: 3.148 MB / 0.6346 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.4513, allocations: 42.94 kB / 0.6347 GB, free: 9.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.127e-06/0.4513, allocations: 0 / 0.6347 GB, free: 9.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005724/0.457, allocations: 1.986 MB / 0.6366 GB, free: 7.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.457, allocations: 59.78 kB / 0.6367 GB, free: 6.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.4597, allocations: 1.938 MB / 0.6385 GB, free: 5.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/0.4598, allocations: 45.67 kB / 0.6386 GB, free: 4.988 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.4613, allocations: 1.911 MB / 0.6405 GB, free: 3.055 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.4617, allocations: 325.5 kB / 0.6408 GB, free: 2.734 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007767/0.4624, allocations: 0.6194 MB / 0.6414 GB, free: 2.105 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4626, allocations: 357.9 kB / 0.6417 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.464, allocations: 0.892 MB / 0.6426 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.4669, allocations: 2.747 MB / 0.6453 GB, free: 13.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004924/0.4718, allocations: 3.97 MB / 0.6491 GB, free: 8.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.722e-05/0.4718, allocations: 20 kB / 0.6492 GB, free: 8.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006134/0.478, allocations: 3.528 MB / 0.6526 GB, free: 4.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.478, allocations: 36 kB / 0.6526 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.717e-05/0.4781, allocations: 67.94 kB / 0.6527 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.4782, allocations: 91.98 kB / 0.6528 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.4802, allocations: 0.6588 MB / 0.6534 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001122/0.4803, allocations: 127.5 kB / 0.6536 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.4821, allocations: 428.8 kB / 0.654 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.4823, allocations: 192 kB / 0.6542 GB, free: 3.141 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.001963/0.4843, allocations: 1.338 MB / 0.6555 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.4845, allocations: 166.9 kB / 0.6556 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.4849, allocations: 196.9 kB / 0.6558 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.4849, allocations: 11.94 kB / 0.6558 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4849, allocations: 4 kB / 0.6558 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4849, allocations: 0 / 0.6558 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006393/0.4913, allocations: 3.996 MB / 0.6597 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.4914, allocations: 8 kB / 0.6597 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.4918, allocations: 103.8 kB / 0.6598 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.4918, allocations: 12.75 kB / 0.6598 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.4918, allocations: 23.94 kB / 0.6599 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.4918, allocations: 12 kB / 0.6599 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-06/0.4919, allocations: 11.94 kB / 0.6599 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.4935, allocations: 1.27 MB / 0.6611 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.4938, allocations: 178.7 kB / 0.6613 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.494, allocations: 19.98 kB / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.4944, allocations: 35.92 kB / 0.6614 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4945, allocations: 55.81 kB / 0.6614 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.4946, allocations: 28 kB / 0.6614 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001867/0.4965, allocations: 1.271 MB / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4965, allocations: 0 / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00246/0.4989, allocations: 0.6813 MB / 0.6633 GB, free: 9.477 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.0003218/0.4992, allocations: 150.8 kB / 0.6635 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003166/0.5024, allocations: 1.955 MB / 0.6654 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.5024, allocations: 0 / 0.6654 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006111/0.503, allocations: 455 kB / 0.6658 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.5042, allocations: 235.2 kB / 0.666 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008913/0.5132, allocations: 5.126 MB / 0.6711 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/0.5158, allocations: 2.279 MB / 0.6733 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00211/0.5179, allocations: 0.9559 MB / 0.6742 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.5182, allocations: 119.4 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of SimCode: time 1.333e-06/0.5182, allocations: 0 / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.03513/0.5533, allocations: 17.13 MB / 0.6911 GB, free: 12.96 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.6164732980541885]