Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001165/0.001165, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001959/0.003125, allocations: 449.8 kB / 10.44 MB, free: 252 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.001175/0.001175, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001778/0.002953, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.028/1.028, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09709/1.125, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2367/0.2367, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0254/0.2621, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.665e-05, allocations: 8.578 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003306/0.003332, allocations: 1.738 MB / 294.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.004446, allocations: 0.5762 MB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.004511, allocations: 4 kB / 295.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.00512, allocations: 0.4911 MB / 295.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.005578, allocations: 315.1 kB / 296 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.006044, allocations: 177.8 kB / 296.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.006343, allocations: 175.6 kB / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.006448, allocations: 15.92 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.006666, allocations: 156.4 kB / 296.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.006894, allocations: 195.6 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.006916, allocations: 4 kB / 296.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.007017, allocations: 31.92 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.007126, allocations: 91.66 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.007172, allocations: 31.75 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.007461, allocations: 195.2 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.007475, allocations: 0 / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007477, allocations: 0 / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.00749, allocations: 3.938 kB / 297 MB, free: 1.992 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.0007415/0.008232, allocations: 0.6004 MB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.008274, allocations: 8.031 kB / 297.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.008336, allocations: 24.91 kB / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.008595, allocations: 242.1 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.008613, allocations: 4.375 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.008646, allocations: 4.375 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.008798, allocations: 54.95 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.008811, allocations: 192 / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.008825, allocations: 12.11 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.008833, allocations: 3.938 kB / 298 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.008865, allocations: 4 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.009214, allocations: 207 kB / 298.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.009374, allocations: 29.39 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.009396, allocations: 16.86 kB / 298.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.009417, allocations: 4 kB / 298.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.009451, allocations: 42.48 kB / 298.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.009452, allocations: 0 / 298.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000358/0.00981, allocations: 97.61 kB / 298.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.009841, allocations: 51.41 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.01033, allocations: 0.5284 MB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.01034, allocations: 25.7 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.01042, allocations: 149.2 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.01045, allocations: 15.89 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.01048, allocations: 13.72 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.0106, allocations: 362.7 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.01062, allocations: 8 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.01063, allocations: 4.188 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.01068, allocations: 27.67 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01068, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.804e-05/0.01078, allocations: 69.44 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01079, allocations: 4 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.0108, allocations: 3.984 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.01081, allocations: 4 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.01089, allocations: 11.94 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.01089, allocations: 3.984 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.01094, allocations: 8 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.01094, allocations: 4 kB / 299.6 MB, free: 15.2 MB / 298.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 8.379e-05/0.01103, allocations: 108.7 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.01107, allocations: 27.91 kB / 299.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.01122, allocations: 85.17 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01123, allocations: 4 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.01123, allocations: 0 / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01123, allocations: 0 / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.01155, allocations: 274.6 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01155, allocations: 4 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.01161, allocations: 11.94 kB / 300.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.01164, allocations: 35.7 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01165, allocations: 4 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.01165, allocations: 192 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.01166, allocations: 4 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01166, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.01178, allocations: 167.4 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.0118, allocations: 0 / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.01188, allocations: 4 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.01191, allocations: 3.984 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.01191, allocations: 4 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.01219, allocations: 283.2 kB / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01219, allocations: 0 / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.01242, allocations: 27.94 kB / 300.7 MB, free: 14.11 MB / 298.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.001686/0.01411, allocations: 0.5519 MB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.118e-05/0.01419, allocations: 28.78 kB / 301.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.0142, allocations: 8 kB / 301.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.01423, allocations: 16.86 kB / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.01445, allocations: 108.2 kB / 301.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.01518, allocations: 0.5854 MB / 302 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.01525, allocations: 119.2 kB / 302.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.393e-05/0.01529, allocations: 11.98 kB / 302.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.01534, allocations: 59.36 kB / 302.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01534, allocations: 0 / 302.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of Templates: time 0.003701/0.01904, allocations: 1.488 MB / 303.6 MB, free: 11.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.883349074050784]