Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001027/0.001027, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002587, 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.0007197/0.0007197, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001009/0.001728, 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.037/1.037, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09492/1.132, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2704/0.2704, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02664/0.2971, allocations: 13.11 MB / 291.5 MB, free: 7.336 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.727e-05, allocations: 2.312 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002105/0.002122, allocations: 1.747 MB / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003447, allocations: 1.356 MB / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.003495, allocations: 0 / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.003608, allocations: 27.78 kB / 296 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.003792, allocations: 83.44 kB / 296.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.004121, allocations: 197.4 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.00426, allocations: 71.84 kB / 296.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.004349, allocations: 7.938 kB / 296.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.00445, allocations: 60.45 kB / 296.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.004547, allocations: 39.89 kB / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.004562, allocations: 4 kB / 296.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.004713, allocations: 91.83 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.004758, allocations: 23.86 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.004779, allocations: 11.94 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.004951, allocations: 123.6 kB / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.004961, allocations: 0 / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004961, allocations: 0 / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.004969, allocations: 0 / 296.7 MB, free: 2.336 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.0003797/0.005349, allocations: 337 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.672e-05/0.005376, allocations: 8.031 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.005407, allocations: 16.92 kB / 297 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.005541, allocations: 133.7 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.005548, allocations: 384 / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.005568, allocations: 4.375 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.005686, allocations: 98.36 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005694, allocations: 192 / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.005703, allocations: 8.125 kB / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.005707, allocations: 0 / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.005731, allocations: 19.91 kB / 297.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.005952, allocations: 183 kB / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.006012, allocations: 22.58 kB / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.006028, allocations: 12.86 kB / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.006047, allocations: 0 / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.006066, allocations: 38.44 kB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.006067, allocations: 4 kB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003076/0.006375, allocations: 109.7 kB / 297.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.006399, allocations: 51.41 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.006485, allocations: 135.4 kB / 297.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.006495, allocations: 33.7 kB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.006532, allocations: 100 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.006551, allocations: 19.8 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.006581, allocations: 29.69 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.00665, allocations: 314.8 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.006663, allocations: 8 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.006693, allocations: 47.41 kB / 298.4 MB, free: 476 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.006726, allocations: 27.66 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006727, allocations: 0 / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.306e-05/0.00679, allocations: 61.55 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.006804, allocations: 8.031 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006809, allocations: 8 kB / 298.5 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.00682, allocations: 0 / 298.5 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.006891, allocations: 15.98 kB / 298.5 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.006895, allocations: 4 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.006925, allocations: 8 kB / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.006931, allocations: 3.984 kB / 298.5 MB, free: 328 kB / 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 (7): * Single equations (assignments): 7 * 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 5.469e-05/0.006986, allocations: 112.7 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.007004, allocations: 7.938 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.007108, allocations: 74.31 kB / 298.7 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.007109, allocations: 4 kB / 298.7 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.007111, allocations: 4 kB / 298.7 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007114, allocations: 0 / 298.7 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.00732, allocations: 235 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007321, allocations: 0 / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.007362, allocations: 19.98 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.007369, allocations: 4.234 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007372, allocations: 0 / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.007376, allocations: 4 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007377, allocations: 0 / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.007377, allocations: 4 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.575e-05/0.007463, allocations: 159.4 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.007475, allocations: 4 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.007511, allocations: 7.984 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.007533, allocations: 3.938 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.007537, allocations: 7.938 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.325e-05/0.00757, allocations: 39.94 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00757, allocations: 0 / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.007727, allocations: 35.88 kB / 299.2 MB, free: 15.55 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 (7): * Single equations (assignments): 7 * 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.001421/0.009147, allocations: 0.6935 MB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.121e-05/0.009229, allocations: 32.83 kB / 300 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.009234, allocations: 0 / 300 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.009265, allocations: 32.78 kB / 300 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.00944, allocations: 99.17 kB / 300.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.009836, allocations: 198.5 kB / 300.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.404e-05/0.00987, allocations: 67.33 kB / 300.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.028e-05/0.009911, allocations: 12.73 kB / 300.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.009977, allocations: 71.36 kB / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009978, allocations: 0 / 300.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.003232/0.01321, allocations: 2.183 MB / 302.6 MB, free: 12.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.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.9550633458420634]