Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00153/0.00153, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001695/0.001695, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 44.92 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3339, allocations: 65.46 MB / 0.5582 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01248/0.3464, allocations: 9.594 MB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006475/0.3529, allocations: 2.955 MB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.3542, allocations: 59.81 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.3583, allocations: 2.029 MB / 0.5725 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.3614, allocations: 1.133 MB / 0.5736 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.3622, allocations: 299.4 kB / 0.5739 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003594/0.3658, allocations: 2.325 MB / 0.5762 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.3682, allocations: 1.746 MB / 0.5779 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.3695, allocations: 0.8878 MB / 0.5788 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.3712, allocations: 1.25 MB / 0.58 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003356/0.3716, allocations: 196 kB / 0.5802 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3729, allocations: 0.7293 MB / 0.5809 GB, free: 428 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.3739, allocations: 1.133 MB / 0.582 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.3752, allocations: 1.312 MB / 0.5833 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004846/0.3801, allocations: 4.333 MB / 0.5875 GB, free: 9.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3801, allocations: 4 kB / 0.5875 GB, free: 9.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3801, allocations: 0 / 0.5875 GB, free: 9.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.186e-05/0.3802, allocations: 0 / 0.5875 GB, free: 9.613 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.005054/0.3852, allocations: 2.866 MB / 0.5903 GB, free: 6.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3853, allocations: 8.031 kB / 0.5903 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.3904, allocations: 1.578 MB / 0.5919 GB, free: 5.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.3933, allocations: 1.275 MB / 0.5931 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.3934, allocations: 152 kB / 0.5933 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.3938, allocations: 187.8 kB / 0.5934 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.4038, allocations: 6.246 MB / 0.5995 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/0.4039, allocations: 11.88 kB / 0.5995 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.4041, allocations: 87.91 kB / 0.5996 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002101/0.4062, allocations: 1.344 MB / 0.6009 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.4164, allocations: 5.33 MB / 0.6061 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03371/0.4501, allocations: 19.95 MB / 0.6256 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004538/0.4546, allocations: 1.559 MB / 0.6272 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.4558, allocations: 0.6446 MB / 0.6278 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007268/0.463, allocations: 3.027 MB / 0.6307 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.4631, allocations: 43 kB / 0.6308 GB, free: 12.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.567e-06/0.4631, allocations: 3.938 kB / 0.6308 GB, free: 12.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005609/0.4687, allocations: 1.978 MB / 0.6327 GB, free: 10.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.4687, allocations: 55.84 kB / 0.6328 GB, free: 10.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.4723, allocations: 1.942 MB / 0.6347 GB, free: 8.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.4724, allocations: 29.7 kB / 0.6347 GB, free: 8.258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.474, allocations: 1.919 MB / 0.6366 GB, free: 6.316 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.4745, allocations: 325.5 kB / 0.6369 GB, free: 5.996 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009997/0.4755, allocations: 0.6273 MB / 0.6375 GB, free: 5.359 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.4757, allocations: 357.9 kB / 0.6378 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.4772, allocations: 0.8842 MB / 0.6387 GB, free: 4.117 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003175/0.4804, allocations: 2.755 MB / 0.6414 GB, free: 440 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00492/0.4853, allocations: 3.973 MB / 0.6453 GB, free: 11.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.06e-05/0.4853, allocations: 16 kB / 0.6453 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006195/0.4915, allocations: 3.528 MB / 0.6487 GB, free: 7.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.4916, allocations: 36 kB / 0.6488 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.4917, allocations: 68 kB / 0.6488 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.4918, allocations: 84 kB / 0.6489 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.4938, allocations: 0.6589 MB / 0.6495 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001467/0.494, allocations: 131.5 kB / 0.6497 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.4961, allocations: 428.8 kB / 0.6501 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/0.4964, allocations: 192 kB / 0.6503 GB, free: 6.402 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.002276/0.4987, allocations: 1.342 MB / 0.6516 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.499, allocations: 170.8 kB / 0.6517 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.4994, allocations: 196.9 kB / 0.6519 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.4994, allocations: 11.98 kB / 0.6519 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.4994, allocations: 0 / 0.6519 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4995, allocations: 3.984 kB / 0.6519 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008266/0.5077, allocations: 4.045 MB / 0.6559 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.5077, allocations: 8 kB / 0.6559 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.5082, allocations: 103.8 kB / 0.656 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.5082, allocations: 8 kB / 0.656 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.5082, allocations: 20.59 kB / 0.656 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.5082, allocations: 15.92 kB / 0.656 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.5082, allocations: 12 kB / 0.656 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.51, allocations: 1.235 MB / 0.6573 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.5104, allocations: 178.6 kB / 0.6574 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/0.5107, allocations: 27.92 kB / 0.6575 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.5112, allocations: 23.98 kB / 0.6575 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5113, allocations: 55.73 kB / 0.6575 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.5114, allocations: 32 kB / 0.6576 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002016/0.5134, allocations: 1.267 MB / 0.6588 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5134, allocations: 0 / 0.6588 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002655/0.516, allocations: 0.6968 MB / 0.6595 GB, free: 12.73 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.0003637/0.5164, allocations: 139.5 kB / 0.6596 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003353/0.5197, allocations: 1.952 MB / 0.6615 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.5198, allocations: 8.25 kB / 0.6615 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.5204, allocations: 435.8 kB / 0.6619 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.5216, allocations: 221.8 kB / 0.6622 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.5318, allocations: 5.398 MB / 0.6674 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/0.5349, allocations: 2.283 MB / 0.6697 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.5354, allocations: 143.4 kB / 0.6698 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of SimCode: time 6.02e-07/0.5354, allocations: 4 kB / 0.6698 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.05197/0.5873, allocations: 30.25 MB / 0.6993 GB, free: 3.824 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.117846159962937]