Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00186/0.00186, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002257/0.002257, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 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.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3231/0.3231, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 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.CutForce3,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.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.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.297e-05, allocations: 9.906 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01254/0.01258, allocations: 8.413 MB / 383.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.01977, allocations: 2.784 MB / 386.5 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.02147, allocations: 55.81 kB / 386.5 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004703/0.02618, allocations: 2.079 MB / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.02991, allocations: 1.174 MB / 389.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008822/0.03079, allocations: 315.2 kB / 390.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003919/0.03471, allocations: 2.371 MB / 392.4 MB, free: 3.723 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002879/0.03759, allocations: 1.793 MB / 394.2 MB, free: 1.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.03976, allocations: 1.286 MB / 395.5 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.04211, allocations: 1.138 MB / 396.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004545/0.04256, allocations: 200 kB / 396.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.04391, allocations: 0.6319 MB / 397.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.0452, allocations: 1.176 MB / 398.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.04622, allocations: 0.7163 MB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.05217, allocations: 4.295 MB / 403.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.05217, allocations: 0 / 403.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.05218, allocations: 0 / 403.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.0523, allocations: 0 / 403.7 MB, free: 8.422 MB / 378.7 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.006151/0.05845, allocations: 2.831 MB / 406.5 MB, free: 5.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.05849, allocations: 8.031 kB / 406.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00617/0.06466, allocations: 1.938 MB / 408.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.06781, allocations: 1.282 MB / 409.7 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.06796, allocations: 144 kB / 409.9 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004175/0.06838, allocations: 192.3 kB / 410.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01389/0.08227, allocations: 6.251 MB / 416.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-05/0.08232, allocations: 15.81 kB / 416.3 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.08258, allocations: 91.84 kB / 416.4 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002395/0.08498, allocations: 1.34 MB / 417.8 MB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.0969, allocations: 5.334 MB / 423.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03147/0.1284, allocations: 18.37 MB / 441.5 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004567/0.1329, allocations: 1.634 MB / 443.1 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1378/0.2707, allocations: 0.6358 MB / 443.7 MB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005163/0.2759, allocations: 2.973 MB / 446.7 MB, free: 101 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.2759, allocations: 33.84 kB / 446.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.385e-06/0.2759, allocations: 0 / 446.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.004728/0.2806, allocations: 2.134 MB / 448.9 MB, free: 100.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.2807, allocations: 57.72 kB / 448.9 MB, free: 100.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.2825, allocations: 1.938 MB / 450.9 MB, free: 99.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.2826, allocations: 36.89 kB / 450.9 MB, free: 99.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/0.2832, allocations: 1.896 MB / 452.8 MB, free: 98.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.2834, allocations: 333 kB / 453.1 MB, free: 98.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005479/0.2839, allocations: 0.6077 MB / 453.7 MB, free: 97.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.284, allocations: 348.1 kB / 454.1 MB, free: 97.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/0.2849, allocations: 0.8852 MB / 455 MB, free: 97.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.2863, allocations: 2.753 MB / 457.7 MB, free: 94.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/0.2891, allocations: 3.97 MB / 461.7 MB, free: 91.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/0.2891, allocations: 15.91 kB / 461.7 MB, free: 91.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004255/0.2933, allocations: 3.681 MB / 465.4 MB, free: 89.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.2934, allocations: 39.42 kB / 465.4 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-05/0.2934, allocations: 63.78 kB / 465.5 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.713e-05/0.2935, allocations: 91.72 kB / 465.6 MB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.2952, allocations: 0.6538 MB / 466.2 MB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.609e-05/0.2953, allocations: 127 kB / 466.3 MB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.2972, allocations: 414.5 kB / 466.7 MB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.2974, allocations: 196.7 kB / 466.9 MB, free: 89.44 MB / 410.7 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.001749/0.2992, allocations: 1.341 MB / 468.3 MB, free: 88.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.2994, allocations: 172.9 kB / 468.4 MB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.2997, allocations: 187.7 kB / 468.6 MB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.2997, allocations: 13.41 kB / 468.6 MB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.2998, allocations: 0 / 468.6 MB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2998, allocations: 6.719 kB / 468.7 MB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.3041, allocations: 3.131 MB / 471.8 MB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.3041, allocations: 5.938 kB / 471.8 MB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.3044, allocations: 103 kB / 471.9 MB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.3045, allocations: 8.094 kB / 471.9 MB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.3045, allocations: 23.28 kB / 471.9 MB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.3045, allocations: 9.594 kB / 471.9 MB, free: 87.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.3045, allocations: 10.03 kB / 471.9 MB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3056, allocations: 1.236 MB / 473.2 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.3058, allocations: 159.7 kB / 473.3 MB, free: 86.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3059, allocations: 17.25 kB / 473.3 MB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.3064, allocations: 29.64 kB / 473.4 MB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.3064, allocations: 47.34 kB / 473.4 MB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.3065, allocations: 32.19 kB / 473.5 MB, free: 86.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001347/0.3078, allocations: 1.111 MB / 474.6 MB, free: 86.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3078, allocations: 0 / 474.6 MB, free: 86.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002567/0.3104, allocations: 0.7097 MB / 475.3 MB, free: 85.87 MB / 410.7 MB 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.0002808/0.3107, allocations: 144.2 kB / 475.4 MB, free: 85.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.3136, allocations: 1.951 MB / 477.4 MB, free: 85.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3136, allocations: 3.969 kB / 477.4 MB, free: 85.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.3141, allocations: 433.7 kB / 477.8 MB, free: 85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3151, allocations: 194.3 kB / 478 MB, free: 84.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.3223, allocations: 5.118 MB / 483.1 MB, free: 82.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.3241, allocations: 1.706 MB / 484.8 MB, free: 81.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001679/0.3258, allocations: 0.9315 MB / 485.7 MB, free: 81.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.3261, allocations: 118.8 kB / 485.9 MB, free: 81.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3261, allocations: 0 / 485.9 MB, free: 81.87 MB / 410.7 MB Notification: Performance of Templates: time 0.02101/0.3471, allocations: 11.71 MB / 497.6 MB, free: 77.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.461656128056347]