Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.002001/0.002001, allocations: 122.7 kB / 18.46 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.002513/0.002513, allocations: 211.3 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.557/1.557, allocations: 227.4 MB / 251.6 MB, free: 15.9 MB / 206.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.2509/0.2509, allocations: 46.16 MB / 351.1 MB, free: 14.26 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003177/0.003178, allocations: 84.41 kB / 490.3 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1687, allocations: 62.46 MB / 0.5398 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004291/0.1731, allocations: 1.762 MB / 0.5415 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1752, allocations: 1.032 MB / 0.5425 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.013e-05/0.1753, allocations: 0 / 0.5425 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.1757, allocations: 111.6 kB / 0.5426 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.1761, allocations: 127.5 kB / 0.5427 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.1763, allocations: 83.67 kB / 0.5428 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1766, allocations: 131.7 kB / 0.5429 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1767, allocations: 25.33 kB / 0.543 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1768, allocations: 67.75 kB / 0.543 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1769, allocations: 71.75 kB / 0.5431 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.177, allocations: 4 kB / 0.5431 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1771, allocations: 59.97 kB / 0.5432 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.1772, allocations: 31.91 kB / 0.5432 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.1773, allocations: 55.55 kB / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1776, allocations: 163.3 kB / 0.5434 GB, free: 416 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1776, allocations: 4 kB / 0.5434 GB, free: 412 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1776, allocations: 0 / 0.5434 GB, free: 412 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1776, allocations: 0 / 0.5434 GB, free: 412 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007354/0.1783, allocations: 474.3 kB / 0.5439 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1784, allocations: 8.031 kB / 0.5439 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.1784, allocations: 16.84 kB / 0.5439 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.1788, allocations: 233 kB / 0.5441 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1788, allocations: 4.375 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.1789, allocations: 4.375 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1791, allocations: 73.97 kB / 0.5442 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1791, allocations: 3.953 kB / 0.5442 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1792, allocations: 8 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1792, allocations: 0 / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1793, allocations: 35.97 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.1798, allocations: 328.7 kB / 0.5445 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.1801, allocations: 74.55 kB / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.1802, allocations: 28.84 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1803, allocations: 4 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1804, allocations: 79.42 kB / 0.5447 GB, free: 14.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1805, allocations: 3.938 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009697/0.1814, allocations: 301.8 kB / 0.545 GB, free: 14.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1815, allocations: 51.41 kB / 0.5451 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.1818, allocations: 267.7 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1819, allocations: 29.98 kB / 0.5453 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.1819, allocations: 116.1 kB / 0.5455 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.182, allocations: 51.58 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.1821, allocations: 33.66 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1822, allocations: 330.8 kB / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.1823, allocations: 35.98 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1825, allocations: 59.39 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.1827, allocations: 105.6 kB / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.1828, allocations: 0 / 0.546 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005957/0.1834, allocations: 156 kB / 0.5462 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.1835, allocations: 8 kB / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.1835, allocations: 3.984 kB / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/0.1835, allocations: 0 / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.1838, allocations: 27.94 kB / 0.5462 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.1838, allocations: 11.95 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.184, allocations: 4 kB / 0.5462 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.184, allocations: 8 kB / 0.5463 GB, free: 13.25 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 (16): * Single equations (assignments): 16 * 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.0003534/0.1844, allocations: 133.8 kB / 0.5464 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1845, allocations: 19.86 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.1847, allocations: 29.5 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.1847, allocations: 4 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.1848, allocations: 3.938 kB / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.1848, allocations: 8 kB / 0.5464 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.1857, allocations: 0.4999 MB / 0.5469 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1857, allocations: 3.984 kB / 0.5469 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.1858, allocations: 16 kB / 0.5469 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1858, allocations: 0 / 0.5469 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1858, allocations: 4 kB / 0.547 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1858, allocations: 7.922 kB / 0.547 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1859, allocations: 4.062 kB / 0.547 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1862, allocations: 261.1 kB / 0.5472 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.1863, allocations: 93.02 kB / 0.5473 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1863, allocations: 4 kB / 0.5473 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.1864, allocations: 4 kB / 0.5473 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1864, allocations: 15.98 kB / 0.5473 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1865, allocations: 8 kB / 0.5473 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1867, allocations: 201.4 kB / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1867, allocations: 0 / 0.5475 GB, free: 11.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000275/0.187, allocations: 31.94 kB / 0.5476 GB, free: 11.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.00193/0.1889, allocations: 0.5114 MB / 0.5481 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.1892, allocations: 103.9 kB / 0.5482 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1892, allocations: 0 / 0.5482 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1893, allocations: 51.92 kB / 0.5482 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1897, allocations: 38.27 kB / 0.5482 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.1902, allocations: 328.5 kB / 0.5486 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1906, allocations: 0.7384 MB / 0.5493 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.1907, allocations: 25.41 kB / 0.5493 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.1908, allocations: 27.42 kB / 0.5493 GB, free: 10.11 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1908, allocations: 0 / 0.5493 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Templates: time 0.006448/0.1972, allocations: 2.216 MB / 0.5515 GB, free: 7.914 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.404604194685817]