Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001905/0.001905, allocations: 122 kB / 18.45 MB, free: 4.59 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.001929/0.001929, 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.536/1.536, allocations: 227.4 MB / 251.6 MB, free: 48 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.18 MB / 351.1 MB, free: 14.28 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 84.56 kB / 490.3 MB, free: 27.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.16, allocations: 62.45 MB / 0.5398 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004031/0.1641, allocations: 1.825 MB / 0.5415 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.1664, allocations: 1.096 MB / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1665, allocations: 0 / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.1672, allocations: 299.3 kB / 0.5429 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.1677, allocations: 251.2 kB / 0.5431 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.168, allocations: 107.6 kB / 0.5432 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.1685, allocations: 255.3 kB / 0.5435 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.367e-05/0.1686, allocations: 21.62 kB / 0.5435 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.1687, allocations: 127.6 kB / 0.5436 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.169, allocations: 199.9 kB / 0.5438 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.169, allocations: 4.047 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1692, allocations: 43.94 kB / 0.5439 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.1693, allocations: 132.5 kB / 0.544 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1695, allocations: 142.8 kB / 0.5441 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.1699, allocations: 378.2 kB / 0.5445 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.17, allocations: 0 / 0.5445 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.17, allocations: 0 / 0.5445 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.17, allocations: 0 / 0.5445 GB, free: 15.31 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.001187/0.1712, allocations: 0.7578 MB / 0.5452 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1712, allocations: 8.031 kB / 0.5452 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.794e-05/0.1713, allocations: 56.59 kB / 0.5453 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.1721, allocations: 448.4 kB / 0.5457 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1721, allocations: 384 / 0.5457 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1721, allocations: 12.31 kB / 0.5457 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.1724, allocations: 95.66 kB / 0.5458 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1724, allocations: 0 / 0.5458 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1724, allocations: 4 kB / 0.5458 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1724, allocations: 3.938 kB / 0.5458 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1725, allocations: 23.98 kB / 0.5458 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.173, allocations: 382.3 kB / 0.5462 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1733, allocations: 109.2 kB / 0.5463 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1734, allocations: 37.7 kB / 0.5463 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1735, allocations: 4 kB / 0.5464 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.1737, allocations: 116.9 kB / 0.5465 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1737, allocations: 0 / 0.5465 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005055/0.1742, allocations: 205.2 kB / 0.5467 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.1743, allocations: 81.11 kB / 0.5467 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.1755, allocations: 1.019 MB / 0.5477 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1756, allocations: 25.7 kB / 0.5478 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.1758, allocations: 240.1 kB / 0.548 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.1758, allocations: 31.78 kB / 0.548 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1759, allocations: 21.72 kB / 0.548 GB, free: 11.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.1761, allocations: 374.8 kB / 0.5484 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.1762, allocations: 23.98 kB / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1764, allocations: 59.36 kB / 0.5485 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1766, allocations: 95.34 kB / 0.5486 GB, free: 10.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1766, allocations: 0 / 0.5486 GB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000315/0.1769, allocations: 173.7 kB / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1769, allocations: 4 kB / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1769, allocations: 0 / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.177, allocations: 8.062 kB / 0.5487 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1771, allocations: 20.05 kB / 0.5488 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1771, allocations: 7.938 kB / 0.5488 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.1772, allocations: 19.94 kB / 0.5488 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1772, allocations: 4 kB / 0.5488 GB, free: 10.61 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002418/0.1775, allocations: 209.8 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.1776, allocations: 59.59 kB / 0.549 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.543e-05/0.1777, allocations: 60.09 kB / 0.5491 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1777, allocations: 8 kB / 0.5491 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1777, allocations: 0 / 0.5491 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1777, allocations: 0 / 0.5491 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.1781, allocations: 345.4 kB / 0.5494 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1781, allocations: 0 / 0.5494 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.1781, allocations: 15.88 kB / 0.5495 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1781, allocations: 3.984 kB / 0.5495 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1781, allocations: 3.938 kB / 0.5495 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1781, allocations: 4 kB / 0.5495 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1782, allocations: 0 / 0.5495 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1785, allocations: 213.5 kB / 0.5497 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1787, allocations: 144.6 kB / 0.5498 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.1787, allocations: 0 / 0.5498 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.1788, allocations: 4 kB / 0.5498 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.1788, allocations: 11.98 kB / 0.5498 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1789, allocations: 4 kB / 0.5498 GB, free: 9.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008756/0.1797, allocations: 0.7682 MB / 0.5506 GB, free: 8.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1798, allocations: 0 / 0.5506 GB, free: 8.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.18, allocations: 44 kB / 0.5506 GB, free: 8.633 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001611/0.1816, allocations: 409.3 kB / 0.551 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.1819, allocations: 79.89 kB / 0.5511 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1819, allocations: 0 / 0.5511 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.182, allocations: 44.05 kB / 0.5511 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1825, allocations: 86.16 kB / 0.5512 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.1838, allocations: 0.862 MB / 0.5521 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.1845, allocations: 0.8388 MB / 0.5529 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1846, allocations: 63.33 kB / 0.5529 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.1847, allocations: 27.44 kB / 0.553 GB, free: 6.332 MB / 414.1 MB Notification: Performance of SimCode: time 2.495e-06/0.1847, allocations: 0 / 0.553 GB, free: 6.332 MB / 414.1 MB Notification: Performance of Templates: time 0.008822/0.1935, allocations: 3.743 MB / 0.5566 GB, free: 2.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.249116376973689]