Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.001352/0.001352, allocations: 118 kB / 18.46 MB, free: 4.613 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.001418/0.001418, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.484/1.484, allocations: 227.4 MB / 251.6 MB, free: 280 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.2337/0.2337, 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.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 91.48 kB / 490.3 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1671, allocations: 62.45 MB / 0.5398 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003403/0.1706, allocations: 1.718 MB / 0.5415 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1724, allocations: 1.032 MB / 0.5425 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.1725, allocations: 3.938 kB / 0.5425 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1729, allocations: 35.78 kB / 0.5425 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.1732, allocations: 91.59 kB / 0.5426 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1734, allocations: 79.67 kB / 0.5427 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.1737, allocations: 99.73 kB / 0.5428 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1738, allocations: 23.94 kB / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.1739, allocations: 43.78 kB / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.174, allocations: 35.72 kB / 0.5429 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.174, allocations: 4 kB / 0.5429 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1741, allocations: 43.98 kB / 0.5429 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.1742, allocations: 19.92 kB / 0.5429 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.1743, allocations: 31.8 kB / 0.5429 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1745, allocations: 111.5 kB / 0.5431 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1745, allocations: 4 kB / 0.5431 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1745, allocations: 0 / 0.5431 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1745, allocations: 0 / 0.5431 GB, free: 0.7812 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006147/0.1752, allocations: 422.6 kB / 0.5435 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1752, allocations: 8.031 kB / 0.5435 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1753, allocations: 8.891 kB / 0.5435 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1756, allocations: 208.2 kB / 0.5437 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1756, allocations: 384 / 0.5437 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1756, allocations: 4.375 kB / 0.5437 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1758, allocations: 54.25 kB / 0.5437 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.1758, allocations: 7.938 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1758, allocations: 0 / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1758, allocations: 4 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.1759, allocations: 19.92 kB / 0.5438 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1763, allocations: 288.9 kB / 0.544 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1765, allocations: 62.61 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.1766, allocations: 20.86 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1766, allocations: 4 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.1768, allocations: 71.31 kB / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1768, allocations: 0 / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005483/0.1773, allocations: 169.3 kB / 0.5444 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.1774, allocations: 55.41 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1776, allocations: 174.2 kB / 0.5446 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1776, allocations: 25.7 kB / 0.5446 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.1777, allocations: 96.14 kB / 0.5447 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1777, allocations: 23.84 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.1778, allocations: 25.66 kB / 0.5447 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1779, allocations: 326.8 kB / 0.545 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.178, allocations: 23.98 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.1781, allocations: 41.64 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1782, allocations: 61.64 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1782, allocations: 0 / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.1784, allocations: 101.6 kB / 0.5453 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1784, allocations: 4 kB / 0.5453 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1784, allocations: 3.938 kB / 0.5453 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1784, allocations: 4 kB / 0.5453 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.1785, allocations: 20.02 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1786, allocations: 0 / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.1786, allocations: 8 kB / 0.5453 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1786, allocations: 0 / 0.5453 GB, free: 14.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001052/0.1787, allocations: 125.8 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.1788, allocations: 7.953 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.1788, allocations: 16.7 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1788, allocations: 4 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1788, allocations: 0 / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1788, allocations: 4 kB / 0.5455 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.1793, allocations: 403.3 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1793, allocations: 0 / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.1794, allocations: 12.31 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1794, allocations: 4 kB / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1794, allocations: 0 / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1794, allocations: 4.078 kB / 0.5459 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.1794, allocations: 7.922 kB / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1796, allocations: 204.4 kB / 0.5461 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.1797, allocations: 89.02 kB / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1797, allocations: 8 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.1798, allocations: 0 / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.1798, allocations: 11.92 kB / 0.5462 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1799, allocations: 4 kB / 0.5462 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.18, allocations: 140.7 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.18, allocations: 3.938 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1803, allocations: 23.98 kB / 0.5463 GB, free: 13.08 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00177/0.182, allocations: 454.8 kB / 0.5468 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1823, allocations: 55.92 kB / 0.5468 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1823, allocations: 4 kB / 0.5468 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.1823, allocations: 27.98 kB / 0.5468 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1827, allocations: 27.2 kB / 0.5469 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.1832, allocations: 215.1 kB / 0.5471 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1835, allocations: 0.7042 MB / 0.5478 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.979e-05/0.1836, allocations: 13.19 kB / 0.5478 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.1836, allocations: 23.42 kB / 0.5478 GB, free: 11.67 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1836, allocations: 0 / 0.5478 GB, free: 11.67 MB / 414.1 MB Notification: Performance of Templates: time 0.004975/0.1886, allocations: 1.728 MB / 0.5495 GB, free: 9.961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.243599253706634]