Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001417/0.001417, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001696/0.001696, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2269/0.2269, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.CutForce3,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.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,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.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.293, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01097/0.3039, allocations: 8.396 MB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.3096, allocations: 2.786 MB / 0.5727 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007404/0.3104, allocations: 59.81 kB / 0.5728 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.3142, allocations: 1.943 MB / 0.5747 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.3166, allocations: 1.133 MB / 0.5758 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.3172, allocations: 291.4 kB / 0.5761 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.3201, allocations: 2.325 MB / 0.5783 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.3221, allocations: 1.75 MB / 0.58 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.3233, allocations: 0.884 MB / 0.5809 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.3249, allocations: 1.262 MB / 0.5821 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003182/0.3252, allocations: 196 kB / 0.5823 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3263, allocations: 0.6124 MB / 0.5829 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.3274, allocations: 1.137 MB / 0.584 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009705/0.3283, allocations: 0.9432 MB / 0.585 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004678/0.333, allocations: 4.338 MB / 0.5892 GB, free: 8.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.333, allocations: 0 / 0.5892 GB, free: 8.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.333, allocations: 0 / 0.5892 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.124e-05/0.3331, allocations: 0 / 0.5892 GB, free: 8.004 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.004609/0.3377, allocations: 2.878 MB / 0.592 GB, free: 5.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3377, allocations: 12.03 kB / 0.592 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005131/0.3428, allocations: 1.574 MB / 0.5936 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.3459, allocations: 1.286 MB / 0.5948 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.346, allocations: 144 kB / 0.595 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004273/0.3465, allocations: 191.8 kB / 0.5951 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.3567, allocations: 6.25 MB / 0.6012 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/0.3567, allocations: 11.88 kB / 0.6012 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.357, allocations: 87.91 kB / 0.6013 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002377/0.3594, allocations: 1.34 MB / 0.6026 GB, free: 9.883 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.3697, allocations: 5.326 MB / 0.6078 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.3957, allocations: 18.25 MB / 0.6257 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004221/0.3999, allocations: 1.551 MB / 0.6272 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000984/0.4009, allocations: 0.6368 MB / 0.6278 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006316/0.4072, allocations: 2.884 MB / 0.6306 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.4072, allocations: 35 kB / 0.6307 GB, free: 12.56 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.4072, allocations: 0 / 0.6307 GB, free: 12.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005597/0.4128, allocations: 1.978 MB / 0.6326 GB, free: 10.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.4129, allocations: 55.84 kB / 0.6326 GB, free: 10.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.4154, allocations: 1.939 MB / 0.6345 GB, free: 8.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.4155, allocations: 33.7 kB / 0.6346 GB, free: 8.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.4169, allocations: 1.915 MB / 0.6364 GB, free: 6.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.4172, allocations: 329.5 kB / 0.6367 GB, free: 6.254 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008482/0.4181, allocations: 0.6195 MB / 0.6374 GB, free: 5.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4183, allocations: 353.9 kB / 0.6377 GB, free: 5.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4196, allocations: 0.8842 MB / 0.6386 GB, free: 4.387 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/0.4227, allocations: 2.751 MB / 0.6412 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/0.4274, allocations: 3.97 MB / 0.6451 GB, free: 11.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.258e-05/0.4275, allocations: 19.94 kB / 0.6451 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005931/0.4334, allocations: 3.524 MB / 0.6486 GB, free: 8.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.4335, allocations: 34.5 kB / 0.6486 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.032e-05/0.4335, allocations: 71.94 kB / 0.6487 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.4337, allocations: 84 kB / 0.6488 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.4356, allocations: 0.6589 MB / 0.6494 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000109/0.4357, allocations: 127.5 kB / 0.6495 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.4376, allocations: 425.1 kB / 0.6499 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.4379, allocations: 184 kB / 0.6501 GB, free: 6.691 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.002142/0.4401, allocations: 1.354 MB / 0.6514 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.4403, allocations: 154.9 kB / 0.6516 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.4406, allocations: 184 kB / 0.6517 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.4406, allocations: 12 kB / 0.6518 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4407, allocations: 4 kB / 0.6518 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4407, allocations: 3.984 kB / 0.6518 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/0.4467, allocations: 3.11 MB / 0.6548 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.4467, allocations: 4 kB / 0.6548 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.4471, allocations: 99.81 kB / 0.6549 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.4471, allocations: 8 kB / 0.6549 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.4472, allocations: 20 kB / 0.6549 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-05/0.4472, allocations: 15.92 kB / 0.6549 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/0.4472, allocations: 8.406 kB / 0.655 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.4488, allocations: 1.229 MB / 0.6562 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.4491, allocations: 154.7 kB / 0.6563 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.4493, allocations: 16 kB / 0.6563 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.4498, allocations: 27.97 kB / 0.6563 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4499, allocations: 59.73 kB / 0.6564 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/0.45, allocations: 32.02 kB / 0.6564 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001604/0.4516, allocations: 1.118 MB / 0.6575 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4516, allocations: 4 kB / 0.6575 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002502/0.4541, allocations: 0.6929 MB / 0.6582 GB, free: 14.17 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.0003091/0.4544, allocations: 150.8 kB / 0.6583 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003081/0.4575, allocations: 1.952 MB / 0.6603 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4575, allocations: 4 kB / 0.6603 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00061/0.4581, allocations: 437 kB / 0.6607 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4591, allocations: 183.8 kB / 0.6608 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.4675, allocations: 5.065 MB / 0.6658 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/0.4698, allocations: 1.708 MB / 0.6675 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002104/0.4719, allocations: 0.9272 MB / 0.6684 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.4722, allocations: 115.4 kB / 0.6685 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.4722, allocations: 3.938 kB / 0.6685 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.03069/0.5029, allocations: 15.49 MB / 0.6836 GB, free: 4.188 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.319041723996634]