Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 75.56 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1257, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003441/0.1292, allocations: 1.681 MB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1303, allocations: 0.5532 MB / 482.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.1304, allocations: 4 kB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.131, allocations: 451.1 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.1315, allocations: 291.3 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.1319, allocations: 138.9 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1322, allocations: 175.6 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1323, allocations: 19.98 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1325, allocations: 115.7 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.1327, allocations: 211.6 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1327, allocations: 4 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1329, allocations: 51.98 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.133, allocations: 87.61 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.1331, allocations: 99 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.1334, allocations: 271 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1334, allocations: 0 / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1334, allocations: 4 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1334, allocations: 3.938 kB / 484.1 MB, free: 1.141 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.0006982/0.1341, allocations: 0.6378 MB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1342, allocations: 12.02 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.1343, allocations: 44.38 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1345, allocations: 296.2 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1346, allocations: 8.375 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1346, allocations: 384 / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1348, allocations: 62 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1348, allocations: 7.906 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1348, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1348, allocations: 4 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1349, allocations: 27.98 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.1355, allocations: 404.5 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1356, allocations: 42.56 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.1357, allocations: 24.97 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1357, allocations: 4 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1357, allocations: 30.56 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1357, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001062/0.1368, allocations: 303.9 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1369, allocations: 55.34 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.1378, allocations: 0.8691 MB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1378, allocations: 29.7 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.138, allocations: 224 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.138, allocations: 23.66 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.1381, allocations: 29.7 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1382, allocations: 358.8 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/0.1383, allocations: 23.98 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-05/0.1384, allocations: 27.97 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1386, allocations: 60.78 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1386, allocations: 3.938 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002455/0.1388, allocations: 145.1 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1389, allocations: 4 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1389, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1389, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.139, allocations: 19.98 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.139, allocations: 3.938 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.1391, allocations: 11.98 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1391, allocations: 0 / 487.9 MB, free: 13.15 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.0001961/0.1393, allocations: 221.7 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.1394, allocations: 39.44 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1397, allocations: 158.2 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1397, allocations: 0 / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1397, allocations: 3.938 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1397, allocations: 7.969 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.1403, allocations: 0.5031 MB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1404, allocations: 4 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.1404, allocations: 23.86 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1405, allocations: 0 / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1405, allocations: 4 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1405, allocations: 0 / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1405, allocations: 4.031 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1408, allocations: 235.8 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.1409, allocations: 112.5 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1409, allocations: 7.984 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.141, allocations: 0 / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.141, allocations: 8 kB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.141, allocations: 11.98 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005675/0.1416, allocations: 0.6472 MB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1416, allocations: 4 kB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1419, allocations: 28 kB / 489.9 MB, free: 11.04 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.001035/0.143, allocations: 454.5 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1432, allocations: 63.97 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1432, allocations: 0 / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.329e-05/0.1433, allocations: 35.91 kB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1437, allocations: 34.19 kB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1448, allocations: 0.8276 MB / 491.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1452, allocations: 0.8337 MB / 492.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.7e-05/0.1453, allocations: 20.73 kB / 492.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1453, allocations: 15.42 kB / 492.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1453, allocations: 0 / 492.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of Templates: time 0.005518/0.1509, allocations: 1.721 MB / 493.9 MB, free: 7.148 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches