Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.001648/0.001648, allocations: 109.1 kB / 21.84 MB, free: 88 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.001933/0.001933, allocations: 220.5 kB / 25.13 MB, free: 3.609 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.463/1.463, 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.2345/0.2345, allocations: 46.93 MB / 362 MB, free: 4.227 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2") [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.002405/0.002405, allocations: 79.88 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3386, allocations: 66.08 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01151/0.3501, allocations: 9.501 MB / 0.5716 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005927/0.356, allocations: 2.946 MB / 0.5745 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008801/0.3569, allocations: 55.81 kB / 0.5745 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003789/0.3607, allocations: 2.025 MB / 0.5765 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.3632, allocations: 1.148 MB / 0.5776 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.3639, allocations: 275.5 kB / 0.5779 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.3671, allocations: 2.333 MB / 0.5802 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.3692, allocations: 1.742 MB / 0.5819 GB, free: 132 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.3705, allocations: 0.8956 MB / 0.5827 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.372, allocations: 1.246 MB / 0.584 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.3724, allocations: 192 kB / 0.5841 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.3736, allocations: 0.6241 MB / 0.5848 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.3748, allocations: 1.137 MB / 0.5859 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.3761, allocations: 1.308 MB / 0.5871 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.381, allocations: 4.342 MB / 0.5914 GB, free: 6.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.381, allocations: 0 / 0.5914 GB, free: 6.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.381, allocations: 0 / 0.5914 GB, free: 6.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.292e-05/0.3811, allocations: 0 / 0.5914 GB, free: 6.352 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.0048/0.3859, allocations: 2.862 MB / 0.5942 GB, free: 3.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3859, allocations: 8.031 kB / 0.5942 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/0.3907, allocations: 1.586 MB / 0.5957 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.3933, allocations: 1.271 MB / 0.597 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.3934, allocations: 148 kB / 0.5971 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.3938, allocations: 187.8 kB / 0.5973 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009656/0.4035, allocations: 6.246 MB / 0.6034 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.4035, allocations: 15.88 kB / 0.6034 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.4037, allocations: 83.91 kB / 0.6035 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002026/0.4058, allocations: 1.344 MB / 0.6048 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009683/0.4154, allocations: 5.334 MB / 0.61 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.442, allocations: 19.87 MB / 0.6294 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.4461, allocations: 1.556 MB / 0.6309 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.4471, allocations: 0.6391 MB / 0.6316 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006096/0.4532, allocations: 3.027 MB / 0.6345 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.4532, allocations: 39 kB / 0.6346 GB, free: 9.133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.306e-06/0.4532, allocations: 0 / 0.6346 GB, free: 9.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00542/0.4586, allocations: 1.978 MB / 0.6365 GB, free: 7.145 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.4587, allocations: 67.78 kB / 0.6365 GB, free: 7.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/0.4616, allocations: 1.938 MB / 0.6384 GB, free: 5.125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.4617, allocations: 29.7 kB / 0.6385 GB, free: 5.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.4631, allocations: 1.919 MB / 0.6403 GB, free: 3.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.4634, allocations: 321.6 kB / 0.6407 GB, free: 2.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007745/0.4642, allocations: 0.6234 MB / 0.6413 GB, free: 2.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4644, allocations: 361.9 kB / 0.6416 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.4658, allocations: 0.8842 MB / 0.6425 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.4686, allocations: 2.747 MB / 0.6452 GB, free: 13.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004945/0.4736, allocations: 3.976 MB / 0.649 GB, free: 8.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-05/0.4736, allocations: 19.94 kB / 0.6491 GB, free: 8.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005849/0.4795, allocations: 3.527 MB / 0.6525 GB, free: 4.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.4795, allocations: 32 kB / 0.6525 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.659e-05/0.4796, allocations: 64 kB / 0.6526 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.823e-05/0.4797, allocations: 88 kB / 0.6527 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.4816, allocations: 0.6589 MB / 0.6533 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/0.4817, allocations: 123.5 kB / 0.6534 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.4835, allocations: 445.2 kB / 0.6539 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.4837, allocations: 184 kB / 0.654 GB, free: 3.242 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.00213/0.4859, allocations: 1.346 MB / 0.6553 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.4861, allocations: 162.9 kB / 0.6555 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.4865, allocations: 196.9 kB / 0.6557 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.855e-05/0.4865, allocations: 12 kB / 0.6557 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.4865, allocations: 4 kB / 0.6557 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.4865, allocations: 3.984 kB / 0.6557 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/0.4931, allocations: 4.049 MB / 0.6597 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.4931, allocations: 8 kB / 0.6597 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.4935, allocations: 99.86 kB / 0.6598 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.4935, allocations: 8 kB / 0.6598 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/0.4936, allocations: 23.92 kB / 0.6598 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.4936, allocations: 8 kB / 0.6598 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.4936, allocations: 7.938 kB / 0.6598 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4951, allocations: 1.239 MB / 0.661 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.4955, allocations: 182.6 kB / 0.6612 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.4956, allocations: 23.88 kB / 0.6612 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.4961, allocations: 31.97 kB / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.4962, allocations: 47.81 kB / 0.6613 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.4962, allocations: 31.98 kB / 0.6613 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001794/0.498, allocations: 1.271 MB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.498, allocations: 0 / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002417/0.5004, allocations: 0.689 MB / 0.6632 GB, free: 9.578 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.0002653/0.5007, allocations: 143 kB / 0.6634 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002971/0.5037, allocations: 1.959 MB / 0.6653 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5037, allocations: 0 / 0.6653 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.5042, allocations: 434.4 kB / 0.6657 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.5053, allocations: 248.5 kB / 0.6659 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008272/0.5136, allocations: 5.084 MB / 0.6709 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/0.5161, allocations: 2.275 MB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002127/0.5182, allocations: 0.948 MB / 0.6741 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.5185, allocations: 123.4 kB / 0.6742 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of SimCode: time 1.352e-06/0.5185, allocations: 0 / 0.6742 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.03526/0.5538, allocations: 17.15 MB / 0.6909 GB, free: 13.11 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.593686927109957]