Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.001541, allocations: 104.8 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002165/0.002166, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 72.72 kB / 416.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 62.45 MB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003908/0.1199, allocations: 2.093 MB / 481.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1219, allocations: 1.009 MB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.1221, allocations: 4 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.1226, allocations: 247.4 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.1232, allocations: 235.3 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1244, allocations: 453.6 kB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.125, allocations: 315.1 kB / 483.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.1252, allocations: 68.69 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.1255, allocations: 127.3 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.1258, allocations: 199.3 kB / 484 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.1259, allocations: 8 kB / 484 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.1262, allocations: 91.97 kB / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1263, allocations: 99.59 kB / 484.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1265, allocations: 115 kB / 484.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.127, allocations: 323 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.127, allocations: 0 / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.127, allocations: 0 / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1271, allocations: 0 / 484.6 MB, free: 380 kB / 350.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.001006/0.1281, allocations: 0.6573 MB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.1282, allocations: 9.953 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1283, allocations: 44.47 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.1287, allocations: 318.1 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1287, allocations: 8.375 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.1287, allocations: 20.22 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.129, allocations: 105.8 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.129, allocations: 0 / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1291, allocations: 8 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1291, allocations: 0 / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.1293, allocations: 71.89 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.13, allocations: 492.3 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1302, allocations: 98.47 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.1303, allocations: 36.84 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1303, allocations: 3.984 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1304, allocations: 34.56 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1304, allocations: 0 / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001029/0.1314, allocations: 383.9 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1315, allocations: 59.41 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/0.1321, allocations: 0.5565 MB / 487.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1321, allocations: 33.7 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1323, allocations: 200.3 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.1324, allocations: 59.23 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.1324, allocations: 29.72 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1326, allocations: 362.7 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1327, allocations: 43.97 kB / 488.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1328, allocations: 58.39 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.1331, allocations: 124.8 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1331, allocations: 7.875 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003766/0.1335, allocations: 187.3 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1335, allocations: 8 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1335, allocations: 3.984 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1336, allocations: 4 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1337, allocations: 39.92 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1337, allocations: 0 / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.1338, allocations: 15.92 kB / 488.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1338, allocations: 4 kB / 488.7 MB, free: 12.12 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.0001639/0.134, allocations: 181.7 kB / 488.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.1341, allocations: 39.44 kB / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.1346, allocations: 237.5 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1346, allocations: 4 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1346, allocations: 0 / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1346, allocations: 3.984 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008213/0.1354, allocations: 0.6251 MB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1355, allocations: 0 / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1356, allocations: 27.98 kB / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1356, allocations: 4 kB / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1356, allocations: 11.92 kB / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1356, allocations: 0 / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1356, allocations: 3.938 kB / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.136, allocations: 302.8 kB / 490.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.1361, allocations: 100.7 kB / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.1361, allocations: 8 kB / 490.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.1362, allocations: 7.984 kB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.1363, allocations: 15.92 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1363, allocations: 4 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004135/0.1367, allocations: 419.1 kB / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1367, allocations: 0 / 490.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.1371, allocations: 55.89 kB / 490.7 MB, free: 9.988 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.001609/0.1387, allocations: 0.7025 MB / 491.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.139, allocations: 126.4 kB / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.139, allocations: 0 / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.1392, allocations: 71.91 kB / 491.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.1398, allocations: 77.84 kB / 491.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1409, allocations: 0.8011 MB / 492.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1413, allocations: 0.8185 MB / 493.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1414, allocations: 49.89 kB / 493.3 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.1415, allocations: 27.42 kB / 493.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1415, allocations: 0 / 493.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of Templates: time 0.006679/0.1482, allocations: 3.147 MB / 496.5 MB, free: 4.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches