Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002245/0.002245, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 77.09 kB / 418.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 62.45 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004094/0.1247, allocations: 2.056 MB / 482.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.1269, allocations: 1.122 MB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1271, allocations: 4 kB / 483.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.1277, allocations: 259.1 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006292/0.1284, allocations: 271 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1298, allocations: 0.6484 MB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005295/0.1304, allocations: 343.2 kB / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.1306, allocations: 80.69 kB / 485.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.1308, allocations: 143.4 kB / 485.6 MB, free: 384 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.1311, allocations: 211.2 kB / 485.8 MB, free: 172 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.1312, allocations: 12 kB / 485.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.1314, allocations: 111.9 kB / 485.9 MB, free: 48 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1316, allocations: 91.81 kB / 486 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1317, allocations: 126.9 kB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.1322, allocations: 346.9 kB / 486.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1322, allocations: 4 kB / 486.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1322, allocations: 0 / 486.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1322, allocations: 0 / 486.5 MB, free: 15.49 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008383/0.1331, allocations: 0.6572 MB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1331, allocations: 13.11 kB / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.658e-05/0.1332, allocations: 36.47 kB / 487.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.1336, allocations: 342 kB / 487.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1337, allocations: 4.375 kB / 487.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.1337, allocations: 12.38 kB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.134, allocations: 129.8 kB / 487.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.134, allocations: 0 / 487.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.134, allocations: 4 kB / 487.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.134, allocations: 7.984 kB / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.1342, allocations: 91.88 kB / 487.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006938/0.1349, allocations: 0.508 MB / 488.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1351, allocations: 110.5 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.1352, allocations: 36.84 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.1353, allocations: 7.984 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1353, allocations: 34.56 kB / 488.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1353, allocations: 4 kB / 488.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001003/0.1363, allocations: 447.8 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1364, allocations: 55.41 kB / 489 MB, free: 12.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.137, allocations: 0.572 MB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.137, allocations: 29.7 kB / 489.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1372, allocations: 204.3 kB / 489.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.1372, allocations: 59.17 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.1373, allocations: 33.7 kB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1375, allocations: 350.8 kB / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1376, allocations: 67.95 kB / 490.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1377, allocations: 70.14 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.138, allocations: 156.7 kB / 490.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.138, allocations: 7.938 kB / 490.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000377/0.1384, allocations: 227.3 kB / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1384, allocations: 8 kB / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1385, allocations: 0 / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1385, allocations: 0 / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1386, allocations: 43.91 kB / 490.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1386, allocations: 0 / 490.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.1387, allocations: 7.938 kB / 490.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1387, allocations: 11.98 kB / 490.8 MB, free: 10.97 MB / 366.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 (17): * Single equations (assignments): 17 * 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 0.0001694/0.1389, allocations: 185.7 kB / 491 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.139, allocations: 43.42 kB / 491 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.1395, allocations: 273.6 kB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1395, allocations: 4 kB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1396, allocations: 0 / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1396, allocations: 4 kB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000844/0.1404, allocations: 0.6843 MB / 492 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1404, allocations: 0 / 492 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1405, allocations: 35.92 kB / 492 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1406, allocations: 7.984 kB / 492 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1406, allocations: 4 kB / 492 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1406, allocations: 0 / 492 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1406, allocations: 7.938 kB / 492 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.141, allocations: 326.8 kB / 492.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.1411, allocations: 108.6 kB / 492.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1411, allocations: 0 / 492.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.1412, allocations: 15.98 kB / 492.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1413, allocations: 15.86 kB / 492.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1413, allocations: 8 kB / 492.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.1417, allocations: 427.1 kB / 492.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1417, allocations: 0 / 492.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.142, allocations: 52 kB / 492.9 MB, free: 8.688 MB / 366.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 (17): * Single equations (assignments): 17 * 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.00157/0.1436, allocations: 0.6838 MB / 493.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.144, allocations: 171.8 kB / 493.8 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.144, allocations: 0 / 493.8 MB, free: 8.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1442, allocations: 99.78 kB / 493.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.1447, allocations: 72.19 kB / 494 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1458, allocations: 0.7603 MB / 494.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.1462, allocations: 0.8143 MB / 495.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.1463, allocations: 35.42 kB / 495.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1463, allocations: 0 / 495.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of Templates: time 0.007521/0.1538, allocations: 4.806 MB / 0.4887 GB, free: 1.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches