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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 96.86 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 178.6 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3528/0.3528, allocations: 44.22 MB / 337.1 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003126, allocations: 12 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1296, allocations: 61.93 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002186/0.1318, allocations: 1.306 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.1327, allocations: 0.6447 MB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.1327, allocations: 4 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1329, allocations: 11.98 kB / 473.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1331, allocations: 39.83 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.447e-06/0.1332, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1333, allocations: 19.97 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.1334, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.1334, allocations: 15.92 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.1335, allocations: 7.938 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1335, allocations: 4 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.939e-05/0.1336, allocations: 12 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.1336, allocations: 19.91 kB / 473.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.1336, allocations: 29.7 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1338, allocations: 44.22 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1338, allocations: 0 / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1338, allocations: 0 / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1338, allocations: 0 / 473.6 MB, free: 11.53 MB / 350.1 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.0003697/0.1342, allocations: 355.2 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1342, allocations: 15.97 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.1343, allocations: 3.906 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1345, allocations: 182.8 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1345, allocations: 3.938 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1345, allocations: 7.984 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1347, allocations: 126.7 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1347, allocations: 0 / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1347, allocations: 4 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.1348, allocations: 27.97 kB / 474.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.854e-05/0.1349, allocations: 47.84 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.1356, allocations: 0.883 MB / 475.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.1357, allocations: 173 kB / 475.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1357, allocations: 79.31 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.1358, allocations: 109.8 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.1358, allocations: 4 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.694e-05/0.1359, allocations: 33.61 kB / 475.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.1359, allocations: 130.6 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1362, allocations: 182.1 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1362, allocations: 25.7 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.1363, allocations: 151.1 kB / 476.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.1363, allocations: 4 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.1363, allocations: 0 / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1364, allocations: 326.8 kB / 476.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.1365, allocations: 27.98 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1366, allocations: 159 kB / 476.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1367, allocations: 67.91 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1367, allocations: 0 / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000335/0.1371, allocations: 193.1 kB / 476.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1371, allocations: 4 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.1371, allocations: 12.62 kB / 476.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1371, allocations: 4 kB / 476.9 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1373, allocations: 47.91 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.1373, allocations: 11.94 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.1374, allocations: 19.78 kB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1374, allocations: 12 kB / 477 MB, free: 7.828 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.1376, allocations: 221.5 kB / 477.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.1377, allocations: 112.8 kB / 477.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.331e-05/0.1378, allocations: 116.8 kB / 477.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/0.1378, allocations: 184.2 kB / 477.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.6e-05/0.1379, allocations: 176.3 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.757e-05/0.138, allocations: 184.2 kB / 478 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.1383, allocations: 429.1 kB / 478.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-05/0.1383, allocations: 101 kB / 478.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.1384, allocations: 108.9 kB / 478.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.787e-05/0.1385, allocations: 180.2 kB / 478.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/0.1385, allocations: 188.2 kB / 479 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.961e-05/0.1386, allocations: 180.2 kB / 479.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.302e-05/0.1387, allocations: 184.2 kB / 479.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1389, allocations: 315.7 kB / 479.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.139, allocations: 197.8 kB / 479.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/0.1391, allocations: 176.3 kB / 480 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.1392, allocations: 104.9 kB / 480.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.1392, allocations: 176.3 kB / 480.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.1393, allocations: 109 kB / 480.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1394, allocations: 136 kB / 480.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1394, allocations: 0 / 480.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1397, allocations: 12 kB / 480.5 MB, free: 4.09 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004744/0.1402, allocations: 283.7 kB / 480.8 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1404, allocations: 72.41 kB / 480.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1404, allocations: 0 / 480.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.1404, allocations: 8 kB / 480.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1407, allocations: 0.5263 MB / 481.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.1411, allocations: 275.4 kB / 481.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1413, allocations: 0.7009 MB / 482.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.1415, allocations: 49.02 kB / 482.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1416, allocations: 15.44 kB / 482.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1416, allocations: 0 / 482.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Templates: time 0.003124/0.1447, allocations: 0.6367 MB / 483.1 MB, free: 1.523 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches