Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001891/0.001891, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 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.002232/0.002232, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.991/0.991, allocations: 158.6 MB / 186 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1414/0.1414, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 4 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.604e-05, allocations: 8.219 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002032/0.002058, allocations: 1.649 MB / 349.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.002461, allocations: 339.3 kB / 349.7 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.002513, allocations: 4 kB / 349.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.002877, allocations: 451.1 kB / 350.1 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.003106, allocations: 259.3 kB / 350.4 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.003347, allocations: 151.7 kB / 350.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.0035, allocations: 167.6 kB / 350.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.003589, allocations: 12.17 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.003672, allocations: 123.8 kB / 350.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.003815, allocations: 231.6 kB / 351 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.003831, allocations: 4 kB / 351 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.098e-05/0.003892, allocations: 43.86 kB / 351.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.003956, allocations: 79.72 kB / 351.2 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.003994, allocations: 43.67 kB / 351.2 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004162, allocations: 187.2 kB / 351.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004164, allocations: 0 / 351.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.004165, allocations: 0 / 351.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.00417, allocations: 4 kB / 351.4 MB, free: 6.043 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.0004049/0.004575, allocations: 0.6776 MB / 352.1 MB, free: 5.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.004606, allocations: 8.031 kB / 352.1 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.004655, allocations: 52.61 kB / 352.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.004797, allocations: 244.8 kB / 352.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.004805, allocations: 12.38 kB / 352.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.004824, allocations: 384 / 352.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.004926, allocations: 62.94 kB / 352.4 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.004936, allocations: 192 / 352.4 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.004944, allocations: 3.938 kB / 352.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.004951, allocations: 0 / 352.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.004981, allocations: 11.94 kB / 352.5 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.005289, allocations: 431.6 kB / 352.9 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.005423, allocations: 46.98 kB / 352.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.005441, allocations: 11.69 kB / 352.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.005457, allocations: 4 kB / 352.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.00547, allocations: 33.39 kB / 353 MB, free: 4.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.005471, allocations: 0 / 353 MB, free: 4.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003119/0.005783, allocations: 188.8 kB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.005803, allocations: 55.34 kB / 353.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.006094, allocations: 0.6199 MB / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-06/0.006099, allocations: 29.7 kB / 353.9 MB, free: 3.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.006189, allocations: 282.8 kB / 354.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.006206, allocations: 15.84 kB / 354.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.006231, allocations: 23.38 kB / 354.2 MB, free: 3.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.006299, allocations: 0.5586 MB / 354.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.006316, allocations: 8 kB / 354.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.272e-05/0.006329, allocations: 4 kB / 354.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.006359, allocations: 23.88 kB / 354.8 MB, free: 2.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.00636, allocations: 3.984 kB / 354.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.598e-05/0.006426, allocations: 93.42 kB / 354.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.006437, allocations: 11.94 kB / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.006442, allocations: 0 / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.006454, allocations: 0 / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.577e-05/0.006489, allocations: 11.98 kB / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.006494, allocations: 4 kB / 354.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.284e-05/0.006517, allocations: 4 kB / 354.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.00652, allocations: 0 / 354.9 MB, free: 2.328 MB / 282.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 4.808e-05/0.006569, allocations: 160.5 kB / 355 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.006593, allocations: 43.72 kB / 355.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.006701, allocations: 97.19 kB / 355.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.006703, allocations: 3.984 kB / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.006707, allocations: 0 / 355.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.00671, allocations: 4.219 kB / 355.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.006958, allocations: 461.3 kB / 355.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.00696, allocations: 4 kB / 355.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.006985, allocations: 12 kB / 355.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006986, allocations: 3.938 kB / 355.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.006995, allocations: 7.984 kB / 355.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006996, allocations: 0 / 355.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006997, allocations: 0 / 355.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.316e-05/0.00708, allocations: 251.7 kB / 355.9 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.007097, allocations: 31.72 kB / 355.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.007113, allocations: 0 / 355.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.007149, allocations: 7.984 kB / 356 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.007182, allocations: 4 kB / 356 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.007185, allocations: 4 kB / 356 MB, free: 1.176 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.007368, allocations: 426.8 kB / 356.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007368, allocations: 0 / 356.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.007536, allocations: 23.94 kB / 356.4 MB, free: 0.7383 MB / 282.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.0007255/0.008262, allocations: 378.9 kB / 356.8 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.559e-05/0.008347, allocations: 31.61 kB / 356.8 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008348, allocations: 0 / 356.8 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.008367, allocations: 19.69 kB / 356.8 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.008601, allocations: 31.14 kB / 356.9 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.009133, allocations: 0.5743 MB / 357.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.035e-05/0.009204, allocations: 119.2 kB / 357.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.794e-05/0.009242, allocations: 15.98 kB / 357.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.009267, allocations: 12.5 kB / 357.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.009267, allocations: 0 / 357.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of Templates: time 0.003718/0.01299, allocations: 1.376 MB / 358.9 MB, free: 14.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.2508031339384615]