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.00113/0.00113, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001682/0.002812, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001117/0.001117, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002584, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9615/0.9615, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08568/1.047, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2455/0.2455, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02125/0.2667, allocations: 13.09 MB / 291.3 MB, free: 7.375 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.119e-05, allocations: 3.078 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.006971/0.006982, allocations: 9.126 MB / 301.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00404/0.01102, allocations: 2.974 MB / 304.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004269/0.01145, allocations: 55.81 kB / 304.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.01336, allocations: 2.044 MB / 306.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.01475, allocations: 1.163 MB / 308 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.01512, allocations: 287.3 kB / 308.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.01682, allocations: 2.222 MB / 310.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.01801, allocations: 1.77 MB / 312.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009045/0.01891, allocations: 1.352 MB / 313.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.01975, allocations: 1.11 MB / 314.7 MB, free: 76 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.01992, allocations: 192 kB / 314.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.02056, allocations: 0.6474 MB / 315.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.02112, allocations: 1.068 MB / 316.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.02161, allocations: 0.5919 MB / 317.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.02339, allocations: 2.557 MB / 319.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.02341, allocations: 4 kB / 319.8 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.02341, allocations: 0 / 319.8 MB, free: 11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.198e-05/0.02344, allocations: 0 / 319.8 MB, free: 11 MB / 314.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.002598/0.02604, allocations: 3.245 MB / 323 MB, free: 7.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.02607, allocations: 8.031 kB / 323 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.0277, allocations: 0.7577 MB / 323.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.02897, allocations: 1.042 MB / 324.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.02904, allocations: 152 kB / 325 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.02923, allocations: 184.3 kB / 325.1 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.03186, allocations: 2.845 MB / 328 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.03189, allocations: 11.88 kB / 328 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.03203, allocations: 87.91 kB / 328.1 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009667/0.03299, allocations: 1.204 MB / 329.3 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.03535, allocations: 1.516 MB / 330.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.04605, allocations: 15.28 MB / 346.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.04769, allocations: 0.8915 MB / 347 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.04789, allocations: 154.2 kB / 347.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002365/0.05025, allocations: 2.095 MB / 349.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.05028, allocations: 39.05 kB / 349.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.124e-06/0.05028, allocations: 0 / 349.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002159/0.05244, allocations: 1.062 MB / 350.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.05247, allocations: 59.91 kB / 350.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.05333, allocations: 1.424 MB / 351.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.05336, allocations: 33.7 kB / 351.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009086/0.05427, allocations: 1.842 MB / 353.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.05442, allocations: 313.6 kB / 354 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/0.05481, allocations: 0.5801 MB / 354.6 MB, free: 7.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.0549, allocations: 345.9 kB / 354.9 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.05521, allocations: 314.2 kB / 355.2 MB, free: 6.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.0562, allocations: 2.095 MB / 357.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.05816, allocations: 2.742 MB / 360 MB, free: 15.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.05818, allocations: 20 kB / 360.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.001848/0.06003, allocations: 1.96 MB / 362 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.06007, allocations: 44.2 kB / 362.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.0601, allocations: 64 kB / 362.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.143e-05/0.06016, allocations: 88 kB / 362.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.06126, allocations: 0.7136 MB / 362.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.504e-05/0.06132, allocations: 123.5 kB / 363.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/0.06215, allocations: 404.9 kB / 363.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.06229, allocations: 172 kB / 363.6 MB, free: 12.18 MB / 362.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.0004769/0.06276, allocations: 357.7 kB / 364 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.06286, allocations: 99.83 kB / 364.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.06301, allocations: 160 kB / 364.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.06302, allocations: 12 kB / 364.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.06302, allocations: 0 / 364.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.06303, allocations: 3.984 kB / 364.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.06498, allocations: 1.872 MB / 366.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.06499, allocations: 4 kB / 366.1 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.06519, allocations: 103.8 kB / 366.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.06529, allocations: 142.8 kB / 366.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.0653, allocations: 8 kB / 366.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.06533, allocations: 16 kB / 366.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.06533, allocations: 15.92 kB / 366.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.06534, allocations: 8 kB / 366.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.06576, allocations: 0.6254 MB / 367 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.06584, allocations: 16 kB / 367 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.06602, allocations: 16 kB / 367.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.06608, allocations: 51.8 kB / 367.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.06611, allocations: 28 kB / 367.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000398/0.06651, allocations: 0.5487 MB / 367.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06651, allocations: 0 / 367.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001331/0.06784, allocations: 0.7083 MB / 368.4 MB, free: 7.191 MB / 362.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.0002051/0.06804, allocations: 128.1 kB / 368.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008998/0.06894, allocations: 1.099 MB / 369.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.819e-05/0.06902, allocations: 55.92 kB / 369.7 MB, free: 5.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.06917, allocations: 162.2 kB / 369.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.06979, allocations: 300.6 kB / 370.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006461/0.07625, allocations: 4.579 MB / 374.7 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.07687, allocations: 0.7502 MB / 375.4 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005822/0.07745, allocations: 250.5 kB / 375.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.07776, allocations: 271.3 kB / 376 MB, free: 15.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.645e-06/0.07776, allocations: 0 / 376 MB, free: 15.46 MB / 378.7 MB Notification: Performance of Templates: time 0.02085/0.09861, allocations: 12.64 MB / 388.6 MB, free: 2.984 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9614868573844433]