Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0007813/0.0007813, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001826/0.002607, 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.001139/0.001139, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002614, 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.9688/0.9688, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09357/1.062, 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.2711/0.2711, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02482/0.2959, allocations: 13.24 MB / 292.8 MB, free: 6.355 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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 294.1 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.133e-05, allocations: 3.578 kB / 294.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00225/0.002272, allocations: 1.747 MB / 295.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.003057, allocations: 0.595 MB / 296.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.003117, allocations: 0 / 296.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.003512, allocations: 0.4911 MB / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.003829, allocations: 311.2 kB / 297.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.004182, allocations: 173.1 kB / 297.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.004406, allocations: 175.6 kB / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.004492, allocations: 15.86 kB / 297.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.004653, allocations: 159.8 kB / 297.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.00482, allocations: 195.6 kB / 298 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.004837, allocations: 4 kB / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.818e-05/0.004915, allocations: 31.98 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.004999, allocations: 83.72 kB / 298.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.005034, allocations: 31.75 kB / 298.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.00524, allocations: 207 kB / 298.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.005252, allocations: 0 / 298.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005253, allocations: 0 / 298.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.005264, allocations: 0 / 298.3 MB, free: 0.8281 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.0005336/0.005798, allocations: 0.5927 MB / 298.9 MB, free: 212 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.005828, allocations: 12.92 kB / 298.9 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.005868, allocations: 24.91 kB / 298.9 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.006052, allocations: 246 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.00606, allocations: 4.375 kB / 299.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.006079, allocations: 384 / 299.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.006169, allocations: 58.94 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.006177, allocations: 192 / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.006183, allocations: 4.375 kB / 299.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.006188, allocations: 384 / 299.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.006209, allocations: 7.938 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.006442, allocations: 207 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.006561, allocations: 33.39 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.006575, allocations: 8.859 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.006589, allocations: 0 / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.006611, allocations: 38.56 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.006612, allocations: 0 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002688/0.006881, allocations: 101.8 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.006905, allocations: 55.34 kB / 299.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.007201, allocations: 0.5361 MB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.007212, allocations: 25.7 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.007271, allocations: 149.2 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.007289, allocations: 7.906 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.007316, allocations: 25.69 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.007405, allocations: 354.7 kB / 300.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.007414, allocations: 3.938 kB / 300.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.007425, allocations: 7.984 kB / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.007452, allocations: 23.67 kB / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007454, allocations: 0 / 300.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.99e-05/0.007513, allocations: 65.66 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.007526, allocations: 7.938 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.00753, allocations: 4 kB / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.00754, allocations: 4 kB / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.007584, allocations: 20.16 kB / 300.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.007587, allocations: 3.984 kB / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.007611, allocations: 8 kB / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.007615, allocations: 0 / 300.9 MB, free: 14.05 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 7.232e-05/0.007687, allocations: 108.7 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.007713, allocations: 31.91 kB / 301.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.893e-05/0.007812, allocations: 81.23 kB / 301.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007815, allocations: 4 kB / 301.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.007816, allocations: 4 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007819, allocations: 3.984 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.008018, allocations: 266.7 kB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008019, allocations: 0 / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.00805, allocations: 15.92 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.008072, allocations: 35.72 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008073, allocations: 4 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.008078, allocations: 4 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.008079, allocations: 0 / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.00808, allocations: 0 / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.643e-05/0.008156, allocations: 163.4 kB / 301.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.008169, allocations: 4 kB / 301.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.008206, allocations: 4 kB / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.008229, allocations: 11.92 kB / 301.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.008232, allocations: 0 / 301.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.008397, allocations: 287.2 kB / 301.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008397, allocations: 0 / 301.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.008533, allocations: 23.94 kB / 301.9 MB, free: 12.96 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.001216/0.009749, allocations: 0.5339 MB / 302.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.484e-05/0.009814, allocations: 28.83 kB / 302.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.009823, allocations: 8 kB / 302.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.009849, allocations: 24.78 kB / 302.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01006, allocations: 97.31 kB / 302.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006849/0.01074, allocations: 0.5779 MB / 303.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.535e-05/0.01081, allocations: 123.2 kB / 303.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.214e-05/0.01084, allocations: 11.92 kB / 303.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.0109, allocations: 71.36 kB / 303.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0109, allocations: 0 / 303.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Templates: time 0.003436/0.01433, allocations: 1.48 MB / 304.9 MB, free: 10.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.9269395880401134]