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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001748/0.001749, allocations: 114 kB / 19.12 MB, free: 4.027 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.002276/0.002276, allocations: 208.9 kB / 22.07 MB, free: 1.078 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.544/1.544, allocations: 227.4 MB / 252.3 MB, free: 72 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2525/0.2525, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 81.03 kB / 490.9 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1306, allocations: 62.46 MB / 0.5404 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003492/0.1342, allocations: 1.671 MB / 0.542 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1353, allocations: 0.5489 MB / 0.5425 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.1354, allocations: 4 kB / 0.5425 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.136, allocations: 455.1 kB / 0.543 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.1365, allocations: 295.3 kB / 0.5433 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1369, allocations: 134 kB / 0.5434 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1371, allocations: 171.6 kB / 0.5435 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1372, allocations: 27.92 kB / 0.5436 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1374, allocations: 111.7 kB / 0.5437 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.1376, allocations: 211.6 kB / 0.5439 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1377, allocations: 4 kB / 0.5439 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1378, allocations: 55.95 kB / 0.5439 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1379, allocations: 79.7 kB / 0.544 GB, free: 484 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.138, allocations: 107 kB / 0.5441 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.1384, allocations: 278.6 kB / 0.5444 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1384, allocations: 0 / 0.5444 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1384, allocations: 0 / 0.5444 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1384, allocations: 3.938 kB / 0.5444 GB, free: 92 kB / 398.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.0008386/0.1393, allocations: 0.6606 MB / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1393, allocations: 12.03 kB / 0.545 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.1394, allocations: 40.66 kB / 0.5451 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.1397, allocations: 300.6 kB / 0.5454 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1397, allocations: 384 / 0.5454 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1398, allocations: 12.38 kB / 0.5454 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1399, allocations: 62.17 kB / 0.5454 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1399, allocations: 192 / 0.5454 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.14, allocations: 7.875 kB / 0.5454 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.14, allocations: 0 / 0.5454 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1401, allocations: 31.97 kB / 0.5455 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.1406, allocations: 396.6 kB / 0.5459 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1407, allocations: 54.53 kB / 0.5459 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.1408, allocations: 12.86 kB / 0.5459 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1408, allocations: 4 kB / 0.5459 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1409, allocations: 34.56 kB / 0.546 GB, free: 14.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1409, allocations: 0 / 0.546 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009617/0.1418, allocations: 332.6 kB / 0.5463 GB, free: 13.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1419, allocations: 51.41 kB / 0.5463 GB, free: 13.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.143, allocations: 0.8653 MB / 0.5472 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1431, allocations: 25.7 kB / 0.5472 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.1433, allocations: 220.1 kB / 0.5474 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.1433, allocations: 43.67 kB / 0.5474 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.1434, allocations: 21.72 kB / 0.5475 GB, free: 12.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1436, allocations: 362.7 kB / 0.5478 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.1437, allocations: 27.97 kB / 0.5478 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.1438, allocations: 23.98 kB / 0.5479 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1439, allocations: 64.81 kB / 0.5479 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1439, allocations: 4 kB / 0.5479 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002415/0.1442, allocations: 133.3 kB / 0.5481 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1442, allocations: 8 kB / 0.5481 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1442, allocations: 0 / 0.5481 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1442, allocations: 3.984 kB / 0.5481 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1443, allocations: 16 kB / 0.5481 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1444, allocations: 0 / 0.5481 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.1444, allocations: 11.92 kB / 0.5481 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1444, allocations: 8 kB / 0.5481 GB, free: 12.05 MB / 414.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.0002171/0.1447, allocations: 209.8 kB / 0.5483 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.1447, allocations: 51.66 kB / 0.5484 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.1451, allocations: 157.7 kB / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1451, allocations: 0 / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1451, allocations: 0 / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1451, allocations: 3.938 kB / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.1459, allocations: 0.5032 MB / 0.549 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1459, allocations: 3.984 kB / 0.549 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.1459, allocations: 16 kB / 0.549 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.146, allocations: 3.938 kB / 0.549 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.146, allocations: 7.984 kB / 0.549 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.146, allocations: 4 kB / 0.549 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.146, allocations: 4.031 kB / 0.549 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1463, allocations: 240 kB / 0.5493 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.1464, allocations: 112.8 kB / 0.5494 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1464, allocations: 3.938 kB / 0.5494 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1465, allocations: 12 kB / 0.5494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.1466, allocations: 11.98 kB / 0.5494 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1466, allocations: 4 kB / 0.5494 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006818/0.1473, allocations: 0.6511 MB / 0.55 GB, free: 9.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1473, allocations: 0 / 0.55 GB, free: 9.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1476, allocations: 35.92 kB / 0.5501 GB, free: 9.918 MB / 414.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.001702/0.1493, allocations: 443.7 kB / 0.5505 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1495, allocations: 67.89 kB / 0.5506 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1495, allocations: 0 / 0.5506 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.1496, allocations: 43.91 kB / 0.5506 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1501, allocations: 26.3 kB / 0.5506 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.1513, allocations: 0.8519 MB / 0.5515 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.1519, allocations: 0.826 MB / 0.5523 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.1519, allocations: 15.44 kB / 0.5523 GB, free: 7.766 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.1519, allocations: 0 / 0.5523 GB, free: 7.766 MB / 414.1 MB Notification: Performance of Templates: time 0.007843/0.1598, allocations: 3.969 MB / 0.5562 GB, free: 3.797 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.945913185947575]