Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.9 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 78.84 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1219, allocations: 62.45 MB / 479.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003171/0.1251, allocations: 1.732 MB / 481.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1262, allocations: 0.5846 MB / 482.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.1262, allocations: 0 / 482.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.1268, allocations: 451.2 kB / 482.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.1272, allocations: 279.4 kB / 483 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.1277, allocations: 159.4 kB / 483.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.1279, allocations: 175.6 kB / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1281, allocations: 24.22 kB / 483.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1282, allocations: 107.7 kB / 483.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.1284, allocations: 211.5 kB / 483.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1285, allocations: 0 / 483.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1286, allocations: 51.98 kB / 483.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1287, allocations: 87.67 kB / 483.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.483e-05/0.1288, allocations: 110.9 kB / 483.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.1291, allocations: 195.8 kB / 484.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1291, allocations: 0 / 484.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1291, allocations: 0 / 484.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1291, allocations: 0 / 484.1 MB, free: 1.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000744/0.1298, allocations: 0.6456 MB / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1299, allocations: 8.031 kB / 484.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/0.13, allocations: 44.38 kB / 484.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1302, allocations: 300.2 kB / 485.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1303, allocations: 4.375 kB / 485.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1303, allocations: 4.359 kB / 485.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1304, allocations: 73.67 kB / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1305, allocations: 0 / 485.1 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1305, allocations: 7.938 kB / 485.1 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1305, allocations: 0 / 485.1 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1306, allocations: 31.98 kB / 485.2 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.1313, allocations: 420.5 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1314, allocations: 42.55 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.1315, allocations: 20.94 kB / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1315, allocations: 0 / 485.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1316, allocations: 38.59 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1316, allocations: 4 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00108/0.1327, allocations: 315.8 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1327, allocations: 59.33 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008226/0.1335, allocations: 0.866 MB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1336, allocations: 29.69 kB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1337, allocations: 224.1 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1338, allocations: 31.55 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1338, allocations: 21.7 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.134, allocations: 366.8 kB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.1341, allocations: 23.98 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.1341, allocations: 35.97 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1343, allocations: 72.83 kB / 487.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1343, allocations: 0 / 487.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002588/0.1346, allocations: 141.1 kB / 487.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1346, allocations: 8 kB / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.1346, allocations: 4.297 kB / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1347, allocations: 0 / 487.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.1348, allocations: 12 kB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1348, allocations: 11.94 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.1348, allocations: 3.984 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1349, allocations: 11.98 kB / 487.9 MB, free: 13.53 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 (8): * Single equations (assignments): 8 * 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.0001864/0.1351, allocations: 213.8 kB / 488.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.1351, allocations: 43.44 kB / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.1355, allocations: 181.5 kB / 488.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1355, allocations: 4 kB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1355, allocations: 3.938 kB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1355, allocations: 0 / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.1361, allocations: 0.5186 MB / 488.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1362, allocations: 7.875 kB / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.1362, allocations: 24.02 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1363, allocations: 0 / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1363, allocations: 4 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1363, allocations: 3.984 kB / 488.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1363, allocations: 3.938 kB / 488.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.1366, allocations: 247.8 kB / 489.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1367, allocations: 112.5 kB / 489.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.1367, allocations: 8 kB / 489.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.1368, allocations: 7.984 kB / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.1368, allocations: 0 / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.1368, allocations: 4 kB / 489.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006058/0.1375, allocations: 0.6589 MB / 489.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1375, allocations: 0 / 489.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1377, allocations: 32 kB / 490 MB, free: 11.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001042/0.1388, allocations: 457.3 kB / 490.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.139, allocations: 71.95 kB / 490.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1391, allocations: 4 kB / 490.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.1392, allocations: 43.92 kB / 490.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.1396, allocations: 26.55 kB / 490.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1409, allocations: 0.9523 MB / 491.5 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.1413, allocations: 0.838 MB / 492.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.1414, allocations: 11.44 kB / 492.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1414, allocations: 4 kB / 492.4 MB, free: 9.051 MB / 366.1 MB Notification: Performance of Templates: time 0.007412/0.1488, allocations: 4.035 MB / 496.4 MB, free: 5.008 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches