Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.0008163/0.0008163, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001487/0.002304, 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.0009252/0.0009252, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.0023, 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.091/1.091, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1019/1.193, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.3772/0.3772, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02753/0.4048, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.068e-05, allocations: 4.531 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002103/0.002124, allocations: 1.802 MB / 294.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003317, allocations: 1.027 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.00339, allocations: 0 / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.003583, allocations: 51.58 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.003822, allocations: 95.47 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.004024, allocations: 79.55 kB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.004177, allocations: 111.6 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.004267, allocations: 8 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.004396, allocations: 75.77 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.004478, allocations: 31.89 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.004495, allocations: 4 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.004586, allocations: 43.92 kB / 296.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.004635, allocations: 19.94 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.004667, allocations: 15.94 kB / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.004837, allocations: 95.55 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.004849, allocations: 0 / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00485, allocations: 4 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.004861, allocations: 0 / 296.4 MB, free: 2.641 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.0004865/0.005347, allocations: 337 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.005381, allocations: 12.03 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.005417, allocations: 12.92 kB / 296.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.005582, allocations: 146.3 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.005599, allocations: 4.375 kB / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.005618, allocations: 384 / 296.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.005742, allocations: 69.69 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.005753, allocations: 7.938 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.00576, allocations: 0 / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.005765, allocations: 0 / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.005786, allocations: 4 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.005997, allocations: 170 kB / 297.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.00609, allocations: 89.23 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.006111, allocations: 8.859 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.006122, allocations: 7.938 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.006238, allocations: 74.12 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.006239, allocations: 0 / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003064/0.006546, allocations: 117.5 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.006577, allocations: 51.41 kB / 297.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.006686, allocations: 177.3 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.006704, allocations: 33.7 kB / 297.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.006739, allocations: 96.11 kB / 297.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.006768, allocations: 23.84 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.006805, allocations: 25.7 kB / 297.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.006888, allocations: 322.8 kB / 298.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.006907, allocations: 10.83 kB / 298.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.006932, allocations: 29.64 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.006975, allocations: 36.52 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006976, allocations: 0 / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.902e-05/0.007055, allocations: 84.44 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.007068, allocations: 8 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.007072, allocations: 0 / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.007084, allocations: 0 / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.007154, allocations: 19.98 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.007158, allocations: 0 / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.007185, allocations: 0 / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.007192, allocations: 4 kB / 298.3 MB, free: 0.5195 MB / 282.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 6.713e-05/0.007259, allocations: 124.5 kB / 298.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.007273, allocations: 11.92 kB / 298.5 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.007386, allocations: 79.16 kB / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.007389, allocations: 4 kB / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.00739, allocations: 0 / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.007394, allocations: 0 / 298.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.007642, allocations: 303.4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.007644, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.007679, allocations: 15.92 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.007694, allocations: 11.94 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.007699, allocations: 4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.007706, allocations: 32 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.007708, allocations: 4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.00771, allocations: 3.938 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.007828, allocations: 215 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.007846, allocations: 7.984 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-05/0.007887, allocations: 4 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.007914, allocations: 3.984 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.007929, allocations: 8.375 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.00798, allocations: 51.62 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00798, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00015/0.00813, allocations: 20 kB / 299.2 MB, free: 15.59 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.001389/0.009519, allocations: 0.637 MB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.009627, allocations: 48.77 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.009636, allocations: 3.984 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.009677, allocations: 36.78 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.009918, allocations: 176.4 kB / 300.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.01039, allocations: 223.6 kB / 300.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.01043, allocations: 67.34 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.101e-05/0.01047, allocations: 17.16 kB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.01053, allocations: 71.3 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01053, allocations: 0 / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of Templates: time 0.00363/0.01416, allocations: 2.046 MB / 302.5 MB, free: 12.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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: 3.0809821374714375]