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.001205/0.001205, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009758/0.0009758, allocations: 161 kB / 24.56 MB, free: 16 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.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2864/0.2864, allocations: 32.81 MB / 294.3 MB, free: 1.223 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.074e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.00775/0.007781, allocations: 9.227 MB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.01369, allocations: 2.869 MB / 388.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.01496, allocations: 55.81 kB / 388.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.01784, allocations: 2.142 MB / 390.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.02056, allocations: 1.186 MB / 391.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.02121, allocations: 311.2 kB / 391.8 MB, free: 4.805 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002751/0.02396, allocations: 2.368 MB / 394.2 MB, free: 2.434 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.02592, allocations: 1.801 MB / 396 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.0277, allocations: 1.298 MB / 397.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.0293, allocations: 1.169 MB / 398.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004655/0.02976, allocations: 196 kB / 398.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.03078, allocations: 0.6434 MB / 399.3 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007982/0.03158, allocations: 1.192 MB / 400.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000845/0.03243, allocations: 0.7202 MB / 401.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.03477, allocations: 2.72 MB / 403.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.03478, allocations: 0 / 403.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.03478, allocations: 0 / 403.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.546e-05/0.03486, allocations: 0 / 403.9 MB, free: 8.629 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.003084/0.03794, allocations: 3.138 MB / 407 MB, free: 5.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.03798, allocations: 12.03 kB / 407 MB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.0409, allocations: 1.871 MB / 408.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.04235, allocations: 1.255 MB / 410.2 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.04242, allocations: 140 kB / 410.3 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.04261, allocations: 188.3 kB / 410.5 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00393/0.04654, allocations: 3.317 MB / 413.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.04659, allocations: 19.88 kB / 413.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.04676, allocations: 87.91 kB / 413.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00126/0.04802, allocations: 1.344 MB / 415.3 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005323/0.05334, allocations: 1.796 MB / 417.1 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02097/0.07431, allocations: 20.56 MB / 437.6 MB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/0.07742, allocations: 0.9344 MB / 438.6 MB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/0.07792, allocations: 228 kB / 438.8 MB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004505/0.08243, allocations: 2.439 MB / 441.2 MB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.08248, allocations: 45.88 kB / 441.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 7.464e-06/0.08249, allocations: 0 / 441.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003272/0.08576, allocations: 1.28 MB / 442.5 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.08581, allocations: 67.83 kB / 442.6 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1908/0.2766, allocations: 1.791 MB / 444.4 MB, free: 96.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.2767, allocations: 35.11 kB / 444.4 MB, free: 96.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008811/0.2776, allocations: 2.01 MB / 446.4 MB, free: 95.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.2778, allocations: 342 kB / 446.8 MB, free: 95.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005803/0.2784, allocations: 0.667 MB / 447.4 MB, free: 95.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2785, allocations: 0.5217 MB / 448 MB, free: 94.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.2792, allocations: 295.3 kB / 448.3 MB, free: 94.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.2809, allocations: 3.05 MB / 451.3 MB, free: 91.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.2836, allocations: 3.682 MB / 455 MB, free: 87.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-05/0.2836, allocations: 16.47 kB / 455 MB, free: 87.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004003/0.2876, allocations: 2.501 MB / 457.5 MB, free: 87.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.2877, allocations: 32.81 kB / 457.5 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.826e-05/0.2878, allocations: 68.22 kB / 457.6 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.2879, allocations: 84.25 kB / 457.7 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.2896, allocations: 0.6608 MB / 458.3 MB, free: 87.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001115/0.2897, allocations: 128.2 kB / 458.5 MB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.292, allocations: 420.5 kB / 458.9 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000279/0.2923, allocations: 188.2 kB / 459.1 MB, free: 86.91 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.001119/0.2934, allocations: 408.4 kB / 459.5 MB, free: 86.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.2936, allocations: 169.9 kB / 459.6 MB, free: 86.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.2939, allocations: 167.7 kB / 459.8 MB, free: 86.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/0.2939, allocations: 9.469 kB / 459.8 MB, free: 86.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.2939, allocations: 0 / 459.8 MB, free: 86.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.2939, allocations: 6.859 kB / 459.8 MB, free: 86.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005028/0.299, allocations: 2.84 MB / 462.6 MB, free: 85.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.299, allocations: 6.406 kB / 462.7 MB, free: 85.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.2993, allocations: 101.5 kB / 462.8 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.2993, allocations: 6.688 kB / 462.8 MB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.2994, allocations: 20.97 kB / 462.8 MB, free: 85.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.2994, allocations: 6.688 kB / 462.8 MB, free: 85.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.2994, allocations: 13.61 kB / 462.8 MB, free: 85.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3005, allocations: 0.8637 MB / 463.7 MB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.3008, allocations: 156.7 kB / 463.8 MB, free: 84.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.3009, allocations: 16.83 kB / 463.8 MB, free: 84.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.3014, allocations: 23.81 kB / 463.9 MB, free: 84.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.3014, allocations: 58.81 kB / 463.9 MB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.3015, allocations: 36.02 kB / 463.9 MB, free: 84.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.3027, allocations: 0.776 MB / 464.7 MB, free: 84.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3027, allocations: 0 / 464.7 MB, free: 84.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002757/0.3054, allocations: 0.7085 MB / 465.4 MB, free: 84.14 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.0003625/0.3058, allocations: 137.8 kB / 465.6 MB, free: 84.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.3078, allocations: 1.256 MB / 466.8 MB, free: 83.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3078, allocations: 0 / 466.8 MB, free: 83.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.308, allocations: 201.7 kB / 467 MB, free: 83.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.3088, allocations: 181.9 kB / 467.2 MB, free: 83.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.3137, allocations: 4.355 MB / 471.6 MB, free: 81.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.3142, allocations: 0.7618 MB / 472.3 MB, free: 80.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001057/0.3153, allocations: 0.7946 MB / 473.1 MB, free: 80.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3155, allocations: 116 kB / 473.2 MB, free: 80.74 MB / 410.7 MB Notification: Performance of SimCode: time 2.094e-06/0.3155, allocations: 0 / 473.2 MB, free: 80.74 MB / 410.7 MB Notification: Performance of Templates: time 0.02477/0.3403, allocations: 12.09 MB / 485.3 MB, free: 79.4 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.687208654358983]