Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001138/0.001138, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002626, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007367/0.0007367, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001789, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9907/0.9907, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09789/1.089, allocations: 53.64 MB / 243.3 MB, free: 15.6 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.2674/0.2674, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02519/0.2926, allocations: 13.09 MB / 291.3 MB, free: 7.387 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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 292.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.623e-05, allocations: 3.438 kB / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002824/0.00284, allocations: 1.812 MB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.004555, allocations: 1.014 MB / 295.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.004701, allocations: 4 kB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.004936, allocations: 43.7 kB / 295.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.0052, allocations: 95.47 kB / 295.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.005413, allocations: 71.67 kB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.005621, allocations: 111.6 kB / 295.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.005708, allocations: 11.94 kB / 295.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.005862, allocations: 71.88 kB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.005951, allocations: 31.84 kB / 296 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.00597, allocations: 4 kB / 296 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.00607, allocations: 51.86 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.006124, allocations: 19.94 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.006163, allocations: 11.94 kB / 296.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.006357, allocations: 95.66 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.006372, allocations: 0 / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006373, allocations: 0 / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.006388, allocations: 0 / 296.1 MB, free: 2.773 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.0005161/0.006904, allocations: 337 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.006939, allocations: 8.031 kB / 296.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.006979, allocations: 8.922 kB / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.007182, allocations: 146.2 kB / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.007201, allocations: 4.375 kB / 296.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.007222, allocations: 4.375 kB / 296.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.007358, allocations: 61.77 kB / 296.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.007369, allocations: 3.938 kB / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.007377, allocations: 0 / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.007383, allocations: 0 / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.007419, allocations: 11.98 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.007686, allocations: 173.8 kB / 296.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.007812, allocations: 89.34 kB / 297 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.00784, allocations: 16.86 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.007852, allocations: 0 / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.007981, allocations: 70.11 kB / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.007983, allocations: 0 / 297.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003812/0.008364, allocations: 105.6 kB / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.008408, allocations: 51.41 kB / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.008545, allocations: 173 kB / 297.4 MB, free: 1.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.008563, allocations: 29.7 kB / 297.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.0086, allocations: 92.11 kB / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.008633, allocations: 39.67 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.008677, allocations: 25.7 kB / 297.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.008767, allocations: 322.8 kB / 297.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.008792, allocations: 10.83 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.008825, allocations: 25.7 kB / 297.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.00888, allocations: 36.52 kB / 298 MB, free: 0.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008882, allocations: 0 / 298 MB, free: 0.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001045/0.008986, allocations: 76.44 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.009, allocations: 4 kB / 298 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.009005, allocations: 8.031 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.009014, allocations: 0 / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.009103, allocations: 23.92 kB / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.009106, allocations: 0 / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.009145, allocations: 7.938 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.009152, allocations: 4 kB / 298.1 MB, free: 0.6641 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 8.141e-05/0.009234, allocations: 122.1 kB / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.009252, allocations: 7.938 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.009397, allocations: 75.06 kB / 298.3 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.0094, allocations: 4 kB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.009402, allocations: 4 kB / 298.3 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.009407, allocations: 3.984 kB / 298.3 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.009689, allocations: 291.4 kB / 298.6 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.009692, allocations: 4 kB / 298.6 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.009736, allocations: 11.98 kB / 298.6 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.00975, allocations: 7.953 kB / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009752, allocations: 0 / 298.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.009761, allocations: 4.375 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.009763, allocations: 0 / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.009764, allocations: 0 / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.009924, allocations: 231 kB / 298.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.009947, allocations: 4 kB / 298.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.01002, allocations: 4 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.01005, allocations: 7.984 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.01006, allocations: 4 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.01012, allocations: 48.34 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01012, allocations: 0 / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.01035, allocations: 23.94 kB / 298.9 MB, free: 15.76 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.001992/0.01235, allocations: 0.6354 MB / 299.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.01246, allocations: 44.77 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.01247, allocations: 4 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.01252, allocations: 29.05 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.01277, allocations: 51.61 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.01336, allocations: 224 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.374e-05/0.01341, allocations: 67.28 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.022e-05/0.01346, allocations: 12.97 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.01355, allocations: 67.36 kB / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01355, allocations: 0 / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of Templates: time 0.003744/0.01729, allocations: 2.041 MB / 302.1 MB, free: 12.92 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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: 3.002674352377653]