Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001145/0.001145, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002636, allocations: 447.8 kB / 10.35 MB, free: 348 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.001018/0.001018, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002251, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.904/0.904, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1739/1.078, allocations: 49.5 MB / 220.5 MB, free: 5.262 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.1261/0.1261, allocations: 32.34 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02287/0.1489, allocations: 12.3 MB / 265.9 MB, free: 7.82 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.16e-05, allocations: 10.25 kB / 267.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003009/0.003031, allocations: 1.681 MB / 268.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005192/0.00355, allocations: 331.3 kB / 269.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.0036, allocations: 0 / 269.2 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.004002, allocations: 491 kB / 269.7 MB, free: 4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.004255, allocations: 279.3 kB / 270 MB, free: 3.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.0045, allocations: 103.7 kB / 270.1 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.004686, allocations: 163.6 kB / 270.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.00478, allocations: 8.188 kB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.00494, allocations: 155.8 kB / 270.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.005118, allocations: 187.7 kB / 270.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005136, allocations: 4 kB / 270.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.005215, allocations: 35.92 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.005301, allocations: 75.72 kB / 270.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.005337, allocations: 31.75 kB / 270.7 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.005539, allocations: 195.1 kB / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.005556, allocations: 0 / 270.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005557, allocations: 4 kB / 270.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.005574, allocations: 0 / 270.9 MB, free: 2.781 MB / 266.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.0006738/0.006248, allocations: 0.5838 MB / 271.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.006283, allocations: 8.031 kB / 271.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.006327, allocations: 28.91 kB / 271.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.006534, allocations: 230.1 kB / 271.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.006543, allocations: 4.375 kB / 271.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.00656, allocations: 384 / 271.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.632e-05/0.006657, allocations: 70.86 kB / 271.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.006665, allocations: 192 / 271.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.006672, allocations: 3.938 kB / 271.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.006677, allocations: 4 kB / 271.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.006699, allocations: 7.984 kB / 271.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.006897, allocations: 164.2 kB / 272 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.007049, allocations: 38.56 kB / 272.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.007062, allocations: 8.859 kB / 272.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.007081, allocations: 3.938 kB / 272.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.007102, allocations: 30.56 kB / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.007103, allocations: 0 / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002589/0.007362, allocations: 97.73 kB / 272.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.007393, allocations: 59.41 kB / 272.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.007707, allocations: 0.5205 MB / 272.8 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.00772, allocations: 25.7 kB / 272.8 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.007786, allocations: 141.3 kB / 272.9 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.00781, allocations: 19.84 kB / 273 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.007837, allocations: 21.64 kB / 273 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.007933, allocations: 354.7 kB / 273.3 MB, free: 236 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.007944, allocations: 4 kB / 273.3 MB, free: 232 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.007957, allocations: 8.188 kB / 273.3 MB, free: 224 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.007989, allocations: 24.78 kB / 273.4 MB, free: 196 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00799, allocations: 0 / 273.4 MB, free: 196 kB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.875e-05/0.008049, allocations: 69.61 kB / 273.4 MB, free: 120 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.008061, allocations: 4 kB / 273.4 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.008065, allocations: 0 / 273.4 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.008074, allocations: 0 / 273.4 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.008118, allocations: 11.98 kB / 273.4 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008122, allocations: 4 kB / 273.5 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.008143, allocations: 0 / 273.5 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.008146, allocations: 0 / 273.5 MB, free: 100 kB / 266.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 7.935e-05/0.008226, allocations: 120.6 kB / 273.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.008254, allocations: 27.91 kB / 273.6 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.795e-05/0.008352, allocations: 85.12 kB / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.008354, allocations: 0 / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.008356, allocations: 0 / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008359, allocations: 0 / 273.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.008574, allocations: 278.5 kB / 274 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.008575, allocations: 4 kB / 274 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.008602, allocations: 12.19 kB / 274 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.008621, allocations: 27.77 kB / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008625, allocations: 3.984 kB / 274 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.008629, allocations: 8 kB / 274 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.00863, allocations: 4 kB / 274 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008631, allocations: 0 / 274 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.008709, allocations: 155.5 kB / 274.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.008724, allocations: 3.984 kB / 274.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.008758, allocations: 7.938 kB / 274.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.008783, allocations: 4 kB / 274.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.008785, allocations: 0 / 274.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.008951, allocations: 279.2 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008951, allocations: 0 / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.009084, allocations: 23.94 kB / 274.5 MB, free: 15.02 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.001058/0.01014, allocations: 0.5544 MB / 275 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.084e-05/0.0102, allocations: 16.86 kB / 275 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.01021, allocations: 8 kB / 275.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.01023, allocations: 16.8 kB / 275.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.01042, allocations: 41.83 kB / 275.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.01109, allocations: 0.5743 MB / 275.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.944e-05/0.01116, allocations: 119.2 kB / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.707e-05/0.01119, allocations: 11.98 kB / 275.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.01123, allocations: 55.38 kB / 275.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01123, allocations: 0 / 275.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of Templates: time 0.00371/0.01494, allocations: 1.44 MB / 277.3 MB, free: 12.11 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.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.8162823962047696]