Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0008199/0.0008199, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001957, 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.0006979/0.0006979, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009495/0.001647, 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.046/1.046, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08335/1.129, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.2802/0.2802, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.304, allocations: 13.1 MB / 291.5 MB, free: 7.344 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.267e-05, allocations: 11.3 kB / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00194/0.001953, allocations: 1.746 MB / 294.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.002665, allocations: 0.5646 MB / 295.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.00271, allocations: 4 kB / 295.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.003086, allocations: 491 kB / 295.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.003378, allocations: 315 kB / 296 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.003626, allocations: 139.5 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.003807, allocations: 167.6 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.00389, allocations: 15.98 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.004052, allocations: 163.7 kB / 296.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.004216, allocations: 187.7 kB / 296.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004231, allocations: 4 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.004326, allocations: 59.8 kB / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.004415, allocations: 79.72 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.004453, allocations: 31.75 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.004656, allocations: 211.1 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.004667, allocations: 4 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004668, allocations: 0 / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.004678, allocations: 7.922 kB / 297 MB, free: 2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005127/0.005191, allocations: 0.5965 MB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.005221, allocations: 12.03 kB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.005262, allocations: 24.91 kB / 297.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.00545, allocations: 242.1 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.005457, allocations: 384 / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.005481, allocations: 8.328 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.383e-05/0.005574, allocations: 66.88 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005583, allocations: 4.188 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.005591, allocations: 4.125 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.005597, allocations: 0 / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.00562, allocations: 15.98 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.005832, allocations: 164.2 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.005886, allocations: 38.53 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.005899, allocations: 8.859 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.005917, allocations: 3.938 kB / 298.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.005943, allocations: 38.64 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.005944, allocations: 96 / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004455/0.006389, allocations: 169.3 kB / 298.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.006415, allocations: 51.41 kB / 298.5 MB, free: 464 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.006737, allocations: 0.5283 MB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.006751, allocations: 29.7 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.006804, allocations: 137.3 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.00683, allocations: 31.73 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.006857, allocations: 17.7 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.006949, allocations: 362.6 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.006961, allocations: 4 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.006973, allocations: 16.06 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.007008, allocations: 28.83 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007009, allocations: 3.938 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.021e-05/0.00708, allocations: 77.59 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.007091, allocations: 8 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.007096, allocations: 3.984 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007108, allocations: 0 / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.007173, allocations: 12 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.007177, allocations: 4 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.007202, allocations: 3.984 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.007207, allocations: 4 kB / 299.7 MB, free: 15.14 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 (8): * Single equations (assignments): 8 * 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.011e-05/0.007277, allocations: 120.6 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.007309, allocations: 27.91 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.007437, allocations: 101.5 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.00744, allocations: 0 / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007441, allocations: 0 / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007444, allocations: 0 / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.007714, allocations: 311.4 kB / 300.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007716, allocations: 4.031 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.007756, allocations: 12 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.00778, allocations: 39.7 kB / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007782, allocations: 0 / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.007787, allocations: 0 / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.00779, allocations: 7.938 kB / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007791, allocations: 0 / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.007892, allocations: 180.7 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.007905, allocations: 0 / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.007944, allocations: 4 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.007969, allocations: 11.98 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.007973, allocations: 4 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.008161, allocations: 287.2 kB / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008161, allocations: 0 / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.008309, allocations: 31.92 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001345/0.009654, allocations: 0.644 MB / 301.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.646e-05/0.00974, allocations: 28.84 kB / 301.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.009751, allocations: 8 kB / 301.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.009784, allocations: 28.83 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01001, allocations: 97.11 kB / 301.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.01071, allocations: 0.6072 MB / 302.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.867e-05/0.01077, allocations: 123.2 kB / 302.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.01081, allocations: 17.19 kB / 302.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.01086, allocations: 63.36 kB / 302.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01086, allocations: 0 / 302.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003754/0.01462, allocations: 1.731 MB / 304.2 MB, free: 10.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.8144659781828523]