Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 46.92 MB / 357.1 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 67.89 kB / 0.4914 GB, free: 7.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1653, allocations: 65.99 MB / 0.5559 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.004343/0.1696, allocations: 1.684 MB / 0.5575 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1711, allocations: 0.5767 MB / 0.5581 GB, free: 3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1712, allocations: 4 kB / 0.5581 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007374/0.1719, allocations: 455.1 kB / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.1726, allocations: 299.2 kB / 0.5588 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.1732, allocations: 183.4 kB / 0.559 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.1736, allocations: 175.7 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1738, allocations: 16.22 kB / 0.5592 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.174, allocations: 115.7 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.1744, allocations: 251.5 kB / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1745, allocations: 8 kB / 0.5595 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.1747, allocations: 55.92 kB / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.1748, allocations: 79.69 kB / 0.5597 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.175, allocations: 115 kB / 0.5598 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.1754, allocations: 270.6 kB / 0.56 GB, free: 1.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1754, allocations: 0 / 0.56 GB, free: 1.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1755, allocations: 0 / 0.56 GB, free: 1.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1755, allocations: 0 / 0.56 GB, free: 1.012 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.001068/0.1765, allocations: 0.6685 MB / 0.5607 GB, free: 300 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1766, allocations: 12.03 kB / 0.5607 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1767, allocations: 52.55 kB / 0.5607 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.1771, allocations: 304.6 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1771, allocations: 384 / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.1771, allocations: 4.375 kB / 0.561 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.1773, allocations: 61.8 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1774, allocations: 4 kB / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1774, allocations: 0 / 0.5611 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.1774, allocations: 11.92 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.1775, allocations: 31.92 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.1783, allocations: 408.6 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1784, allocations: 54.53 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.115e-05/0.1785, allocations: 16.94 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1785, allocations: 4 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1785, allocations: 34.56 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1785, allocations: 0 / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001175/0.1797, allocations: 316.6 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.1798, allocations: 59.34 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1808, allocations: 0.8737 MB / 0.5628 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1809, allocations: 29.7 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1811, allocations: 224 kB / 0.5631 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1811, allocations: 27.78 kB / 0.5631 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.1812, allocations: 25.7 kB / 0.5631 GB, free: 13.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.1814, allocations: 358.8 kB / 0.5635 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1815, allocations: 39.91 kB / 0.5635 GB, free: 13.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.1816, allocations: 32.08 kB / 0.5635 GB, free: 13.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.1818, allocations: 80.95 kB / 0.5636 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1818, allocations: 0 / 0.5636 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003223/0.1821, allocations: 149.8 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1821, allocations: 4 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1822, allocations: 0 / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1822, allocations: 0 / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1823, allocations: 27.92 kB / 0.5638 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1823, allocations: 3.938 kB / 0.5638 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.1824, allocations: 7.984 kB / 0.5638 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1824, allocations: 0 / 0.5638 GB, free: 12.9 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 (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.0002506/0.1826, allocations: 220 kB / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.1827, allocations: 47.7 kB / 0.5641 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/0.1831, allocations: 177.5 kB / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1832, allocations: 0 / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1832, allocations: 3.938 kB / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1832, allocations: 0 / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008681/0.184, allocations: 0.5148 MB / 0.5647 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.184, allocations: 7.938 kB / 0.5647 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.029e-05/0.1841, allocations: 20.02 kB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1841, allocations: 0 / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1841, allocations: 11.94 kB / 0.5648 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1841, allocations: 0 / 0.5648 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1841, allocations: 0 / 0.5648 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.1845, allocations: 256 kB / 0.565 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1846, allocations: 124.7 kB / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1847, allocations: 0 / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.1848, allocations: 7.984 kB / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.1848, allocations: 8 kB / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.1848, allocations: 0 / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007937/0.1856, allocations: 0.6589 MB / 0.5658 GB, free: 10.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1856, allocations: 0 / 0.5658 GB, free: 10.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1859, allocations: 27.94 kB / 0.5658 GB, free: 10.71 MB / 430.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.001904/0.1878, allocations: 463.9 kB / 0.5663 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1881, allocations: 75.88 kB / 0.5663 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1881, allocations: 8 kB / 0.5663 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1883, allocations: 31.92 kB / 0.5664 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.1887, allocations: 37.47 kB / 0.5664 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1902, allocations: 0.8425 MB / 0.5672 GB, free: 9.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.1908, allocations: 0.8338 MB / 0.5681 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.816e-05/0.1909, allocations: 20.73 kB / 0.5681 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.191, allocations: 15.44 kB / 0.5681 GB, free: 8.523 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.191, allocations: 0 / 0.5681 GB, free: 8.523 MB / 430.1 MB Notification: Performance of Templates: time 0.006494/0.1975, allocations: 1.791 MB / 0.5698 GB, free: 6.738 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 5.517881095409393]