Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.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.001316/0.001316, 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.001435/0.001435, allocations: 219.7 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.449/1.449, allocations: 230.4 MB / 258.7 MB, free: 8.031 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.2325/0.2325, allocations: 46.94 MB / 362.1 MB, free: 4.219 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.CutForce3,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.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-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3") [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.002395/0.002395, allocations: 83.98 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3268, allocations: 66.08 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01339/0.3402, allocations: 9.512 MB / 0.5716 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006887/0.3471, allocations: 2.951 MB / 0.5745 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.3485, allocations: 55.81 kB / 0.5745 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.3528, allocations: 2.025 MB / 0.5765 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.3566, allocations: 1.133 MB / 0.5776 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3576, allocations: 295.4 kB / 0.5779 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.3616, allocations: 2.333 MB / 0.5802 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.3638, allocations: 1.73 MB / 0.5819 GB, free: 120 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.365, allocations: 0.884 MB / 0.5827 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.3668, allocations: 1.262 MB / 0.584 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.3671, allocations: 192 kB / 0.5842 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.3683, allocations: 0.6124 MB / 0.5848 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.3694, allocations: 1.137 MB / 0.5859 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.3708, allocations: 1.305 MB / 0.5871 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005596/0.3764, allocations: 4.349 MB / 0.5914 GB, free: 6.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3764, allocations: 0 / 0.5914 GB, free: 6.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3764, allocations: 0 / 0.5914 GB, free: 6.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.739e-05/0.3765, allocations: 4 kB / 0.5914 GB, free: 6.344 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.005/0.3815, allocations: 2.862 MB / 0.5942 GB, free: 3.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3816, allocations: 8.031 kB / 0.5942 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/0.3866, allocations: 1.582 MB / 0.5957 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.3895, allocations: 1.271 MB / 0.597 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3896, allocations: 144 kB / 0.5971 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/0.39, allocations: 191.8 kB / 0.5973 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.4006, allocations: 6.254 MB / 0.6034 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/0.4007, allocations: 11.88 kB / 0.6034 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.401, allocations: 87.91 kB / 0.6035 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002148/0.4031, allocations: 1.344 MB / 0.6048 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.4143, allocations: 5.338 MB / 0.61 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02999/0.4443, allocations: 19.87 MB / 0.6294 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004287/0.4486, allocations: 1.548 MB / 0.6309 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.4496, allocations: 0.6393 MB / 0.6316 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006178/0.4558, allocations: 3.023 MB / 0.6345 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.4558, allocations: 39 kB / 0.6346 GB, free: 9.129 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.936e-06/0.4558, allocations: 0 / 0.6346 GB, free: 9.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005555/0.4614, allocations: 1.99 MB / 0.6365 GB, free: 7.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.4614, allocations: 59.84 kB / 0.6366 GB, free: 7.059 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/0.4644, allocations: 1.938 MB / 0.6384 GB, free: 5.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.4644, allocations: 33.7 kB / 0.6385 GB, free: 5.078 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.466, allocations: 1.911 MB / 0.6403 GB, free: 3.145 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.4663, allocations: 333.5 kB / 0.6407 GB, free: 2.816 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008267/0.4671, allocations: 0.6234 MB / 0.6413 GB, free: 2.184 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4674, allocations: 357.9 kB / 0.6416 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.4687, allocations: 0.8842 MB / 0.6425 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/0.4718, allocations: 2.747 MB / 0.6452 GB, free: 13.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005167/0.477, allocations: 3.977 MB / 0.649 GB, free: 8.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-05/0.4771, allocations: 23.98 kB / 0.6491 GB, free: 8.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006242/0.4833, allocations: 3.524 MB / 0.6525 GB, free: 4.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.995e-05/0.4834, allocations: 32 kB / 0.6525 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.476e-05/0.4834, allocations: 64.09 kB / 0.6526 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.4835, allocations: 95.94 kB / 0.6527 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.4855, allocations: 0.6628 MB / 0.6533 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001219/0.4857, allocations: 123.5 kB / 0.6535 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.4876, allocations: 428.8 kB / 0.6539 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.4879, allocations: 188 kB / 0.654 GB, free: 3.23 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.002391/0.4903, allocations: 1.35 MB / 0.6554 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.4906, allocations: 162.9 kB / 0.6555 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.491, allocations: 200.9 kB / 0.6557 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.491, allocations: 8 kB / 0.6557 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.491, allocations: 3.938 kB / 0.6557 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.491, allocations: 0 / 0.6557 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007311/0.4983, allocations: 4.041 MB / 0.6597 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.4984, allocations: 8 kB / 0.6597 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.4988, allocations: 99.83 kB / 0.6598 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.4988, allocations: 8 kB / 0.6598 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.4988, allocations: 31.91 kB / 0.6598 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/0.4988, allocations: 11.94 kB / 0.6598 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.4988, allocations: 4 kB / 0.6598 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.5005, allocations: 1.243 MB / 0.661 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.501, allocations: 182.6 kB / 0.6612 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.5011, allocations: 15.94 kB / 0.6612 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.5016, allocations: 31.97 kB / 0.6613 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5017, allocations: 47.81 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.5017, allocations: 31.98 kB / 0.6613 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001941/0.5037, allocations: 1.275 MB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5037, allocations: 0 / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002518/0.5062, allocations: 0.6929 MB / 0.6633 GB, free: 9.562 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.0003175/0.5065, allocations: 139 kB / 0.6634 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003263/0.5098, allocations: 1.955 MB / 0.6653 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5098, allocations: 1 kB / 0.6653 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.5104, allocations: 440 kB / 0.6657 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.5115, allocations: 241.8 kB / 0.6659 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008747/0.5203, allocations: 5.076 MB / 0.6709 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/0.5229, allocations: 2.271 MB / 0.6731 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00216/0.525, allocations: 0.9557 MB / 0.6741 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.5253, allocations: 119.4 kB / 0.6742 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.5253, allocations: 0 / 0.6742 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.03436/0.5597, allocations: 17.16 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.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.509244405897334]