Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001568/0.001568, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.00166/0.00166, allocations: 208.9 kB / 22.08 MB, free: 0.9922 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.548/1.548, allocations: 227.4 MB / 252.3 MB, free: 76 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.2576/0.2576, allocations: 46.17 MB / 351.8 MB, free: 14.31 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003263/0.003263, allocations: 79.78 kB / 490.9 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1733, allocations: 62.45 MB / 0.5404 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003763/0.1771, allocations: 1.69 MB / 0.5421 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1794, allocations: 1.009 MB / 0.5431 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.951e-05/0.1795, allocations: 0 / 0.5431 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1797, allocations: 63.73 kB / 0.5431 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.1801, allocations: 103.6 kB / 0.5432 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.1804, allocations: 75.67 kB / 0.5433 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1806, allocations: 107.7 kB / 0.5434 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.1806, allocations: 4.234 kB / 0.5434 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.1807, allocations: 51.77 kB / 0.5434 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1808, allocations: 43.78 kB / 0.5435 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1809, allocations: 4 kB / 0.5435 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.181, allocations: 39.97 kB / 0.5435 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.181, allocations: 23.86 kB / 0.5435 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1811, allocations: 27.81 kB / 0.5436 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1813, allocations: 111.5 kB / 0.5437 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1813, allocations: 0 / 0.5437 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1814, allocations: 0 / 0.5437 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.557e-06/0.1814, allocations: 0 / 0.5437 GB, free: 0.8164 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000571/0.1819, allocations: 410.7 kB / 0.5441 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.182, allocations: 12.03 kB / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.182, allocations: 12.84 kB / 0.5441 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1824, allocations: 212.9 kB / 0.5443 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1824, allocations: 4.312 kB / 0.5443 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1824, allocations: 8.375 kB / 0.5443 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1826, allocations: 49.98 kB / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1826, allocations: 0 / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.1826, allocations: 0 / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1826, allocations: 0 / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.29e-05/0.1827, allocations: 12 kB / 0.5444 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.183, allocations: 189.6 kB / 0.5445 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1832, allocations: 62.55 kB / 0.5446 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.1832, allocations: 20.84 kB / 0.5446 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1833, allocations: 3.938 kB / 0.5446 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1834, allocations: 63.33 kB / 0.5447 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.1835, allocations: 4 kB / 0.5447 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003088/0.1838, allocations: 89.62 kB / 0.5448 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1838, allocations: 59.34 kB / 0.5448 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.1841, allocations: 203.5 kB / 0.545 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1841, allocations: 25.7 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.1842, allocations: 100.1 kB / 0.5452 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1843, allocations: 15.91 kB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.1843, allocations: 21.7 kB / 0.5452 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1845, allocations: 322.8 kB / 0.5455 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.1846, allocations: 16 kB / 0.5455 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.1847, allocations: 29.7 kB / 0.5455 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1848, allocations: 49.95 kB / 0.5456 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1848, allocations: 3.938 kB / 0.5456 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002094/0.185, allocations: 85.47 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1851, allocations: 8 kB / 0.5457 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1851, allocations: 0 / 0.5457 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.1851, allocations: 4.031 kB / 0.5457 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.1852, allocations: 11.98 kB / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1852, allocations: 3.938 kB / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.1853, allocations: 4 kB / 0.5457 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1853, allocations: 4 kB / 0.5457 GB, free: 14.5 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 (7): * Single equations (assignments): 7 * 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.0001219/0.1854, allocations: 119.5 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.1854, allocations: 19.88 kB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.1855, allocations: 9 kB / 0.5458 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1855, allocations: 4 kB / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1855, allocations: 4 kB / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1855, allocations: 0 / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.1857, allocations: 189.6 kB / 0.546 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1858, allocations: 0 / 0.546 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.1858, allocations: 3.938 kB / 0.546 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1858, allocations: 4 kB / 0.546 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1858, allocations: 4 kB / 0.546 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1858, allocations: 0 / 0.546 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1858, allocations: 0 / 0.546 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1861, allocations: 109 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.1862, allocations: 92.94 kB / 0.5462 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1862, allocations: 7.984 kB / 0.5462 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.874e-05/0.1863, allocations: 8.125 kB / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.1863, allocations: 0 / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1863, allocations: 4 kB / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1865, allocations: 156.2 kB / 0.5464 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1865, allocations: 0 / 0.5464 GB, free: 13.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1868, allocations: 16 kB / 0.5464 GB, free: 13.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001766/0.1886, allocations: 405.6 kB / 0.5468 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1888, allocations: 43.91 kB / 0.5469 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1888, allocations: 0 / 0.5469 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.1889, allocations: 16 kB / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.1892, allocations: 34.83 kB / 0.5469 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.1897, allocations: 243.6 kB / 0.5471 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.1902, allocations: 0.7002 MB / 0.5478 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.1902, allocations: 11.44 kB / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1902, allocations: 0 / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004403/0.1946, allocations: 1.738 MB / 0.5495 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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: 7.957569801947102]