Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00147/0.00147, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.001568/0.001568, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.519/1.519, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2458/0.2458, allocations: 46.96 MB / 361.6 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002475, allocations: 83.88 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3591, allocations: 66.1 MB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01172/0.3708, allocations: 8.393 MB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00636/0.3772, allocations: 2.783 MB / 0.5728 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.3783, allocations: 59.81 kB / 0.5729 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004012/0.3823, allocations: 1.939 MB / 0.5748 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.3853, allocations: 1.136 MB / 0.5759 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.3861, allocations: 291.5 kB / 0.5762 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.3895, allocations: 2.329 MB / 0.5784 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.3917, allocations: 1.73 MB / 0.5801 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.393, allocations: 0.8917 MB / 0.581 GB, free: 340 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.3947, allocations: 1.172 MB / 0.5821 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.3951, allocations: 196 kB / 0.5823 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.3963, allocations: 0.6044 MB / 0.5829 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.3974, allocations: 1.141 MB / 0.584 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.3986, allocations: 0.9509 MB / 0.585 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005076/0.4036, allocations: 4.334 MB / 0.5892 GB, free: 7.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4037, allocations: 0 / 0.5892 GB, free: 7.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4037, allocations: 0 / 0.5892 GB, free: 7.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.4038, allocations: 7.984 kB / 0.5892 GB, free: 7.898 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.00527/0.409, allocations: 2.862 MB / 0.592 GB, free: 4.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4091, allocations: 12.03 kB / 0.592 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005293/0.4144, allocations: 1.574 MB / 0.5935 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/0.4177, allocations: 1.29 MB / 0.5948 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.4178, allocations: 144 kB / 0.5949 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004291/0.4182, allocations: 187.8 kB / 0.5951 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.4287, allocations: 6.246 MB / 0.6012 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/0.4288, allocations: 11.88 kB / 0.6012 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.429, allocations: 91.91 kB / 0.6013 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/0.4313, allocations: 1.34 MB / 0.6026 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.4421, allocations: 5.318 MB / 0.6078 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02919/0.4713, allocations: 18.26 MB / 0.6257 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/0.4755, allocations: 1.559 MB / 0.6272 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009823/0.4765, allocations: 0.6328 MB / 0.6278 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006328/0.4828, allocations: 2.884 MB / 0.6306 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.4829, allocations: 39 kB / 0.6306 GB, free: 12.46 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.847e-06/0.4829, allocations: 0 / 0.6306 GB, free: 12.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005403/0.4883, allocations: 1.971 MB / 0.6326 GB, free: 10.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.4883, allocations: 55.84 kB / 0.6326 GB, free: 10.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.4914, allocations: 1.935 MB / 0.6345 GB, free: 8.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/0.4914, allocations: 45.62 kB / 0.6346 GB, free: 8.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.493, allocations: 1.915 MB / 0.6364 GB, free: 6.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.4933, allocations: 333.5 kB / 0.6367 GB, free: 6.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008235/0.4941, allocations: 0.6156 MB / 0.6373 GB, free: 5.527 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4943, allocations: 353.9 kB / 0.6377 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.4957, allocations: 0.8842 MB / 0.6386 GB, free: 4.289 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.4986, allocations: 2.755 MB / 0.6412 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004807/0.5034, allocations: 3.972 MB / 0.6451 GB, free: 11.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.187e-05/0.5034, allocations: 20 kB / 0.6451 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005871/0.5093, allocations: 3.52 MB / 0.6486 GB, free: 8.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.5094, allocations: 32 kB / 0.6486 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.937e-05/0.5094, allocations: 68 kB / 0.6487 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.836e-05/0.5095, allocations: 87.94 kB / 0.6488 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.5115, allocations: 0.6589 MB / 0.6494 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001132/0.5116, allocations: 131.5 kB / 0.6495 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.5135, allocations: 417.1 kB / 0.6499 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.5138, allocations: 184 kB / 0.6501 GB, free: 6.598 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.002252/0.5161, allocations: 1.353 MB / 0.6514 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.5164, allocations: 158.9 kB / 0.6516 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.5167, allocations: 184 kB / 0.6517 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.5167, allocations: 8 kB / 0.6518 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5167, allocations: 0 / 0.6518 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.5167, allocations: 3.984 kB / 0.6518 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/0.5236, allocations: 3.118 MB / 0.6548 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.5236, allocations: 8 kB / 0.6548 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.524, allocations: 95.81 kB / 0.6549 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.524, allocations: 8 kB / 0.6549 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.5241, allocations: 20 kB / 0.6549 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.5241, allocations: 11.94 kB / 0.6549 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.5241, allocations: 11.88 kB / 0.655 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.5258, allocations: 1.23 MB / 0.6562 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.5262, allocations: 154.7 kB / 0.6563 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.5265, allocations: 23.98 kB / 0.6563 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.5271, allocations: 24.05 kB / 0.6563 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5272, allocations: 59.69 kB / 0.6564 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.5272, allocations: 28 kB / 0.6564 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002031/0.5293, allocations: 1.118 MB / 0.6575 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5293, allocations: 0 / 0.6575 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002713/0.532, allocations: 0.7007 MB / 0.6582 GB, free: 14.07 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.0003766/0.5324, allocations: 146.8 kB / 0.6583 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003367/0.5357, allocations: 1.952 MB / 0.6603 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.5357, allocations: 4 kB / 0.6603 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.5363, allocations: 437.2 kB / 0.6607 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5376, allocations: 178.6 kB / 0.6608 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.5491, allocations: 5.383 MB / 0.6661 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00321/0.5523, allocations: 1.708 MB / 0.6678 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/0.5528, allocations: 139.4 kB / 0.6679 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.5528, allocations: 0 / 0.6679 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of Templates: time 0.05065/0.6035, allocations: 30.04 MB / 0.6972 GB, free: 6.008 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 10.032788089942187]