Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001677/0.001677, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002059/0.002059, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2382/0.2382, allocations: 46.94 MB / 360.9 MB, free: 4.277 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.CutTorque3,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.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_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 59.91 kB / 0.4966 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3617, allocations: 66.04 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01181/0.3735, allocations: 9.594 MB / 0.5705 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006089/0.3796, allocations: 2.959 MB / 0.5734 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.3806, allocations: 59.81 kB / 0.5734 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.3845, allocations: 2.029 MB / 0.5754 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.387, allocations: 1.136 MB / 0.5765 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007643/0.3878, allocations: 291.5 kB / 0.5768 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.391, allocations: 2.329 MB / 0.5791 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.3932, allocations: 1.73 MB / 0.5808 GB, free: 188 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.3943, allocations: 0.8917 MB / 0.5816 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.396, allocations: 1.262 MB / 0.5829 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.3963, allocations: 192 kB / 0.5831 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.3976, allocations: 0.7255 MB / 0.5838 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.3986, allocations: 1.137 MB / 0.5849 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.3999, allocations: 1.305 MB / 0.5862 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.405, allocations: 4.337 MB / 0.5904 GB, free: 6.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.405, allocations: 7.984 kB / 0.5904 GB, free: 6.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.405, allocations: 0 / 0.5904 GB, free: 6.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.615e-05/0.4051, allocations: 0 / 0.5904 GB, free: 6.297 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.004805/0.4099, allocations: 2.866 MB / 0.5932 GB, free: 3.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4099, allocations: 12.03 kB / 0.5932 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.415, allocations: 1.571 MB / 0.5947 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/0.4179, allocations: 1.282 MB / 0.596 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.4181, allocations: 148 kB / 0.5961 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/0.4184, allocations: 187.8 kB / 0.5963 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.4289, allocations: 6.242 MB / 0.6024 GB, free: 9.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/0.429, allocations: 11.88 kB / 0.6024 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.4292, allocations: 91.91 kB / 0.6025 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002058/0.4312, allocations: 1.348 MB / 0.6038 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.4423, allocations: 5.337 MB / 0.609 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03222/0.4745, allocations: 19.99 MB / 0.6286 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.4785, allocations: 1.482 MB / 0.63 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.4797, allocations: 0.6407 MB / 0.6306 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007573/0.4872, allocations: 3.164 MB / 0.6337 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/0.4873, allocations: 35 kB / 0.6338 GB, free: 8.891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.929e-06/0.4873, allocations: 0 / 0.6338 GB, free: 8.891 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005837/0.4932, allocations: 1.986 MB / 0.6357 GB, free: 6.895 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.4933, allocations: 63.78 kB / 0.6358 GB, free: 6.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.4967, allocations: 1.942 MB / 0.6376 GB, free: 4.875 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.4967, allocations: 33.7 kB / 0.6377 GB, free: 4.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001854/0.4986, allocations: 1.907 MB / 0.6395 GB, free: 2.906 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/0.499, allocations: 329.5 kB / 0.6399 GB, free: 2.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009955/0.5, allocations: 0.6234 MB / 0.6405 GB, free: 1.949 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5002, allocations: 353.9 kB / 0.6408 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.5017, allocations: 0.892 MB / 0.6417 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.5052, allocations: 2.751 MB / 0.6444 GB, free: 13.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005608/0.5108, allocations: 3.98 MB / 0.6482 GB, free: 8.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.028e-05/0.5108, allocations: 16 kB / 0.6483 GB, free: 8.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006339/0.5172, allocations: 3.535 MB / 0.6517 GB, free: 4.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.5172, allocations: 32 kB / 0.6517 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.052e-05/0.5173, allocations: 68 kB / 0.6518 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.5174, allocations: 84 kB / 0.6519 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.5194, allocations: 0.6549 MB / 0.6525 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001117/0.5195, allocations: 132.1 kB / 0.6527 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.5214, allocations: 428.8 kB / 0.6531 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.5217, allocations: 192 kB / 0.6532 GB, free: 2.984 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.002032/0.5237, allocations: 1.342 MB / 0.6546 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.524, allocations: 162.9 kB / 0.6547 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.5243, allocations: 200.9 kB / 0.6549 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.5244, allocations: 11.94 kB / 0.6549 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.5244, allocations: 0 / 0.6549 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5244, allocations: 3.984 kB / 0.6549 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006694/0.5311, allocations: 3.993 MB / 0.6588 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.5311, allocations: 12.16 kB / 0.6588 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.5315, allocations: 103.8 kB / 0.6589 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.5315, allocations: 12 kB / 0.6589 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.5316, allocations: 16 kB / 0.659 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/0.5316, allocations: 15.92 kB / 0.659 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.5316, allocations: 11.94 kB / 0.659 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.5333, allocations: 1.267 MB / 0.6602 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.5336, allocations: 178.6 kB / 0.6604 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.5338, allocations: 19.98 kB / 0.6604 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/0.5343, allocations: 35.94 kB / 0.6604 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.5344, allocations: 55.73 kB / 0.6605 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.5344, allocations: 31.98 kB / 0.6605 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001836/0.5363, allocations: 1.275 MB / 0.6618 GB, free: 10 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5363, allocations: 3.938 kB / 0.6618 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002534/0.5388, allocations: 0.6852 MB / 0.6624 GB, free: 9.309 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.0003272/0.5391, allocations: 142.9 kB / 0.6626 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003369/0.5425, allocations: 1.96 MB / 0.6645 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5425, allocations: 320 / 0.6645 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.5431, allocations: 439.8 kB / 0.6649 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.5444, allocations: 234.1 kB / 0.6651 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009171/0.5535, allocations: 5.122 MB / 0.6701 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002619/0.5561, allocations: 2.283 MB / 0.6724 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002283/0.5584, allocations: 0.9558 MB / 0.6733 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.5587, allocations: 119.4 kB / 0.6734 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.5587, allocations: 0 / 0.6734 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.0381/0.5968, allocations: 17.15 MB / 0.6902 GB, free: 12.81 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.066826177062467]