Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001167/0.001167, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00199/0.003157, 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.001338/0.001338, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.002971, 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 1.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1264/1.137, allocations: 53.65 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2585/0.2585, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02673/0.2852, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.564e-05, allocations: 3.297 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.00326/0.003276, allocations: 1.741 MB / 292.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004332, allocations: 0.819 MB / 293.2 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.004373, allocations: 1.438 kB / 293.2 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.004579, allocations: 37.12 kB / 293.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.004744, allocations: 44.16 kB / 293.3 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.547e-06/0.004747, allocations: 3.312 kB / 293.3 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.004912, allocations: 29.52 kB / 293.3 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.004955, allocations: 2.25 kB / 293.3 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.005044, allocations: 19.66 kB / 293.3 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.005079, allocations: 14.23 kB / 293.3 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.005091, allocations: 0 / 293.3 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.408e-05/0.005145, allocations: 8 kB / 293.3 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.005187, allocations: 17.94 kB / 293.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.005211, allocations: 8 kB / 293.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.005366, allocations: 60.02 kB / 293.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.005383, allocations: 0 / 293.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005384, allocations: 0 / 293.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.0054, allocations: 0 / 293.4 MB, free: 5.426 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003926/0.005792, allocations: 286 kB / 293.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.00583, allocations: 7.219 kB / 293.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.005862, allocations: 4.562 kB / 293.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.006019, allocations: 119.8 kB / 293.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.006031, allocations: 4.359 kB / 293.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.006041, allocations: 1.438 kB / 293.8 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.006179, allocations: 101.7 kB / 293.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006188, allocations: 192 / 293.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.006196, allocations: 384 / 293.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/0.006252, allocations: 31.02 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.481e-05/0.006296, allocations: 27.84 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.006774, allocations: 0.7717 MB / 294.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.006851, allocations: 177.2 kB / 294.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.00688, allocations: 84.14 kB / 295 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.006902, allocations: 75.28 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.006943, allocations: 105.8 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.006945, allocations: 4 kB / 295.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.347e-05/0.007008, allocations: 29.7 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.007065, allocations: 126.7 kB / 295.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.007212, allocations: 184.9 kB / 295.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.007222, allocations: 25.7 kB / 295.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.007302, allocations: 147.5 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.318e-06/0.007311, allocations: 7.953 kB / 295.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.007365, allocations: 41.64 kB / 295.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.007465, allocations: 322.8 kB / 296.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.007487, allocations: 8 kB / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/0.007585, allocations: 137.1 kB / 296.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.007749, allocations: 175.7 kB / 296.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.007754, allocations: 4 kB / 296.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002122/0.007966, allocations: 141.2 kB / 296.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.007983, allocations: 8 kB / 296.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.007993, allocations: 4 kB / 296.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.008008, allocations: 8.625 kB / 296.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.008136, allocations: 43.92 kB / 296.6 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.008145, allocations: 7.938 kB / 296.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.008232, allocations: 19.89 kB / 296.6 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.008246, allocations: 12 kB / 296.6 MB, free: 1.977 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.405e-05/0.00834, allocations: 199.8 kB / 296.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.008401, allocations: 112.9 kB / 296.9 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.00846, allocations: 120.8 kB / 297 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-05/0.008518, allocations: 180.2 kB / 297.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.244e-05/0.008571, allocations: 184.2 kB / 297.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.157e-05/0.008622, allocations: 184.2 kB / 297.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.00881, allocations: 337.3 kB / 297.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-05/0.008842, allocations: 105 kB / 298 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.008876, allocations: 112.9 kB / 298.1 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.008917, allocations: 108.9 kB / 298.2 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-05/0.00897, allocations: 180.3 kB / 298.4 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/0.009049, allocations: 180.2 kB / 298.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.336e-05/0.009103, allocations: 180.3 kB / 298.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.537e-05/0.009158, allocations: 180.2 kB / 298.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.009282, allocations: 311.8 kB / 299.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.009345, allocations: 180.2 kB / 299.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.009419, allocations: 101 kB / 299.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.009484, allocations: 192.5 kB / 299.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.009521, allocations: 105 kB / 299.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.00957, allocations: 34.36 kB / 299.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.00957, allocations: 0 / 299.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.009836, allocations: 16 kB / 299.9 MB, free: 14.57 MB / 298.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 (0): * Single equations (assignments): 0 * 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.0007299/0.01057, allocations: 323.7 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.01067, allocations: 65.22 kB / 300.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.01068, allocations: 4 kB / 300.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.01069, allocations: 0 / 300.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.01095, allocations: 467.6 kB / 300.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.01127, allocations: 245.5 kB / 300.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.01131, allocations: 63.84 kB / 301 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.922e-05/0.01139, allocations: 13.77 kB / 301 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.01144, allocations: 63.36 kB / 301.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01144, allocations: 0 / 301.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of Templates: time 0.002818/0.01426, allocations: 0.7887 MB / 301.9 MB, free: 12.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.920597033575177]