Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.0007816/0.0007816, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.00194, 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.0007503/0.0007503, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009016/0.001652, 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.9413/0.9413, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1097/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2645/0.2645, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02414/0.2886, allocations: 13.1 MB / 291.3 MB, free: 7.375 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.172e-05, allocations: 2.312 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001809/0.001821, allocations: 1.809 MB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.003449, allocations: 1.758 MB / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.003509, allocations: 0 / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.00367, allocations: 35.77 kB / 296.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.003886, allocations: 107.3 kB / 296.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.004044, allocations: 79.66 kB / 296.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.004192, allocations: 123.6 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.704e-05/0.004259, allocations: 11.98 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.004368, allocations: 79.81 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004469, allocations: 36.89 kB / 296.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.004484, allocations: 4 kB / 296.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.004659, allocations: 119.7 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.004695, allocations: 15.94 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.004725, allocations: 15.94 kB / 296.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.004917, allocations: 155.4 kB / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.004929, allocations: 0 / 297 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004929, allocations: 4 kB / 297.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.004941, allocations: 0 / 297.1 MB, free: 1.859 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.0003896/0.00533, allocations: 356.9 kB / 297.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.005356, allocations: 11.97 kB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.005391, allocations: 12.92 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.005529, allocations: 149.4 kB / 297.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.005543, allocations: 4.375 kB / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.005558, allocations: 384 / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.005674, allocations: 113.1 kB / 297.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.005683, allocations: 7.922 kB / 297.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.00569, allocations: 0 / 297.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.005694, allocations: 3.984 kB / 297.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.045e-05/0.005725, allocations: 14.83 kB / 297.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.005913, allocations: 181.9 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.355e-05/0.006007, allocations: 93.36 kB / 298 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.006027, allocations: 16.8 kB / 298 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.006037, allocations: 0 / 298 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.478e-05/0.006122, allocations: 74.14 kB / 298.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.006123, allocations: 0 / 298.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002677/0.006391, allocations: 121.5 kB / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.006418, allocations: 63.41 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.00651, allocations: 162.9 kB / 298.4 MB, free: 364 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.006525, allocations: 29.7 kB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.006555, allocations: 92.11 kB / 298.5 MB, free: 232 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.006578, allocations: 31.72 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.006612, allocations: 25.72 kB / 298.6 MB, free: 168 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.006698, allocations: 326.8 kB / 298.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.006716, allocations: 18.77 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.006749, allocations: 56.92 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.126e-05/0.00679, allocations: 47.36 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.006791, allocations: 4 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.051e-05/0.006862, allocations: 80.31 kB / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.006871, allocations: 4 kB / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006875, allocations: 4 kB / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-06/0.006881, allocations: 0 / 299.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/0.006943, allocations: 27.92 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.006946, allocations: 0 / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.00697, allocations: 4 kB / 299.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.006974, allocations: 0 / 299.1 MB, free: 15.56 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 (11): * Single equations (assignments): 11 * 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.317e-05/0.007027, allocations: 120.7 kB / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.007042, allocations: 15.92 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.007138, allocations: 83.47 kB / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.00714, allocations: 4 kB / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007141, allocations: 0 / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007144, allocations: 0 / 299.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.007352, allocations: 303.4 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007353, allocations: 0 / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.007388, allocations: 16 kB / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.0074, allocations: 11.91 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007401, allocations: 4.031 kB / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.007411, allocations: 11.98 kB / 299.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.007413, allocations: 0 / 299.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007414, allocations: 0 / 299.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.00752, allocations: 222.9 kB / 299.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.007539, allocations: 11.98 kB / 299.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-05/0.007578, allocations: 4 kB / 299.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.007604, allocations: 3.984 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.007616, allocations: 8 kB / 299.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.042e-05/0.007657, allocations: 45.17 kB / 300 MB, free: 14.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007657, allocations: 4 kB / 300 MB, free: 14.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.007839, allocations: 55.8 kB / 300 MB, free: 14.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 (11): * Single equations (assignments): 9 * 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.001493/0.009332, allocations: 0.7793 MB / 300.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.389e-05/0.009426, allocations: 52.77 kB / 300.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.009434, allocations: 4 kB / 300.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.009464, allocations: 28.78 kB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.009625, allocations: 44.41 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.01004, allocations: 223.6 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.779e-05/0.01007, allocations: 67.34 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.01013, allocations: 28.75 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.0102, allocations: 75.36 kB / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01021, allocations: 0 / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of Templates: time 0.003986/0.01419, allocations: 2.965 MB / 304.3 MB, free: 10.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.8447721488773823]