Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001456/0.001456, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.002041/0.002041, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8589/0.8589, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1414/0.1414, allocations: 32.37 MB / 270.4 MB, free: 14.81 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.727e-05, allocations: 4.281 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.006485/0.006503, allocations: 10.19 MB / 357.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.01061, allocations: 2.956 MB / 360.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000744/0.01135, allocations: 59.81 kB / 360.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.01351, allocations: 2.149 MB / 363 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.01528, allocations: 1.264 MB / 364.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.01593, allocations: 315.2 kB / 364.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.01783, allocations: 2.5 MB / 367.1 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.01905, allocations: 1.883 MB / 369 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008869/0.01993, allocations: 1.403 MB / 370.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009321/0.02086, allocations: 1.294 MB / 371.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003996/0.02126, allocations: 212 kB / 371.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006896/0.02195, allocations: 0.6474 MB / 372.5 MB, free: 476 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000685/0.02264, allocations: 1.301 MB / 373.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005139/0.02315, allocations: 0.7904 MB / 374.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.02513, allocations: 2.973 MB / 377.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.02514, allocations: 0 / 377.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02514, allocations: 4 kB / 377.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.02516, allocations: 0 / 377.6 MB, free: 11.38 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.00318/0.02834, allocations: 3.362 MB / 381 MB, free: 7.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.02838, allocations: 8.031 kB / 381 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.03135, allocations: 1.957 MB / 382.9 MB, free: 5.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.03263, allocations: 1.322 MB / 384.2 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.03271, allocations: 152.3 kB / 384.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.03292, allocations: 208.2 kB / 384.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.03695, allocations: 3.566 MB / 388.2 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.03699, allocations: 15.88 kB / 388.2 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.03715, allocations: 91.89 kB / 388.3 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.03841, allocations: 1.474 MB / 389.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/0.04197, allocations: 1.957 MB / 391.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.06037, allocations: 21.91 MB / 413.6 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.06311, allocations: 1.032 MB / 414.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007189/0.06383, allocations: 262.2 kB / 414.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00384/0.06767, allocations: 2.597 MB / 417.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.0677, allocations: 38.05 kB / 417.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=93): time 2.615e-06/0.0677, allocations: 4 kB / 417.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.003703/0.0714, allocations: 1.398 MB / 418.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.07144, allocations: 64 kB / 419 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.07334, allocations: 1.85 MB / 420.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.07338, allocations: 41.7 kB / 420.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.07473, allocations: 2.14 MB / 423 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.07499, allocations: 389.1 kB / 423.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006749/0.08174, allocations: 0.7135 MB / 424.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.08189, allocations: 0.5277 MB / 424.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005957/0.08249, allocations: 322.2 kB / 425 MB, free: 10.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008231/0.09072, allocations: 3.21 MB / 428.2 MB, free: 6.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008999/0.09972, allocations: 3.901 MB / 432.1 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.733e-05/0.09975, allocations: 20 kB / 432.1 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.00375/0.1035, allocations: 2.677 MB / 434.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.1035, allocations: 38.5 kB / 434.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.649e-05/0.1036, allocations: 68 kB / 434.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.002e-05/0.1037, allocations: 92 kB / 435 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.1053, allocations: 0.7096 MB / 435.7 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-05/0.1053, allocations: 135.5 kB / 435.8 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.1067, allocations: 452.6 kB / 436.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/0.1069, allocations: 200 kB / 436.4 MB, free: 12.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.0006698/0.1076, allocations: 433.4 kB / 436.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.1078, allocations: 186.9 kB / 437 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008831/0.1087, allocations: 0.5831 MB / 437.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.1087, allocations: 12 kB / 437.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1087, allocations: 0 / 437.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1087, allocations: 3.984 kB / 437.6 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/0.1132, allocations: 3.298 MB / 440.9 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.1132, allocations: 12 kB / 441 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.1138, allocations: 131.7 kB / 441.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.1138, allocations: 12 kB / 441.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.1139, allocations: 31.98 kB / 441.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.1139, allocations: 15.94 kB / 441.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.1139, allocations: 15.94 kB / 441.2 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.1149, allocations: 1.097 MB / 442.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.115, allocations: 170.7 kB / 442.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.1152, allocations: 20 kB / 442.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.1156, allocations: 35.97 kB / 442.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1157, allocations: 79.66 kB / 442.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.1157, allocations: 43.98 kB / 442.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008891/0.1166, allocations: 0.8033 MB / 443.4 MB, free: 5.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1166, allocations: 0 / 443.4 MB, free: 5.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002057/0.1187, allocations: 0.7784 MB / 444.2 MB, free: 4.293 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0002327/0.1189, allocations: 146.9 kB / 444.3 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.1206, allocations: 1.383 MB / 445.7 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1206, allocations: 0 / 445.7 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.121, allocations: 248.9 kB / 445.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/0.1218, allocations: 201.7 kB / 446.1 MB, free: 2.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1316/0.2535, allocations: 4.854 MB / 451 MB, free: 99.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/0.2543, allocations: 0.8238 MB / 451.8 MB, free: 99.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001709/0.256, allocations: 0.8562 MB / 452.7 MB, free: 99.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.2563, allocations: 124.2 kB / 452.8 MB, free: 99.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.2563, allocations: 2 kB / 452.8 MB, free: 99.74 MB / 378.7 MB Notification: Performance of Templates: time 0.02087/0.2771, allocations: 13.05 MB / 465.9 MB, free: 92.54 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.372435115277767]