Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00169/0.002767, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007308/0.0007308, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001823, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.959/0.959, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09715/1.056, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2826/0.2826, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0255/0.3081, allocations: 13.24 MB / 292.8 MB, free: 6.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 294.1 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.333e-05, allocations: 3.406 kB / 294.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003773/0.003797, allocations: 1.742 MB / 295.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.005809, allocations: 1.363 MB / 297.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.005882, allocations: 0 / 297.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.006048, allocations: 27.78 kB / 297.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.006352, allocations: 87.5 kB / 297.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.006879, allocations: 184.7 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.007146, allocations: 87.69 kB / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.007231, allocations: 12 kB / 297.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.007334, allocations: 55.89 kB / 297.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.00744, allocations: 23.91 kB / 297.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.007454, allocations: 8 kB / 297.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.007666, allocations: 103.8 kB / 297.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.00771, allocations: 11.94 kB / 297.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.007734, allocations: 15.94 kB / 297.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.007941, allocations: 131.5 kB / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.007952, allocations: 0 / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007953, allocations: 8 kB / 298 MB, free: 1.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.007962, allocations: 0 / 298 MB, free: 1.168 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.0003568/0.008319, allocations: 329.1 kB / 298.3 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.008348, allocations: 11.44 kB / 298.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.008376, allocations: 8.922 kB / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.008503, allocations: 132.5 kB / 298.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.008511, allocations: 4.375 kB / 298.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.008527, allocations: 384 / 298.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.008639, allocations: 110.3 kB / 298.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.008646, allocations: 4.125 kB / 298.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.008652, allocations: 4.375 kB / 298.6 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.008656, allocations: 384 / 298.6 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.00868, allocations: 19.91 kB / 298.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.008882, allocations: 175 kB / 298.8 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/0.00894, allocations: 30.5 kB / 298.8 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.008955, allocations: 8.859 kB / 298.8 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.008973, allocations: 4 kB / 298.8 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.008992, allocations: 30.56 kB / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.008992, allocations: 0 / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002865/0.009279, allocations: 117.6 kB / 298.9 MB, free: 92 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.009301, allocations: 55.39 kB / 299 MB, free: 24 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.009397, allocations: 138.7 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.009408, allocations: 25.7 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.009438, allocations: 96.02 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.009458, allocations: 23.84 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.009483, allocations: 13.72 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.009594, allocations: 326.8 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.009619, allocations: 4 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.009654, allocations: 55.34 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.009693, allocations: 27.67 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.009694, allocations: 0 / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.744e-05/0.009751, allocations: 57.67 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.009762, allocations: 11.92 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.009765, allocations: 0 / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.009774, allocations: 0 / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.009845, allocations: 23.92 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.009849, allocations: 0 / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.009872, allocations: 4 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.009876, allocations: 0 / 299.8 MB, free: 15.17 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 5.43e-05/0.00993, allocations: 120.7 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.009949, allocations: 11.92 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.277e-05/0.01004, allocations: 70.39 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.01004, allocations: 0 / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01004, allocations: 0 / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01005, allocations: 3.984 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.01022, allocations: 227.1 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.01022, allocations: 0 / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.01026, allocations: 23.92 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.01027, allocations: 24.22 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.01028, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.01028, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01028, allocations: 80 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.01028, allocations: 7.969 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.562e-05/0.01036, allocations: 163.4 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.01037, allocations: 4 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.01041, allocations: 4 kB / 300.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.01043, allocations: 7.984 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.01043, allocations: 0 / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.01046, allocations: 30.86 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01046, allocations: 4 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001597/0.01062, allocations: 47.86 kB / 300.5 MB, free: 14.38 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.001483/0.0121, allocations: 0.6662 MB / 301.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.01221, allocations: 32.83 kB / 301.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.01222, allocations: 4 kB / 301.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.01227, allocations: 24.78 kB / 301.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.01248, allocations: 95.27 kB / 301.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.01292, allocations: 214.7 kB / 301.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.01295, allocations: 63.34 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.013, allocations: 12.72 kB / 301.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.01307, allocations: 67.36 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01307, allocations: 0 / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Templates: time 0.003574/0.01664, allocations: 2.192 MB / 303.9 MB, free: 11.31 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.8509495286270976]