Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.000757/0.000757, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.001982, 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.001555/0.001555, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.003241, 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 0.9657/0.9657, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09262/1.058, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.2587/0.2587, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02264/0.2813, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.321e-05, allocations: 3.812 kB / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002354/0.002377, allocations: 1.751 MB / 294.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.003126, allocations: 0.5645 MB / 295.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.003181, allocations: 4 kB / 295.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.00359, allocations: 487 kB / 295.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.003965, allocations: 315.1 kB / 296 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.004277, allocations: 135.5 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.004521, allocations: 175.6 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.004602, allocations: 15.98 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.004758, allocations: 152.4 kB / 296.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.004926, allocations: 195.6 kB / 296.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.004942, allocations: 4 kB / 296.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.465e-05/0.005027, allocations: 35.92 kB / 296.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.00511, allocations: 83.66 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.005142, allocations: 35.75 kB / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.00535, allocations: 199.2 kB / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.005362, allocations: 0 / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005362, allocations: 0 / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.005372, allocations: 4 kB / 297 MB, free: 2.039 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.0005525/0.005925, allocations: 0.6004 MB / 297.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.005958, allocations: 8.031 kB / 297.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.006005, allocations: 24.91 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.006209, allocations: 246 kB / 297.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.006217, allocations: 8.312 kB / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.006237, allocations: 384 / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.006338, allocations: 62.94 kB / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.006346, allocations: 192 / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.006354, allocations: 4.125 kB / 297.9 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.006359, allocations: 4 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.006382, allocations: 11.98 kB / 297.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.006588, allocations: 164.2 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.821e-05/0.006646, allocations: 26.56 kB / 298.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.00666, allocations: 8.859 kB / 298.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.006683, allocations: 7.984 kB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.006706, allocations: 34.5 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.006707, allocations: 0 / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003562/0.007063, allocations: 133.6 kB / 298.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.007091, allocations: 51.41 kB / 298.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.007442, allocations: 0.5322 MB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.00746, allocations: 25.7 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.007519, allocations: 141.2 kB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.007545, allocations: 23.78 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.007576, allocations: 21.7 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.007671, allocations: 354.7 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.007691, allocations: 11.92 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.007709, allocations: 8.078 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.007748, allocations: 28.97 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.00775, allocations: 4 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.074e-05/0.007831, allocations: 77.59 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.007843, allocations: 4 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.007848, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.00786, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.007945, allocations: 23.92 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.007948, allocations: 0 / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.007978, allocations: 11.98 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.007983, allocations: 3.938 kB / 299.6 MB, free: 15.23 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 (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 7.243e-05/0.008056, allocations: 120.7 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.008085, allocations: 27.91 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.008214, allocations: 89.53 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.008217, allocations: 0 / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008218, allocations: 0 / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.008221, allocations: 0 / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.008477, allocations: 290.6 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.008479, allocations: 0 / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.00853, allocations: 19.98 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.008554, allocations: 31.72 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.008558, allocations: 4 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.008562, allocations: 0 / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.008565, allocations: 4 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008567, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.008673, allocations: 171.4 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.00869, allocations: 7.984 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.008734, allocations: 4 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.008762, allocations: 7.984 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.008766, allocations: 0 / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.008945, allocations: 279.2 kB / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008945, allocations: 4 kB / 300.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.00909, allocations: 31.94 kB / 300.7 MB, free: 14.1 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.001258/0.01035, allocations: 0.5516 MB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.349e-05/0.01044, allocations: 36.72 kB / 301.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.01045, allocations: 4 kB / 301.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-05/0.01049, allocations: 24.84 kB / 301.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.01073, allocations: 116.1 kB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.01148, allocations: 0.5907 MB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.386e-05/0.01156, allocations: 119.2 kB / 302.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.0116, allocations: 12.45 kB / 302.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.01166, allocations: 55.38 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01166, allocations: 0 / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of Templates: time 0.003599/0.01526, allocations: 1.588 MB / 303.8 MB, free: 11.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.85618335288018]