Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001727/0.001727, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001774/0.001774, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.563/1.563, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2499/0.2499, allocations: 46.96 MB / 360.9 MB, free: 4.059 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3298, allocations: 66.03 MB / 0.5611 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01118/0.341, allocations: 8.408 MB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00619/0.3472, allocations: 2.783 MB / 0.572 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.3484, allocations: 55.81 kB / 0.5721 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003929/0.3524, allocations: 1.932 MB / 0.5739 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.3555, allocations: 1.14 MB / 0.5751 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.3563, allocations: 295.4 kB / 0.5753 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.3599, allocations: 2.325 MB / 0.5776 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.3629, allocations: 1.73 MB / 0.5793 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.365, allocations: 0.8879 MB / 0.5802 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.368, allocations: 1.18 MB / 0.5813 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.3692, allocations: 192 kB / 0.5815 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.3717, allocations: 0.6085 MB / 0.5821 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.3732, allocations: 1.137 MB / 0.5832 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.3745, allocations: 0.9432 MB / 0.5841 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005577/0.38, allocations: 4.346 MB / 0.5884 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3801, allocations: 0 / 0.5884 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3801, allocations: 0 / 0.5884 GB, free: 8.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.916e-05/0.3802, allocations: 0 / 0.5884 GB, free: 8.121 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.004821/0.385, allocations: 2.866 MB / 0.5912 GB, free: 5.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.385, allocations: 8.031 kB / 0.5912 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.3901, allocations: 1.578 MB / 0.5927 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/0.3931, allocations: 1.286 MB / 0.594 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.3932, allocations: 140 kB / 0.5941 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.3936, allocations: 191.8 kB / 0.5943 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009437/0.403, allocations: 6.254 MB / 0.6004 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.187e-05/0.403, allocations: 15.88 kB / 0.6004 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.4033, allocations: 83.91 kB / 0.6005 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/0.4054, allocations: 1.344 MB / 0.6018 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.4154, allocations: 5.326 MB / 0.607 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02644/0.4419, allocations: 18.25 MB / 0.6248 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004269/0.4461, allocations: 1.557 MB / 0.6264 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.4472, allocations: 0.6386 MB / 0.627 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006178/0.4534, allocations: 2.876 MB / 0.6298 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.4534, allocations: 46.97 kB / 0.6298 GB, free: 12.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.506e-06/0.4534, allocations: 0 / 0.6298 GB, free: 12.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005635/0.459, allocations: 1.974 MB / 0.6318 GB, free: 10.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4591, allocations: 59.84 kB / 0.6318 GB, free: 10.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/0.4622, allocations: 1.927 MB / 0.6337 GB, free: 8.688 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.4623, allocations: 41.69 kB / 0.6337 GB, free: 8.641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.4637, allocations: 1.919 MB / 0.6356 GB, free: 6.699 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.464, allocations: 329.5 kB / 0.6359 GB, free: 6.375 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008375/0.4649, allocations: 0.6195 MB / 0.6365 GB, free: 5.746 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4651, allocations: 349.9 kB / 0.6369 GB, free: 5.398 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.4665, allocations: 0.8842 MB / 0.6377 GB, free: 4.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/0.4695, allocations: 2.751 MB / 0.6404 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/0.4744, allocations: 3.973 MB / 0.6443 GB, free: 11.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-05/0.4745, allocations: 20 kB / 0.6443 GB, free: 11.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00619/0.4807, allocations: 3.527 MB / 0.6478 GB, free: 8.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.4807, allocations: 36 kB / 0.6478 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-05/0.4808, allocations: 64 kB / 0.6479 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.4809, allocations: 88 kB / 0.6479 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/0.4829, allocations: 0.655 MB / 0.6486 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001148/0.483, allocations: 127.5 kB / 0.6487 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.4849, allocations: 425.1 kB / 0.6491 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/0.4852, allocations: 192 kB / 0.6493 GB, free: 6.809 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (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.002009/0.4872, allocations: 1.342 MB / 0.6506 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.4874, allocations: 154.9 kB / 0.6507 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.4877, allocations: 188 kB / 0.6509 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.4878, allocations: 8 kB / 0.6509 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4878, allocations: 0 / 0.6509 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4878, allocations: 3.984 kB / 0.6509 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005909/0.4937, allocations: 3.118 MB / 0.654 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.4937, allocations: 4 kB / 0.654 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.4941, allocations: 95.83 kB / 0.6541 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.4941, allocations: 8 kB / 0.6541 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.4942, allocations: 19.98 kB / 0.6541 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.4942, allocations: 11.94 kB / 0.6541 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.4942, allocations: 12.41 kB / 0.6541 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.4958, allocations: 1.225 MB / 0.6553 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.4961, allocations: 162.7 kB / 0.6555 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.4963, allocations: 19.98 kB / 0.6555 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.4967, allocations: 23.97 kB / 0.6555 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.4969, allocations: 63.73 kB / 0.6556 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.4969, allocations: 24 kB / 0.6556 GB, free: 116 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001688/0.4986, allocations: 1.114 MB / 0.6567 GB, free: 15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4986, allocations: 4 kB / 0.6567 GB, free: 15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002588/0.5012, allocations: 0.7006 MB / 0.6574 GB, free: 14.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003477/0.5015, allocations: 146.9 kB / 0.6575 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.505, allocations: 1.952 MB / 0.6594 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.505, allocations: 0 / 0.6594 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.5056, allocations: 441.1 kB / 0.6598 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.5069, allocations: 179 kB / 0.66 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00995/0.5169, allocations: 5.065 MB / 0.665 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/0.5199, allocations: 1.704 MB / 0.6666 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002299/0.5222, allocations: 0.935 MB / 0.6675 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.5226, allocations: 115.4 kB / 0.6676 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of SimCode: time 1.493e-06/0.5226, allocations: 0 / 0.6676 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of Templates: time 0.03259/0.5552, allocations: 14.18 MB / 0.6815 GB, free: 5.629 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.8882883209735155]