Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001215/0.001215, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001445/0.001445, allocations: 174.8 kB / 25.61 MB, free: 8.91 MB / 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 0.9412/0.9412, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1532/0.1532, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.792e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.008452/0.00848, allocations: 8.989 MB / 388.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.0128, allocations: 2.836 MB / 391.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008257/0.01362, allocations: 59.81 kB / 391.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.01551, allocations: 2.11 MB / 393.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.01738, allocations: 1.174 MB / 394.5 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.01785, allocations: 319.2 kB / 394.8 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.01974, allocations: 2.367 MB / 397.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.02094, allocations: 1.801 MB / 398.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.02195, allocations: 1.298 MB / 400.2 MB, free: 2.359 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009452/0.02289, allocations: 1.177 MB / 401.4 MB, free: 1.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.02309, allocations: 196 kB / 401.6 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.02383, allocations: 0.6396 MB / 402.2 MB, free: 356 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000726/0.02456, allocations: 1.188 MB / 403.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.02519, allocations: 0.7203 MB / 404.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.02791, allocations: 2.728 MB / 406.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02791, allocations: 0 / 406.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02791, allocations: 0 / 406.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.489e-05/0.02797, allocations: 0 / 406.9 MB, free: 11.7 MB / 330.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.003603/0.03157, allocations: 3.11 MB / 410 MB, free: 8.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.03161, allocations: 12.03 kB / 410 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.03387, allocations: 0.9862 MB / 411 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.03541, allocations: 1.134 MB / 412.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.03548, allocations: 140 kB / 412.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.0357, allocations: 192.3 kB / 412.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004038/0.03973, allocations: 3.035 MB / 415.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.03977, allocations: 15.88 kB / 415.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.03991, allocations: 87.91 kB / 415.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001109/0.04102, allocations: 1.196 MB / 416.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.04399, allocations: 1.452 MB / 418.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.06193, allocations: 20.41 MB / 438.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.06386, allocations: 0.8757 MB / 439.5 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.0641, allocations: 197.9 kB / 439.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003072/0.06717, allocations: 2.334 MB / 442 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.0672, allocations: 41.89 kB / 442.1 MB, free: 7.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.056e-06/0.0672, allocations: 0 / 442.1 MB, free: 7.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002447/0.06965, allocations: 1.225 MB / 443.3 MB, free: 6.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.06968, allocations: 55.91 kB / 443.4 MB, free: 5.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.07115, allocations: 1.798 MB / 445.2 MB, free: 4.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.07118, allocations: 33.7 kB / 445.2 MB, free: 4.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009247/0.0721, allocations: 2.027 MB / 447.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.07229, allocations: 337.5 kB / 447.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000513/0.07281, allocations: 0.6926 MB / 448.2 MB, free: 1.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004015/0.07321, allocations: 0.5276 MB / 448.8 MB, free: 484 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.07347, allocations: 229.7 kB / 449 MB, free: 252 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.07487, allocations: 2.997 MB / 452 MB, free: 11.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.07729, allocations: 3.616 MB / 455.6 MB, free: 7.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/0.07732, allocations: 24 kB / 455.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002475/0.0798, allocations: 2.336 MB / 458 MB, free: 4.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.07983, allocations: 39.98 kB / 458 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.615e-05/0.07988, allocations: 64 kB / 458.1 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.306e-05/0.07993, allocations: 92.06 kB / 458.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.08096, allocations: 0.6355 MB / 458.8 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.885e-05/0.08101, allocations: 131.5 kB / 458.9 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.0821, allocations: 405 kB / 459.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.08224, allocations: 164 kB / 459.5 MB, free: 3.211 MB / 378.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.0007056/0.08294, allocations: 405.6 kB / 459.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.0831, allocations: 178.9 kB / 460 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.08326, allocations: 160 kB / 460.2 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.08328, allocations: 12 kB / 460.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.08328, allocations: 4 kB / 460.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.08329, allocations: 0 / 460.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.08628, allocations: 2.13 MB / 462.3 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.08629, allocations: 12.12 kB / 462.4 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.08649, allocations: 87.84 kB / 462.4 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.0865, allocations: 8 kB / 462.4 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.08652, allocations: 15.98 kB / 462.5 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.08653, allocations: 11.94 kB / 462.5 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.08653, allocations: 8 kB / 462.5 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.08716, allocations: 0.8422 MB / 463.3 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.08734, allocations: 158.8 kB / 463.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/0.08742, allocations: 16 kB / 463.5 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.08763, allocations: 19.92 kB / 463.5 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.08769, allocations: 55.8 kB / 463.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.08773, allocations: 24 kB / 463.6 MB, free: 14.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005488/0.08827, allocations: 0.7272 MB / 464.3 MB, free: 14.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.08827, allocations: 0 / 464.3 MB, free: 14.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001796/0.09007, allocations: 0.7084 MB / 465 MB, free: 13.37 MB / 394.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.0002391/0.09031, allocations: 143 kB / 465.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.09166, allocations: 1.179 MB / 466.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.09167, allocations: 4 kB / 466.4 MB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.09186, allocations: 190.8 kB / 466.5 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.09251, allocations: 192.6 kB / 466.7 MB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.09802, allocations: 4.348 MB / 471.1 MB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.0987, allocations: 0.7658 MB / 471.8 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006146/0.09931, allocations: 238.6 kB / 472.1 MB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.09963, allocations: 294.1 kB / 472.4 MB, free: 5.836 MB / 394.7 MB Notification: Performance of SimCode: time 2.064e-06/0.09963, allocations: 0 / 472.4 MB, free: 5.836 MB / 394.7 MB Notification: Performance of Templates: time 0.02303/0.1227, allocations: 12.74 MB / 485.1 MB, free: 9.293 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.7642646059393883]