Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001657/0.001657, allocations: 122 kB / 18.45 MB, free: 4.586 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.001768/0.001768, allocations: 202.5 kB / 21.4 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.549/1.549, allocations: 227.4 MB / 251.7 MB, free: 276 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.2363/0.2363, allocations: 46.16 MB / 351.1 MB, free: 14.31 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 86.92 kB / 490.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1462, allocations: 62.44 MB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003207/0.1494, allocations: 1.671 MB / 0.5414 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1507, allocations: 0.5566 MB / 0.5419 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.1507, allocations: 0 / 0.5419 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.1514, allocations: 459.1 kB / 0.5423 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000533/0.152, allocations: 295.3 kB / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1524, allocations: 130.6 kB / 0.5427 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.1526, allocations: 167.7 kB / 0.5429 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1527, allocations: 23.92 kB / 0.5429 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1529, allocations: 119.7 kB / 0.543 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.1531, allocations: 211.6 kB / 0.5432 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1532, allocations: 7.938 kB / 0.5432 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1533, allocations: 47.98 kB / 0.5433 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1534, allocations: 79.69 kB / 0.5434 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.1535, allocations: 119 kB / 0.5435 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.1539, allocations: 274.5 kB / 0.5437 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1539, allocations: 0 / 0.5437 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1539, allocations: 4 kB / 0.5437 GB, free: 80 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1539, allocations: 0 / 0.5437 GB, free: 80 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.0008046/0.1547, allocations: 0.6569 MB / 0.5444 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1548, allocations: 8.031 kB / 0.5444 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.1548, allocations: 44.66 kB / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1552, allocations: 300.6 kB / 0.5447 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1552, allocations: 4.375 kB / 0.5447 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.1552, allocations: 12.31 kB / 0.5447 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1554, allocations: 58.17 kB / 0.5448 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1554, allocations: 4.188 kB / 0.5448 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1554, allocations: 3.938 kB / 0.5448 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1554, allocations: 0 / 0.5448 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1555, allocations: 23.98 kB / 0.5448 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.1561, allocations: 408.6 kB / 0.5452 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1562, allocations: 42.56 kB / 0.5453 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1563, allocations: 16.94 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1563, allocations: 4 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1563, allocations: 34.59 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1563, allocations: 0 / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009924/0.1573, allocations: 316.8 kB / 0.5456 GB, free: 13.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.1574, allocations: 55.39 kB / 0.5457 GB, free: 13.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.1583, allocations: 0.8614 MB / 0.5465 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1584, allocations: 25.7 kB / 0.5465 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.1586, allocations: 232.1 kB / 0.5468 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.1586, allocations: 31.75 kB / 0.5468 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.1587, allocations: 21.7 kB / 0.5468 GB, free: 12.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.1589, allocations: 366.7 kB / 0.5472 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.159, allocations: 31.95 kB / 0.5472 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.1591, allocations: 23.98 kB / 0.5472 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1592, allocations: 65.06 kB / 0.5473 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1592, allocations: 3.938 kB / 0.5473 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002359/0.1595, allocations: 137.5 kB / 0.5474 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1595, allocations: 4 kB / 0.5474 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1595, allocations: 0 / 0.5474 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1595, allocations: 11.98 kB / 0.5474 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1597, allocations: 15.98 kB / 0.5474 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1597, allocations: 0 / 0.5474 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.1597, allocations: 19.92 kB / 0.5475 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1597, allocations: 4 kB / 0.5475 GB, free: 12.04 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.0002036/0.16, allocations: 209.8 kB / 0.5477 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.16, allocations: 51.61 kB / 0.5477 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.1603, allocations: 153.5 kB / 0.5479 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.1604, allocations: 4 kB / 0.5479 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1604, allocations: 7.938 kB / 0.5479 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1604, allocations: 3.938 kB / 0.5479 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.1611, allocations: 0.4914 MB / 0.5483 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1611, allocations: 0 / 0.5483 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.1611, allocations: 19.98 kB / 0.5484 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1612, allocations: 7.938 kB / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1612, allocations: 0 / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.1612, allocations: 7.969 kB / 0.5484 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1612, allocations: 3.984 kB / 0.5484 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.1615, allocations: 236 kB / 0.5486 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.1616, allocations: 116.8 kB / 0.5487 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1616, allocations: 3.938 kB / 0.5487 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.1617, allocations: 12 kB / 0.5487 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1618, allocations: 7.984 kB / 0.5487 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1618, allocations: 0 / 0.5487 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006365/0.1624, allocations: 0.655 MB / 0.5494 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1624, allocations: 0 / 0.5494 GB, free: 9.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1627, allocations: 31.92 kB / 0.5494 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.001799/0.1645, allocations: 452.1 kB / 0.5498 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.1648, allocations: 63.95 kB / 0.5499 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1648, allocations: 0 / 0.5499 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1649, allocations: 43.91 kB / 0.5499 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1653, allocations: 41.8 kB / 0.55 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1666, allocations: 0.8111 MB / 0.5508 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.1671, allocations: 0.8299 MB / 0.5516 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.65e-05/0.1672, allocations: 16.42 kB / 0.5516 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.1672, allocations: 11.44 kB / 0.5516 GB, free: 7.762 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1672, allocations: 0 / 0.5516 GB, free: 7.762 MB / 414.1 MB Notification: Performance of Templates: time 0.005838/0.1731, allocations: 1.727 MB / 0.5533 GB, free: 6.043 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.348031673580408]