Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 98.41 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.0012/0.0012, allocations: 178.3 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.394/1.394, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.222/0.222, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003167, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 61.91 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002226/0.1297, allocations: 1.314 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009991/0.1307, allocations: 0.6408 MB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.1307, allocations: 0 / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.1309, allocations: 23.91 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1312, allocations: 27.91 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.088e-06/0.1312, allocations: 0 / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.1313, allocations: 23.97 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.1314, allocations: 4 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.472e-05/0.1314, allocations: 11.94 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.1315, allocations: 15.91 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.1315, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.1316, allocations: 8 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.1316, allocations: 15.94 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.1316, allocations: 29.7 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1318, allocations: 52.19 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1318, allocations: 3.938 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1318, allocations: 0 / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1318, allocations: 4 kB / 473.6 MB, free: 11.54 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.0003598/0.1322, allocations: 351.1 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1322, allocations: 19.95 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1322, allocations: 3.906 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1324, allocations: 174.9 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1324, allocations: 0 / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1324, allocations: 4 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1326, allocations: 130.7 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1326, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.1327, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.1327, allocations: 23.98 kB / 474.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.1328, allocations: 47.84 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006228/0.1334, allocations: 0.8867 MB / 475.2 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.1335, allocations: 173.1 kB / 475.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1335, allocations: 83.31 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.1336, allocations: 105.8 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 4.028e-06/0.1336, allocations: 3.984 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.697e-05/0.1337, allocations: 41.62 kB / 475.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1337, allocations: 126.7 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1339, allocations: 186.1 kB / 475.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1339, allocations: 29.7 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.134, allocations: 147.1 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.134, allocations: 7.984 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.134, allocations: 4 kB / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1342, allocations: 318.8 kB / 476.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.1342, allocations: 31.97 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1343, allocations: 155.3 kB / 476.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1345, allocations: 63.92 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1345, allocations: 4 kB / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003036/0.1348, allocations: 201.5 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1348, allocations: 4 kB / 476.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1348, allocations: 4 kB / 476.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1348, allocations: 8 kB / 476.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.135, allocations: 35.92 kB / 476.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.135, allocations: 11.94 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.1351, allocations: 23.78 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1351, allocations: 11.98 kB / 477 MB, free: 7.855 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.0001467/0.1353, allocations: 221.7 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.1353, allocations: 116.8 kB / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.1354, allocations: 120.7 kB / 477.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.743e-05/0.1355, allocations: 176.3 kB / 477.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.833e-05/0.1356, allocations: 176.3 kB / 477.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/0.1357, allocations: 188.2 kB / 478 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.136, allocations: 425.2 kB / 478.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-05/0.1361, allocations: 112.9 kB / 478.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.76e-05/0.1361, allocations: 101 kB / 478.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-05/0.1362, allocations: 176.3 kB / 478.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/0.1363, allocations: 184.2 kB / 478.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.452e-05/0.1364, allocations: 180.3 kB / 479.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.975e-05/0.1365, allocations: 184.2 kB / 479.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1367, allocations: 315.7 kB / 479.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1368, allocations: 189.8 kB / 479.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.1369, allocations: 188.2 kB / 480 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.137, allocations: 108.9 kB / 480.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.1371, allocations: 180.3 kB / 480.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.1371, allocations: 105 kB / 480.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1372, allocations: 132 kB / 480.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1372, allocations: 3.938 kB / 480.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.1376, allocations: 16 kB / 480.5 MB, free: 4.109 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.0005674/0.1382, allocations: 271 kB / 480.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1384, allocations: 71.78 kB / 480.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1384, allocations: 1.25 kB / 480.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1384, allocations: 0 / 480.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.1388, allocations: 0.5341 MB / 481.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.1393, allocations: 270.8 kB / 481.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1396, allocations: 0.7087 MB / 482.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.1399, allocations: 45.03 kB / 482.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.1399, allocations: 19.42 kB / 482.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of SimCode: time 3.055e-06/0.1399, allocations: 3.938 kB / 482.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Templates: time 0.002987/0.1429, allocations: 0.6387 MB / 483.1 MB, free: 1.551 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches