Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.0007859/0.0007859, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.001818, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007408/0.0007408, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008625/0.001603, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.983/0.983, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.086, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.2694/0.2694, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0302/0.2996, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.818e-05, allocations: 4.031 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003389/0.003417, allocations: 1.805 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.005107, allocations: 1.025 MB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.005198, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.005434, allocations: 55.69 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.005721, allocations: 103.5 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.005954, allocations: 71.67 kB / 297 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.006141, allocations: 107.6 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.006228, allocations: 8 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.00638, allocations: 79.8 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.006466, allocations: 27.92 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.006485, allocations: 7.938 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.00659, allocations: 47.91 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.006645, allocations: 31.86 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.006689, allocations: 15.94 kB / 297.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.0069, allocations: 111.5 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.586e-05/0.006926, allocations: 0 / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006927, allocations: 0 / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.00695, allocations: 0 / 297.4 MB, free: 1.594 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005732/0.007524, allocations: 364.9 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.007565, allocations: 8.922 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.007611, allocations: 20.86 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.007832, allocations: 158.4 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.007855, allocations: 4.375 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.007876, allocations: 384 / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.00801, allocations: 65.77 kB / 298 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.00802, allocations: 192 / 298 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.008028, allocations: 384 / 298 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.008036, allocations: 3.938 kB / 298.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.008075, allocations: 23.91 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.008344, allocations: 173.9 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.008472, allocations: 85.3 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.008496, allocations: 8.859 kB / 298.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.008508, allocations: 0 / 298.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.008644, allocations: 66.2 kB / 298.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.444e-06/0.008647, allocations: 0 / 298.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003941/0.009041, allocations: 117.4 kB / 298.5 MB, free: 416 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.009079, allocations: 55.41 kB / 298.6 MB, free: 348 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.009276, allocations: 219.9 kB / 298.8 MB, free: 112 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.009299, allocations: 29.7 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.009369, allocations: 100.1 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.009406, allocations: 19.86 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.009461, allocations: 29.69 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.009581, allocations: 326.8 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.00961, allocations: 10.81 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.009646, allocations: 22.66 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.009713, allocations: 40.58 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.009715, allocations: 0 / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001212/0.009836, allocations: 84.42 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.009855, allocations: 7.938 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009861, allocations: 0 / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.009872, allocations: 0 / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.009976, allocations: 19.94 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.009981, allocations: 3.984 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.01002, allocations: 4 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.01003, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.432e-05/0.01013, allocations: 120.6 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.01015, allocations: 15.92 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.0103, allocations: 83.66 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.0103, allocations: 4 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01031, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01031, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.01065, allocations: 295.4 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.01065, allocations: 8.312 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.01069, allocations: 11.98 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.01071, allocations: 19.83 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01072, allocations: 4 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.01073, allocations: 4 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01073, allocations: 4.031 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01073, allocations: 0 / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.01088, allocations: 230.6 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01091, allocations: 0 / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.01097, allocations: 4 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.01101, allocations: 7.984 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.01102, allocations: 4 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.0111, allocations: 75.61 kB / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0111, allocations: 0 / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.01134, allocations: 24 kB / 300.4 MB, free: 14.42 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001934/0.01328, allocations: 0.6178 MB / 301 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.0134, allocations: 40.77 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.01341, allocations: 8.062 kB / 301 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.01345, allocations: 32.77 kB / 301.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.01373, allocations: 43.84 kB / 301.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.01439, allocations: 268.5 kB / 301.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.01445, allocations: 79.19 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.0145, allocations: 12.97 kB / 301.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/0.01459, allocations: 71.41 kB / 301.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01459, allocations: 4 kB / 301.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Templates: time 0.005258/0.01985, allocations: 2.071 MB / 303.6 MB, free: 11.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8165694754570723]