Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001682/0.001689, allocations: 120.8 kB / 18.45 MB, free: 4.594 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.0027/0.0027, allocations: 209 kB / 21.41 MB, free: 1.645 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.556/1.556, allocations: 227.4 MB / 251.6 MB, free: 272 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.2463/0.2463, allocations: 46.17 MB / 351.1 MB, free: 14.32 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 78.08 kB / 490.2 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1419, allocations: 62.45 MB / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00404/0.1459, allocations: 1.67 MB / 0.5413 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1474, allocations: 0.5761 MB / 0.5419 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.1476, allocations: 0 / 0.5419 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007917/0.1484, allocations: 463.1 kB / 0.5424 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.149, allocations: 295.3 kB / 0.5426 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.1495, allocations: 178.6 kB / 0.5428 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.1498, allocations: 175.7 kB / 0.543 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.15, allocations: 20.16 kB / 0.543 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1501, allocations: 123.7 kB / 0.5431 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.1504, allocations: 211.6 kB / 0.5433 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.1504, allocations: 4 kB / 0.5433 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1506, allocations: 47.98 kB / 0.5434 GB, free: 488 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1507, allocations: 95.61 kB / 0.5435 GB, free: 392 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1508, allocations: 103 kB / 0.5436 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.1512, allocations: 278.6 kB / 0.5438 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1512, allocations: 4 kB / 0.5438 GB, free: 4 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1513, allocations: 4.047 kB / 0.5438 GB, free: 16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1513, allocations: 7.922 kB / 0.5438 GB, free: 15.99 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009957/0.1523, allocations: 0.6568 MB / 0.5445 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1523, allocations: 8.031 kB / 0.5445 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.1524, allocations: 48.61 kB / 0.5445 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.1528, allocations: 308.6 kB / 0.5448 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1529, allocations: 384 / 0.5448 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.1529, allocations: 8.375 kB / 0.5448 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1531, allocations: 70.16 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1532, allocations: 192 / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1532, allocations: 3.938 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1532, allocations: 0 / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1533, allocations: 35.97 kB / 0.5449 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007699/0.1541, allocations: 404.6 kB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1542, allocations: 54.55 kB / 0.5454 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.1543, allocations: 12.86 kB / 0.5454 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1543, allocations: 0 / 0.5454 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1544, allocations: 42.67 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1544, allocations: 0 / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001025/0.1554, allocations: 328.5 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1555, allocations: 55.41 kB / 0.5458 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.1564, allocations: 0.866 MB / 0.5466 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1564, allocations: 25.7 kB / 0.5467 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.1567, allocations: 224 kB / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.1567, allocations: 31.78 kB / 0.5469 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.1568, allocations: 29.66 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.157, allocations: 366.7 kB / 0.5473 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.1571, allocations: 27.98 kB / 0.5473 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.1572, allocations: 32.05 kB / 0.5473 GB, free: 12.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.1574, allocations: 76.97 kB / 0.5474 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1574, allocations: 0 / 0.5474 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003122/0.1577, allocations: 157.2 kB / 0.5476 GB, free: 11.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1577, allocations: 4 kB / 0.5476 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1577, allocations: 0 / 0.5476 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1578, allocations: 0 / 0.5476 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1579, allocations: 19.98 kB / 0.5476 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1579, allocations: 0 / 0.5476 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/0.158, allocations: 15.88 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.158, allocations: 4 kB / 0.5476 GB, free: 11.89 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.0003074/0.1584, allocations: 217.8 kB / 0.5478 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1585, allocations: 47.72 kB / 0.5479 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005813/0.1591, allocations: 173.5 kB / 0.548 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1591, allocations: 0 / 0.548 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1591, allocations: 0 / 0.548 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1591, allocations: 7.938 kB / 0.548 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000911/0.16, allocations: 0.5226 MB / 0.5485 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1601, allocations: 0 / 0.5485 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1602, allocations: 15.98 kB / 0.5486 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1602, allocations: 7.938 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1602, allocations: 0 / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1602, allocations: 3.938 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1602, allocations: 0 / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.1607, allocations: 244.5 kB / 0.5488 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1609, allocations: 120.8 kB / 0.5489 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.1609, allocations: 7.922 kB / 0.5489 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1611, allocations: 4 kB / 0.5489 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.1612, allocations: 11.97 kB / 0.5489 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1612, allocations: 4 kB / 0.5489 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.1623, allocations: 0.655 MB / 0.5496 GB, free: 9.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.016e-06/0.1623, allocations: 0 / 0.5496 GB, free: 9.742 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004939/0.1628, allocations: 39.86 kB / 0.5496 GB, free: 9.703 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.002272/0.1651, allocations: 460.9 kB / 0.5501 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.1654, allocations: 71.95 kB / 0.5501 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1655, allocations: 0 / 0.5501 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1656, allocations: 43.91 kB / 0.5502 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.1662, allocations: 26.31 kB / 0.5502 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1681, allocations: 0.8425 MB / 0.551 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.1688, allocations: 0.8299 MB / 0.5518 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1689, allocations: 16.73 kB / 0.5518 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.1689, allocations: 15.42 kB / 0.5519 GB, free: 7.516 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.169, allocations: 8 kB / 0.5519 GB, free: 7.508 MB / 414.1 MB Notification: Performance of Templates: time 0.008117/0.1771, allocations: 1.775 MB / 0.5536 GB, free: 5.742 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 5.222412562929094]