Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00162/0.00162, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002174/0.002174, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2601/0.2601, allocations: 46.89 MB / 358.1 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 83.88 kB / 0.4924 GB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1362, allocations: 65.99 MB / 0.5568 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003336/0.1395, allocations: 1.657 MB / 0.5584 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1406, allocations: 0.5527 MB / 0.559 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.1407, allocations: 0 / 0.559 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.1414, allocations: 463.1 kB / 0.5594 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005045/0.1419, allocations: 283.3 kB / 0.5597 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1423, allocations: 142.9 kB / 0.5598 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1426, allocations: 163.7 kB / 0.56 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1427, allocations: 12 kB / 0.56 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1428, allocations: 111.7 kB / 0.5601 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1431, allocations: 251.5 kB / 0.5603 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1431, allocations: 4 kB / 0.5603 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1432, allocations: 35.98 kB / 0.5604 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1434, allocations: 87.67 kB / 0.5605 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.092e-05/0.1435, allocations: 99 kB / 0.5606 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1438, allocations: 258.6 kB / 0.5608 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1438, allocations: 3.938 kB / 0.5608 GB, free: 1.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1438, allocations: 0 / 0.5608 GB, free: 1.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1438, allocations: 4 kB / 0.5608 GB, free: 1.82 MB / 414.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.000865/0.1447, allocations: 0.6491 MB / 0.5614 GB, free: 1.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1447, allocations: 8.031 kB / 0.5615 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.1448, allocations: 44.66 kB / 0.5615 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1451, allocations: 304.6 kB / 0.5618 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1452, allocations: 384 / 0.5618 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.1452, allocations: 4.375 kB / 0.5618 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1453, allocations: 58.22 kB / 0.5618 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1454, allocations: 192 / 0.5618 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1454, allocations: 15.81 kB / 0.5619 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1454, allocations: 0 / 0.5619 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1455, allocations: 27.98 kB / 0.5619 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.146, allocations: 384.6 kB / 0.5623 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1462, allocations: 50.48 kB / 0.5623 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/0.1463, allocations: 16.86 kB / 0.5623 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1463, allocations: 0 / 0.5623 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1464, allocations: 38.56 kB / 0.5624 GB, free: 72 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1464, allocations: 0 / 0.5624 GB, free: 72 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006865/0.147, allocations: 232.8 kB / 0.5626 GB, free: 15.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1471, allocations: 51.41 kB / 0.5626 GB, free: 15.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009528/0.1481, allocations: 0.8692 MB / 0.5635 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1481, allocations: 29.64 kB / 0.5635 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1483, allocations: 220.1 kB / 0.5637 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1483, allocations: 15.84 kB / 0.5637 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1483, allocations: 21.7 kB / 0.5638 GB, free: 14.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1485, allocations: 362.7 kB / 0.5641 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.1486, allocations: 19.98 kB / 0.5641 GB, free: 14.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.1487, allocations: 19.98 kB / 0.5641 GB, free: 14.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1488, allocations: 44.83 kB / 0.5642 GB, free: 14.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1488, allocations: 0 / 0.5642 GB, free: 14.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002476/0.1491, allocations: 125.3 kB / 0.5643 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1491, allocations: 6.031 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1491, allocations: 3.984 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1491, allocations: 4 kB / 0.5643 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.1492, allocations: 12 kB / 0.5643 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1492, allocations: 0 / 0.5643 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.1493, allocations: 7.984 kB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1493, allocations: 0 / 0.5643 GB, free: 13.98 MB / 430.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 (5): * Single equations (assignments): 5 * 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.0002152/0.1495, allocations: 213.7 kB / 0.5645 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.1495, allocations: 43.72 kB / 0.5646 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.1498, allocations: 141 kB / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1498, allocations: 0 / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1498, allocations: 0 / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1499, allocations: 0 / 0.5647 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006154/0.1505, allocations: 470.7 kB / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1505, allocations: 0 / 0.5652 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.1505, allocations: 15.94 kB / 0.5652 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.1505, allocations: 0 / 0.5652 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1505, allocations: 8 kB / 0.5652 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1505, allocations: 3.984 kB / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1505, allocations: 3.938 kB / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.1508, allocations: 207.2 kB / 0.5654 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.1509, allocations: 112.8 kB / 0.5655 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1509, allocations: 4.281 kB / 0.5655 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.151, allocations: 3.984 kB / 0.5655 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.1511, allocations: 11.94 kB / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1511, allocations: 0 / 0.5655 GB, free: 12.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006993/0.1518, allocations: 0.6589 MB / 0.5662 GB, free: 12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1518, allocations: 0 / 0.5662 GB, free: 12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.152, allocations: 27.94 kB / 0.5662 GB, free: 11.98 MB / 430.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 (5): * Single equations (assignments): 5 * 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.001501/0.1535, allocations: 404.9 kB / 0.5666 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1538, allocations: 47.97 kB / 0.5666 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1538, allocations: 3.938 kB / 0.5666 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.1539, allocations: 19.98 kB / 0.5666 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.1543, allocations: 34.56 kB / 0.5667 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1556, allocations: 0.8351 MB / 0.5675 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.1561, allocations: 0.8221 MB / 0.5683 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.1561, allocations: 15.44 kB / 0.5683 GB, free: 9.898 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1561, allocations: 0 / 0.5683 GB, free: 9.898 MB / 430.1 MB Notification: Performance of Templates: time 0.008053/0.1642, allocations: 3.718 MB / 0.5719 GB, free: 6.172 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.76397671783343]