Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.0007826/0.0007826, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001859, allocations: 452 kB / 10.43 MB, free: 264 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.0006778/0.0006778, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009039/0.001582, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8132/0.8132, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1452/0.9585, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.1533/0.1533, allocations: 32.36 MB / 253.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0241/0.1774, allocations: 12.31 MB / 266.1 MB, free: 3.871 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.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.289e-05, allocations: 6.25 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002098/0.002121, allocations: 1.685 MB / 269.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.002514, allocations: 343.2 kB / 269.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.002554, allocations: 3.938 kB / 269.4 MB, free: 500 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.002928, allocations: 491 kB / 269.9 MB, free: 8 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.003162, allocations: 271.3 kB / 270.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.003335, allocations: 107.7 kB / 270.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.003488, allocations: 163.6 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.003564, allocations: 12.17 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.003696, allocations: 147.8 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.003847, allocations: 195.7 kB / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.003862, allocations: 3.938 kB / 270.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.003929, allocations: 31.88 kB / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.00401, allocations: 83.72 kB / 270.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.00404, allocations: 31.75 kB / 270.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.004221, allocations: 187.2 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.004232, allocations: 0 / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004233, allocations: 0 / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.004243, allocations: 0 / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004738/0.004716, allocations: 0.576 MB / 271.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.004745, allocations: 12.03 kB / 271.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.004784, allocations: 28.91 kB / 271.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.004949, allocations: 242 kB / 272 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.004963, allocations: 8.375 kB / 272 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.004982, allocations: 384 / 272 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.005068, allocations: 54.95 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.005076, allocations: 192 / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.005082, allocations: 7.938 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.005087, allocations: 3.938 kB / 272 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.005108, allocations: 15.95 kB / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.005285, allocations: 164.2 kB / 272.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.005404, allocations: 34.56 kB / 272.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.038e-05/0.005414, allocations: 4.859 kB / 272.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.005429, allocations: 7.938 kB / 272.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.005448, allocations: 34.56 kB / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.005448, allocations: 0 / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002547/0.005703, allocations: 97.67 kB / 272.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.005733, allocations: 55.41 kB / 272.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.00614, allocations: 0.5166 MB / 273 MB, free: 12.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.006152, allocations: 29.7 kB / 273 MB, free: 12.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.006221, allocations: 145.2 kB / 273.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.00624, allocations: 19.84 kB / 273.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.006265, allocations: 21.7 kB / 273.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.006346, allocations: 354.7 kB / 273.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.006357, allocations: 4 kB / 273.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.006366, allocations: 8.062 kB / 273.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.413e-05/0.006391, allocations: 16.84 kB / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006392, allocations: 0 / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.049e-05/0.006452, allocations: 69.59 kB / 273.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.006464, allocations: 8 kB / 273.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.006467, allocations: 0 / 273.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.006477, allocations: 4 kB / 273.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.006523, allocations: 11.94 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006526, allocations: 0 / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.006548, allocations: 7.984 kB / 273.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.006552, allocations: 0 / 273.7 MB, free: 12.1 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 6.836e-05/0.006621, allocations: 112.7 kB / 273.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.006645, allocations: 23.91 kB / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.689e-05/0.006742, allocations: 85.12 kB / 273.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006744, allocations: 4 kB / 273.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006745, allocations: 0 / 273.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.006748, allocations: 4 kB / 273.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.006964, allocations: 270.5 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006965, allocations: 320 / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.006997, allocations: 23.92 kB / 274.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.007017, allocations: 27.77 kB / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007018, allocations: 0 / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.007022, allocations: 0 / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.007023, allocations: 4 kB / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007024, allocations: 0 / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.596e-05/0.0071, allocations: 171.4 kB / 274.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.007112, allocations: 4 kB / 274.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.007146, allocations: 0 / 274.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.00717, allocations: 7.984 kB / 274.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.007172, allocations: 0 / 274.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.007335, allocations: 279.2 kB / 274.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007335, allocations: 0 / 274.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001258/0.00746, allocations: 20 kB / 274.7 MB, free: 11.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * 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.001026/0.008486, allocations: 0.5429 MB / 275.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.008559, allocations: 32.84 kB / 275.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.008566, allocations: 4 kB / 275.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.008589, allocations: 20.73 kB / 275.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.008791, allocations: 101.2 kB / 275.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.00948, allocations: 0.5743 MB / 275.9 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.009543, allocations: 115.3 kB / 276.1 MB, free: 9.562 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.75e-05/0.009571, allocations: 11.97 kB / 276.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.009618, allocations: 67.36 kB / 276.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009619, allocations: 0 / 276.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of Templates: time 0.003567/0.01319, allocations: 1.441 MB / 277.6 MB, free: 8.047 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6146345529705286]