Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001297/0.001297, allocations: 117.2 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.001324/0.001324, allocations: 210.6 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.546/1.546, allocations: 227.4 MB / 251.6 MB, free: 60 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.2458/0.2458, allocations: 46.18 MB / 351.1 MB, free: 14.27 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 80.28 kB / 490.2 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1641, allocations: 62.45 MB / 0.5397 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00406/0.1682, allocations: 1.828 MB / 0.5415 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.1713, allocations: 1.695 MB / 0.5432 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1715, allocations: 7.938 kB / 0.5432 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.1719, allocations: 47.69 kB / 0.5432 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.1725, allocations: 147.4 kB / 0.5434 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1728, allocations: 103.6 kB / 0.5435 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.1731, allocations: 203.4 kB / 0.5437 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.1732, allocations: 13.67 kB / 0.5437 GB, free: 104 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.1734, allocations: 83.62 kB / 0.5438 GB, free: 20 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.1737, allocations: 82.25 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.1737, allocations: 8 kB / 0.5439 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.174, allocations: 115.9 kB / 0.544 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.1741, allocations: 39.84 kB / 0.544 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.762e-05/0.1742, allocations: 67.53 kB / 0.5441 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.1746, allocations: 227.1 kB / 0.5443 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1747, allocations: 0 / 0.5443 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1747, allocations: 3.938 kB / 0.5443 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1747, allocations: 0 / 0.5443 GB, free: 15.49 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009394/0.1756, allocations: 0.498 MB / 0.5448 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1757, allocations: 8.031 kB / 0.5448 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.1758, allocations: 16.84 kB / 0.5448 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.1762, allocations: 273 kB / 0.5451 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1763, allocations: 384 / 0.5451 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.1763, allocations: 4.375 kB / 0.5451 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1766, allocations: 101.3 kB / 0.5452 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1766, allocations: 4 kB / 0.5452 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1766, allocations: 8 kB / 0.5452 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1766, allocations: 0 / 0.5452 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1767, allocations: 27.97 kB / 0.5452 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.1771, allocations: 218.5 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.1774, allocations: 109.2 kB / 0.5455 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.1775, allocations: 37.7 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1775, allocations: 0 / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.1778, allocations: 112.9 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1778, allocations: 4 kB / 0.5457 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005002/0.1783, allocations: 177.6 kB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1784, allocations: 128.5 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1787, allocations: 241 kB / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1787, allocations: 29.7 kB / 0.5462 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1789, allocations: 120.1 kB / 0.5463 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.1789, allocations: 27.75 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.179, allocations: 37.7 kB / 0.5464 GB, free: 13.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003246/0.1793, allocations: 330.8 kB / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.1794, allocations: 27.98 kB / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1795, allocations: 65.14 kB / 0.5468 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.1799, allocations: 95.38 kB / 0.5469 GB, free: 12.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1799, allocations: 0 / 0.5469 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002912/0.1802, allocations: 137.4 kB / 0.547 GB, free: 12.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1802, allocations: 4 kB / 0.547 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1802, allocations: 4 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1802, allocations: 0 / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1804, allocations: 20.05 kB / 0.547 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1804, allocations: 11.94 kB / 0.547 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.39e-05/0.1805, allocations: 11.95 kB / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1805, allocations: 4 kB / 0.5471 GB, free: 12.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001494/0.1806, allocations: 138.1 kB / 0.5472 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1807, allocations: 19.84 kB / 0.5472 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.1807, allocations: 24.98 kB / 0.5472 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1808, allocations: 0 / 0.5472 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1808, allocations: 0 / 0.5472 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.1808, allocations: 12 kB / 0.5472 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.181, allocations: 225.5 kB / 0.5475 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.181, allocations: 0 / 0.5475 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.1811, allocations: 11.94 kB / 0.5475 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1811, allocations: 3.984 kB / 0.5475 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1811, allocations: 8 kB / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1811, allocations: 3.984 kB / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1811, allocations: 0 / 0.5475 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.1815, allocations: 169.8 kB / 0.5476 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.1816, allocations: 96.95 kB / 0.5477 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1816, allocations: 4 kB / 0.5477 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1817, allocations: 7.984 kB / 0.5478 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.1818, allocations: 15.92 kB / 0.5478 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1818, allocations: 4 kB / 0.5478 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.182, allocations: 181.6 kB / 0.5479 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.182, allocations: 3.938 kB / 0.5479 GB, free: 11.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1823, allocations: 55.86 kB / 0.548 GB, free: 11.27 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001832/0.1841, allocations: 490.4 kB / 0.5485 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.1845, allocations: 79.91 kB / 0.5485 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.1845, allocations: 0 / 0.5485 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1846, allocations: 43.86 kB / 0.5486 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.185, allocations: 63.73 kB / 0.5486 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.1856, allocations: 279.8 kB / 0.5489 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.1862, allocations: 0.7203 MB / 0.5496 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.323e-05/0.1863, allocations: 33.52 kB / 0.5497 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.1864, allocations: 27.42 kB / 0.5497 GB, free: 9.656 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1864, allocations: 0 / 0.5497 GB, free: 9.656 MB / 414.1 MB Notification: Performance of Templates: time 0.007796/0.1942, allocations: 3.12 MB / 0.5527 GB, free: 6.555 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.319979048334062]