Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.001693/0.001693, allocations: 120.8 kB / 18.45 MB, free: 4.586 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.002555/0.002555, allocations: 201 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.542/1.542, allocations: 227.4 MB / 251.7 MB, free: 260 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.2495/0.2495, allocations: 46.18 MB / 351.1 MB, free: 14.29 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 82.75 kB / 490.3 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1612, allocations: 62.45 MB / 0.5398 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.0047/0.166, allocations: 1.722 MB / 0.5415 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1683, allocations: 1.028 MB / 0.5425 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1684, allocations: 4 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.1689, allocations: 43.77 kB / 0.5425 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.1693, allocations: 99.53 kB / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1696, allocations: 75.67 kB / 0.5427 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.1698, allocations: 103.7 kB / 0.5428 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.17, allocations: 19.94 kB / 0.5428 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1701, allocations: 39.84 kB / 0.5428 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1702, allocations: 31.78 kB / 0.5429 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1703, allocations: 4 kB / 0.5429 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1704, allocations: 43.98 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.1705, allocations: 27.86 kB / 0.5429 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.1706, allocations: 35.73 kB / 0.543 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.1709, allocations: 127.4 kB / 0.5431 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1709, allocations: 0 / 0.5431 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.1709, allocations: 4 kB / 0.5431 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1709, allocations: 4 kB / 0.5431 GB, free: 0.707 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.00095/0.1719, allocations: 422.6 kB / 0.5435 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/0.172, allocations: 12.03 kB / 0.5435 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.172, allocations: 12.89 kB / 0.5435 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.1725, allocations: 208.1 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1725, allocations: 4.375 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1725, allocations: 384 / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1727, allocations: 65.92 kB / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1727, allocations: 4 kB / 0.5438 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1728, allocations: 4 kB / 0.5438 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1728, allocations: 0 / 0.5438 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.1729, allocations: 23.92 kB / 0.5438 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.1733, allocations: 296.8 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1735, allocations: 70.59 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.1736, allocations: 16.86 kB / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1736, allocations: 3.984 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.1738, allocations: 67.39 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1738, allocations: 0 / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005995/0.1744, allocations: 169.4 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.1745, allocations: 63.39 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1747, allocations: 202.1 kB / 0.5447 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1748, allocations: 29.7 kB / 0.5447 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.1748, allocations: 104.1 kB / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.1749, allocations: 23.8 kB / 0.5448 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.1749, allocations: 25.7 kB / 0.5448 GB, free: 14.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1751, allocations: 326.8 kB / 0.5452 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.1752, allocations: 23.98 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.1753, allocations: 41.64 kB / 0.5452 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1754, allocations: 57.7 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1754, allocations: 0 / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.1756, allocations: 105.5 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1756, allocations: 8.188 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1757, allocations: 0 / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1757, allocations: 3.938 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.1758, allocations: 20.03 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1758, allocations: 0 / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.1759, allocations: 3.984 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1759, allocations: 4 kB / 0.5454 GB, free: 14.1 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.0001372/0.176, allocations: 133.7 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.176, allocations: 15.89 kB / 0.5455 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.1761, allocations: 13.41 kB / 0.5456 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1761, allocations: 4.375 kB / 0.5456 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1761, allocations: 4 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1761, allocations: 0 / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.1766, allocations: 403.2 kB / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1766, allocations: 0 / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.1767, allocations: 15.94 kB / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1767, allocations: 0 / 0.546 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1767, allocations: 4 kB / 0.546 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1767, allocations: 3.938 kB / 0.546 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1767, allocations: 4.219 kB / 0.546 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.177, allocations: 212.2 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.1771, allocations: 85.06 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1771, allocations: 4 kB / 0.5463 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1772, allocations: 3.938 kB / 0.5463 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.1772, allocations: 7.984 kB / 0.5463 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1773, allocations: 8 kB / 0.5463 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1774, allocations: 160.8 kB / 0.5464 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1774, allocations: 0 / 0.5464 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1777, allocations: 31.92 kB / 0.5465 GB, free: 12.89 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.001799/0.1795, allocations: 453.4 kB / 0.5469 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1798, allocations: 59.92 kB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1798, allocations: 0 / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.1799, allocations: 35.91 kB / 0.547 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1803, allocations: 27.97 kB / 0.547 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.1808, allocations: 242.7 kB / 0.5473 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1812, allocations: 0.708 MB / 0.5479 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.1813, allocations: 17.17 kB / 0.548 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.1813, allocations: 15.44 kB / 0.548 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1813, allocations: 0 / 0.548 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Templates: time 0.005283/0.1866, allocations: 1.757 MB / 0.5497 GB, free: 9.711 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.313202451914549]