Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 95.48 kB / 16.99 MB, free: 5.938 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.001565/0.001566, allocations: 180.8 kB / 17.87 MB, free: 5.609 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.427/1.427, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2717/0.2717, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 12 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002177/0.1291, allocations: 1.314 MB / 472.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1308, allocations: 0.9414 MB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.1308, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.131, allocations: 19.91 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.1312, allocations: 35.84 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1315, allocations: 122.7 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1316, allocations: 35.89 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.1318, allocations: 12.19 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.1318, allocations: 19.91 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1319, allocations: 23.86 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.132, allocations: 4 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.1321, allocations: 31.92 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.613e-05/0.1321, allocations: 19.91 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.1322, allocations: 29.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1323, allocations: 72.17 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1323, allocations: 0 / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1323, allocations: 4 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.1323, allocations: 0 / 474.1 MB, free: 11.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004788/0.1328, allocations: 387 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1328, allocations: 16.5 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1329, allocations: 3.906 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1331, allocations: 187 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1331, allocations: 4 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1331, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1333, allocations: 83.33 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1333, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1333, allocations: 4 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1334, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1335, allocations: 47.91 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.1338, allocations: 288.7 kB / 475.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.134, allocations: 54.56 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.134, allocations: 0 / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1341, allocations: 34.5 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1341, allocations: 0 / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000772/0.1348, allocations: 241.4 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.1349, allocations: 81.05 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.135, allocations: 136.6 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1351, allocations: 25.7 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.1351, allocations: 100.1 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.1352, allocations: 23.72 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.1352, allocations: 0 / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1353, allocations: 322.8 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1355, allocations: 39.97 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1357, allocations: 57.69 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1359, allocations: 39.97 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1359, allocations: 4 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003826/0.1363, allocations: 117.6 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1363, allocations: 11.94 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1363, allocations: 7.922 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1364, allocations: 4 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1366, allocations: 19.98 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1366, allocations: 4 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.1367, allocations: 11.98 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1367, allocations: 4.281 kB / 476.4 MB, free: 8.523 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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.0001334/0.1368, allocations: 125.8 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.1369, allocations: 11.84 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.1373, allocations: 158.4 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1374, allocations: 4 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1374, allocations: 0 / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.1374, allocations: 0 / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.1381, allocations: 414.5 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1381, allocations: 0 / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1383, allocations: 19.98 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.1383, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.1383, allocations: 7.938 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1383, allocations: 4 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1383, allocations: 0 / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.1387, allocations: 223.4 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1388, allocations: 93 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1388, allocations: 0 / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.139, allocations: 15.98 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.139, allocations: 3.984 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.139, allocations: 4 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1392, allocations: 111.3 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1392, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.1396, allocations: 27.98 kB / 477.6 MB, free: 7.219 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 (7): * Single equations (assignments): 7 * 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.00128/0.1409, allocations: 444.7 kB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.1413, allocations: 87.95 kB / 478.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1413, allocations: 0 / 478.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.1415, allocations: 55.91 kB / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1418, allocations: 27.81 kB / 478.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.1423, allocations: 193.7 kB / 478.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1426, allocations: 0.6926 MB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.626e-05/0.1427, allocations: 20.62 kB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.1428, allocations: 15.44 kB / 479.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1428, allocations: 4 kB / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Templates: time 0.005042/0.1478, allocations: 1.429 MB / 480.6 MB, free: 4.391 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches