Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001911/0.001911, 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.002387/0.002387, allocations: 206.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.55/1.55, allocations: 227.4 MB / 251.6 MB, free: 92 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.2489/0.2489, allocations: 46.17 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 87.55 kB / 490.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1646, allocations: 62.46 MB / 0.5398 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.005118/0.1698, allocations: 1.731 MB / 0.5415 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1724, allocations: 1.017 MB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1726, allocations: 8 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.173, allocations: 47.75 kB / 0.5425 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004676/0.1736, allocations: 99.55 kB / 0.5426 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1739, allocations: 79.66 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1742, allocations: 103.7 kB / 0.5428 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1744, allocations: 19.98 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1745, allocations: 39.8 kB / 0.5428 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1746, allocations: 27.84 kB / 0.5429 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1746, allocations: 4 kB / 0.5429 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1748, allocations: 47.97 kB / 0.5429 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.107e-05/0.1749, allocations: 23.92 kB / 0.5429 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.834e-05/0.175, allocations: 43.62 kB / 0.543 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.1754, allocations: 131.4 kB / 0.5431 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1754, allocations: 0 / 0.5431 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1754, allocations: 4 kB / 0.5431 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1754, allocations: 0 / 0.5431 GB, free: 0.6953 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.0007871/0.1762, allocations: 438.6 kB / 0.5435 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1763, allocations: 8.031 kB / 0.5435 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.1763, allocations: 12.89 kB / 0.5435 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.1768, allocations: 209.3 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1768, allocations: 4.375 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1769, allocations: 8.312 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1771, allocations: 61.98 kB / 0.5438 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1771, allocations: 0 / 0.5438 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1771, allocations: 0 / 0.5438 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1772, allocations: 4 kB / 0.5438 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1773, allocations: 15.98 kB / 0.5438 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.1778, allocations: 308.7 kB / 0.5441 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.178, allocations: 62.62 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.1781, allocations: 20.84 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.1782, allocations: 7.984 kB / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1784, allocations: 63.39 kB / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.1784, allocations: 0 / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007482/0.1791, allocations: 181.3 kB / 0.5444 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.1792, allocations: 55.41 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.1795, allocations: 233.8 kB / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1796, allocations: 33.64 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.1797, allocations: 108.1 kB / 0.5449 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.1797, allocations: 27.78 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.1798, allocations: 25.72 kB / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.18, allocations: 326.8 kB / 0.5452 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.1801, allocations: 31.92 kB / 0.5453 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.1802, allocations: 33.7 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1804, allocations: 53.7 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.1804, allocations: 4 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002629/0.1806, allocations: 105.5 kB / 0.5454 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.1807, allocations: 8 kB / 0.5454 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1807, allocations: 32 / 0.5454 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1807, allocations: 4 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1809, allocations: 15.98 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1809, allocations: 4 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.1809, allocations: 0 / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.181, allocations: 4 kB / 0.5455 GB, free: 14.03 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.0001423/0.1811, allocations: 139.1 kB / 0.5456 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.1812, allocations: 11.91 kB / 0.5456 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.1812, allocations: 25.39 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1812, allocations: 4 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1813, allocations: 0 / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1813, allocations: 4 kB / 0.5456 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.1819, allocations: 399.4 kB / 0.546 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1819, allocations: 0 / 0.546 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.182, allocations: 8 kB / 0.546 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.182, allocations: 4.312 kB / 0.546 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.182, allocations: 4 kB / 0.546 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.1821, allocations: 8.016 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.1821, allocations: 8.016 kB / 0.5461 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.1824, allocations: 212.2 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.1825, allocations: 85.02 kB / 0.5463 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.1826, allocations: 4 kB / 0.5463 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1827, allocations: 7.938 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.1827, allocations: 11.98 kB / 0.5464 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1828, allocations: 4 kB / 0.5464 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002459/0.183, allocations: 176.6 kB / 0.5465 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.183, allocations: 0 / 0.5465 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.1834, allocations: 31.88 kB / 0.5466 GB, free: 12.79 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.002202/0.1856, allocations: 445.3 kB / 0.547 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.1859, allocations: 63.91 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1859, allocations: 0 / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.186, allocations: 27.92 kB / 0.5471 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.1866, allocations: 42.3 kB / 0.5471 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007041/0.1873, allocations: 271.2 kB / 0.5474 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1878, allocations: 0.708 MB / 0.5481 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.049e-05/0.1879, allocations: 17.17 kB / 0.5481 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.1879, allocations: 19.44 kB / 0.5481 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1879, allocations: 0 / 0.5481 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Templates: time 0.00741/0.1954, allocations: 1.764 MB / 0.5498 GB, free: 9.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.23255208414048]