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.001086/0.001086, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001395/0.001395, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9306/0.9306, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1338/0.1338, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.753e-06/1.753e-06, allocations: 0 / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.385e-05, allocations: 6.25 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.00829/0.008304, allocations: 9.941 MB / 358 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005592/0.0139, allocations: 2.929 MB / 361 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007774/0.01467, allocations: 63.81 kB / 361 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.0173, allocations: 2.11 MB / 363.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.01935, allocations: 1.268 MB / 364.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.01994, allocations: 327.1 kB / 364.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.02238, allocations: 2.487 MB / 367.2 MB, free: 6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.02405, allocations: 1.895 MB / 369.1 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.02537, allocations: 1.403 MB / 370.5 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.02668, allocations: 1.286 MB / 371.8 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.02696, allocations: 212 kB / 372 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008621/0.02783, allocations: 0.663 MB / 372.7 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009287/0.02875, allocations: 1.301 MB / 374 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.02955, allocations: 0.7981 MB / 374.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.03203, allocations: 2.962 MB / 377.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.03203, allocations: 0 / 377.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03204, allocations: 0 / 377.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.03206, allocations: 4 kB / 377.7 MB, free: 11.41 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.003782/0.03584, allocations: 3.338 MB / 381.1 MB, free: 8.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.03588, allocations: 12.03 kB / 381.1 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.03867, allocations: 1.048 MB / 382.1 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.04008, allocations: 1.2 MB / 383.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.04018, allocations: 160.3 kB / 383.5 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.04045, allocations: 196.3 kB / 383.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/0.04481, allocations: 3.26 MB / 387 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.04485, allocations: 19.88 kB / 387 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.04505, allocations: 91.91 kB / 387.1 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001438/0.04648, allocations: 1.318 MB / 388.4 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.04929, allocations: 1.577 MB / 390 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.06678, allocations: 21.74 MB / 411.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.06912, allocations: 0.9581 MB / 412.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.06946, allocations: 226.2 kB / 412.9 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003654/0.07311, allocations: 2.48 MB / 415.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.07314, allocations: 50.03 kB / 415.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=93): time 2.475e-06/0.07314, allocations: 0 / 415.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.003334/0.07648, allocations: 1.328 MB / 416.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.07651, allocations: 60.06 kB / 416.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.07824, allocations: 1.849 MB / 418.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.07829, allocations: 41.69 kB / 418.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.07939, allocations: 2.151 MB / 420.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/0.07989, allocations: 393.1 kB / 421.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007246/0.08061, allocations: 0.7288 MB / 421.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.08077, allocations: 0.5276 MB / 422.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.08115, allocations: 258.2 kB / 422.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.08303, allocations: 3.167 MB / 425.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/0.08615, allocations: 3.81 MB / 429.7 MB, free: 3.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.102e-05/0.08618, allocations: 20 kB / 429.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.003221/0.0894, allocations: 2.493 MB / 432.2 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.08944, allocations: 32 kB / 432.2 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.744e-05/0.0895, allocations: 71.94 kB / 432.3 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-05/0.08957, allocations: 92 kB / 432.4 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.09128, allocations: 0.6979 MB / 433.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.711e-05/0.09137, allocations: 135.5 kB / 433.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.09277, allocations: 436.7 kB / 433.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.09297, allocations: 176 kB / 433.8 MB, free: 15.22 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.0008609/0.09383, allocations: 425.5 kB / 434.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.09401, allocations: 186.9 kB / 434.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/0.09477, allocations: 0.5401 MB / 435 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.09478, allocations: 12 kB / 435 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.09479, allocations: 4 kB / 435 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.09479, allocations: 3.984 kB / 435 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/0.0983, allocations: 2.538 MB / 437.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.09831, allocations: 8 kB / 437.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.09864, allocations: 119.8 kB / 437.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.09865, allocations: 12 kB / 437.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.09869, allocations: 24 kB / 437.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.0987, allocations: 19.92 kB / 437.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.09871, allocations: 15.94 kB / 437.7 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/0.09965, allocations: 1.065 MB / 438.8 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.09982, allocations: 170.7 kB / 439 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.09993, allocations: 23.98 kB / 439 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.1003, allocations: 20 kB / 439 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.1004, allocations: 75.66 kB / 439.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.1004, allocations: 35.94 kB / 439.1 MB, free: 9.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006955/0.1011, allocations: 0.76 MB / 439.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1011, allocations: 0 / 439.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00224/0.1034, allocations: 0.7785 MB / 440.6 MB, free: 7.996 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.0002287/0.1036, allocations: 143 kB / 440.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.1051, allocations: 1.297 MB / 442.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1051, allocations: 4 kB / 442.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.1054, allocations: 228.6 kB / 442.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/0.1062, allocations: 209.2 kB / 442.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.112, allocations: 4.871 MB / 447.4 MB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/0.1128, allocations: 0.822 MB / 448.2 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.1415/0.2543, allocations: 268.4 kB / 448.5 MB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.2549, allocations: 311.8 kB / 448.8 MB, free: 100.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.2549, allocations: 0 / 448.8 MB, free: 100.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02138/0.2763, allocations: 13.51 MB / 462.3 MB, free: 95.55 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.442511636763811]