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.001917/0.001917, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002594/0.002594, allocations: 212 kB / 23.73 MB, free: 4.387 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2371/0.2371, allocations: 46.94 MB / 360.8 MB, free: 4.141 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.002085/0.002085, allocations: 67.89 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3012, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01123/0.3124, allocations: 8.381 MB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006583/0.319, allocations: 2.787 MB / 0.572 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.3206, allocations: 55.81 kB / 0.572 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004565/0.3251, allocations: 1.947 MB / 0.5739 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.3283, allocations: 1.133 MB / 0.575 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008483/0.3291, allocations: 295.4 kB / 0.5753 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003314/0.3324, allocations: 2.321 MB / 0.5776 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.335, allocations: 1.734 MB / 0.5793 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.3364, allocations: 0.8957 MB / 0.5802 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.3384, allocations: 1.168 MB / 0.5813 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005532/0.339, allocations: 196 kB / 0.5815 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.3404, allocations: 0.6083 MB / 0.5821 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.3418, allocations: 1.137 MB / 0.5832 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.3433, allocations: 0.9471 MB / 0.5841 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.3484, allocations: 4.338 MB / 0.5884 GB, free: 8.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3484, allocations: 7.922 kB / 0.5884 GB, free: 8.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3484, allocations: 0 / 0.5884 GB, free: 8.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.3486, allocations: 0 / 0.5884 GB, free: 8.094 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.005478/0.354, allocations: 2.87 MB / 0.5912 GB, free: 5.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3541, allocations: 16.03 kB / 0.5912 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/0.3592, allocations: 1.567 MB / 0.5927 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.3622, allocations: 1.286 MB / 0.594 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.3623, allocations: 144 kB / 0.5941 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.3626, allocations: 187.8 kB / 0.5943 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009349/0.372, allocations: 6.246 MB / 0.6004 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.372, allocations: 11.88 kB / 0.6004 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.3722, allocations: 99.91 kB / 0.6005 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002108/0.3743, allocations: 1.348 MB / 0.6018 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009405/0.3837, allocations: 5.322 MB / 0.607 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/0.4095, allocations: 18.25 MB / 0.6248 GB, free: 1.832 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.4138, allocations: 1.553 MB / 0.6263 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009996/0.4148, allocations: 0.6328 MB / 0.627 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006219/0.421, allocations: 2.892 MB / 0.6298 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.421, allocations: 39 kB / 0.6298 GB, free: 12.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.406e-06/0.421, allocations: 0 / 0.6298 GB, free: 12.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005436/0.4265, allocations: 1.974 MB / 0.6318 GB, free: 10.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.4265, allocations: 55.84 kB / 0.6318 GB, free: 10.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/0.4292, allocations: 1.935 MB / 0.6337 GB, free: 8.656 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.4292, allocations: 37.7 kB / 0.6337 GB, free: 8.613 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.4306, allocations: 1.919 MB / 0.6356 GB, free: 6.672 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.4309, allocations: 329.5 kB / 0.6359 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007768/0.4317, allocations: 0.6195 MB / 0.6365 GB, free: 5.719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4319, allocations: 353.9 kB / 0.6369 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.4332, allocations: 0.8842 MB / 0.6377 GB, free: 4.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.4361, allocations: 2.747 MB / 0.6404 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.4409, allocations: 3.977 MB / 0.6443 GB, free: 11.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.381e-05/0.441, allocations: 16 kB / 0.6443 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006333/0.4473, allocations: 3.523 MB / 0.6477 GB, free: 8.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.846e-05/0.4474, allocations: 32.94 kB / 0.6478 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.705e-05/0.4475, allocations: 64 kB / 0.6478 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.4476, allocations: 88 kB / 0.6479 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.4497, allocations: 0.659 MB / 0.6486 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001204/0.4498, allocations: 131.4 kB / 0.6487 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.4516, allocations: 420.9 kB / 0.6491 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.4519, allocations: 188 kB / 0.6493 GB, free: 6.789 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.002259/0.4541, allocations: 1.35 MB / 0.6506 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.4544, allocations: 158.9 kB / 0.6507 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.4548, allocations: 180 kB / 0.6509 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.4548, allocations: 12 kB / 0.6509 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.4548, allocations: 0 / 0.6509 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4548, allocations: 3.984 kB / 0.6509 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005859/0.4607, allocations: 3.114 MB / 0.654 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.4607, allocations: 4 kB / 0.654 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.4611, allocations: 103.9 kB / 0.6541 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.4611, allocations: 8 kB / 0.6541 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.4611, allocations: 20 kB / 0.6541 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/0.4611, allocations: 8 kB / 0.6541 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.4612, allocations: 15.86 kB / 0.6541 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.4627, allocations: 1.225 MB / 0.6553 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.463, allocations: 154.7 kB / 0.6555 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.4632, allocations: 20 kB / 0.6555 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.4636, allocations: 31.97 kB / 0.6555 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4637, allocations: 55.75 kB / 0.6556 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.4638, allocations: 31.98 kB / 0.6556 GB, free: 84 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.4654, allocations: 1.114 MB / 0.6567 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4654, allocations: 0 / 0.6567 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002591/0.468, allocations: 0.7006 MB / 0.6574 GB, free: 14.27 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.0003161/0.4683, allocations: 150.8 kB / 0.6575 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002993/0.4713, allocations: 1.952 MB / 0.6594 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4713, allocations: 4 kB / 0.6594 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.4718, allocations: 429.5 kB / 0.6598 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.4728, allocations: 183.8 kB / 0.66 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/0.4821, allocations: 5.065 MB / 0.665 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.4846, allocations: 1.708 MB / 0.6666 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002089/0.4867, allocations: 0.9311 MB / 0.6675 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.4869, allocations: 111.4 kB / 0.6676 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.4869, allocations: 0 / 0.6676 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of Templates: time 0.02954/0.5165, allocations: 14.18 MB / 0.6815 GB, free: 5.602 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/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.63980033993721]