Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.001628/0.001628, allocations: 117 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.001873/0.001873, allocations: 205.8 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.62/1.62, allocations: 227.4 MB / 251.6 MB, free: 116 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.239/0.239, allocations: 46.16 MB / 351.1 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.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 79.55 kB / 490.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.16, allocations: 62.45 MB / 0.5398 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.005288/0.1654, allocations: 2.285 MB / 0.542 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.1683, allocations: 1.311 MB / 0.5433 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.1685, allocations: 7.938 kB / 0.5433 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.1691, allocations: 123.3 kB / 0.5434 GB, free: 408 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005996/0.1697, allocations: 242.9 kB / 0.5437 GB, free: 164 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.1703, allocations: 191.5 kB / 0.5438 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.1708, allocations: 458.6 kB / 0.5443 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.171, allocations: 68.98 kB / 0.5443 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.1714, allocations: 263.1 kB / 0.5446 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1716, allocations: 159.1 kB / 0.5447 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.1716, allocations: 16 kB / 0.5448 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.1718, allocations: 71.98 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.172, allocations: 131.5 kB / 0.5449 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1722, allocations: 190.5 kB / 0.5451 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.1727, allocations: 445.7 kB / 0.5456 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1728, allocations: 0 / 0.5456 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1728, allocations: 0 / 0.5456 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1728, allocations: 0 / 0.5456 GB, free: 14.2 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001194/0.174, allocations: 0.8436 MB / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.174, allocations: 13.11 kB / 0.5464 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.1741, allocations: 60.52 kB / 0.5464 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.1748, allocations: 433 kB / 0.5469 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.1748, allocations: 12.38 kB / 0.5469 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.1749, allocations: 16.33 kB / 0.5469 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.1753, allocations: 205.2 kB / 0.5471 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1753, allocations: 0 / 0.5471 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1753, allocations: 8 kB / 0.5471 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.1753, allocations: 8 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.1756, allocations: 95.84 kB / 0.5472 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.1765, allocations: 0.7977 MB / 0.548 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.1772, allocations: 250.5 kB / 0.5482 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.1774, allocations: 91.52 kB / 0.5483 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.1775, allocations: 4 kB / 0.5483 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.1779, allocations: 200.2 kB / 0.5485 GB, free: 10.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.1779, allocations: 0 / 0.5485 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002785/0.1807, allocations: 1.14 MB / 0.5496 GB, free: 9.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.1809, allocations: 140.5 kB / 0.5497 GB, free: 9.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.1819, allocations: 0.7931 MB / 0.5505 GB, free: 8.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.182, allocations: 37.69 kB / 0.5505 GB, free: 8.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.1822, allocations: 241 kB / 0.5508 GB, free: 8.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.1824, allocations: 142.8 kB / 0.5509 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1825, allocations: 82.08 kB / 0.551 GB, free: 8.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.1828, allocations: 382.7 kB / 0.5514 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.183, allocations: 108.8 kB / 0.5515 GB, free: 7.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.1833, allocations: 183.2 kB / 0.5516 GB, free: 7.625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.1838, allocations: 323 kB / 0.5519 GB, free: 7.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1839, allocations: 0 / 0.5519 GB, free: 7.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007708/0.1846, allocations: 449.2 kB / 0.5524 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1847, allocations: 8 kB / 0.5524 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1847, allocations: 0 / 0.5524 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1847, allocations: 4 kB / 0.5524 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.185, allocations: 91.84 kB / 0.5525 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.185, allocations: 3.984 kB / 0.5525 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1852, allocations: 16 kB / 0.5525 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.1852, allocations: 20 kB / 0.5525 GB, free: 6.699 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002684/0.1855, allocations: 235.9 kB / 0.5527 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.1856, allocations: 75.52 kB / 0.5528 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.1857, allocations: 77.86 kB / 0.5529 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1857, allocations: 4 kB / 0.5529 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1858, allocations: 0 / 0.5529 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.1858, allocations: 11.97 kB / 0.5529 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.1875, allocations: 1.307 MB / 0.5542 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1875, allocations: 7.922 kB / 0.5542 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1877, allocations: 59.92 kB / 0.5542 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1877, allocations: 8.25 kB / 0.5542 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.1878, allocations: 20.36 kB / 0.5543 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.1878, allocations: 4 kB / 0.5543 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.1878, allocations: 7.938 kB / 0.5543 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.1887, allocations: 0.7966 MB / 0.5551 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.1889, allocations: 172.6 kB / 0.5552 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.189, allocations: 23.98 kB / 0.5552 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1893, allocations: 15.98 kB / 0.5553 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.1894, allocations: 39.89 kB / 0.5553 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.1894, allocations: 20 kB / 0.5553 GB, free: 3.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006598/0.1901, allocations: 0.581 MB / 0.5559 GB, free: 3.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1901, allocations: 4 kB / 0.5559 GB, free: 3.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005239/0.1906, allocations: 83.94 kB / 0.556 GB, free: 3.004 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00205/0.1927, allocations: 0.5336 MB / 0.5565 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006737/0.1934, allocations: 311.6 kB / 0.5568 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1934, allocations: 256 / 0.5568 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.1937, allocations: 167.7 kB / 0.5569 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.1946, allocations: 124.9 kB / 0.5571 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1964, allocations: 1.065 MB / 0.5581 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.197, allocations: 0.886 MB / 0.559 GB, free: 32 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.1972, allocations: 83.22 kB / 0.559 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.1974, allocations: 59.41 kB / 0.5591 GB, free: 15.89 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1974, allocations: 0 / 0.5591 GB, free: 15.89 MB / 430.1 MB Notification: Performance of Templates: time 0.01226/0.2097, allocations: 5.46 MB / 0.5644 GB, free: 10.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.594187661074102]