Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001888/0.001888, 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.002101/0.002101, 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.616/1.616, allocations: 227.4 MB / 251.7 MB, free: 15.89 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.269/0.269, allocations: 46.16 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002955/0.002955, allocations: 91.28 kB / 490.2 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1905, allocations: 62.45 MB / 0.5397 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003955/0.1945, allocations: 2.038 MB / 0.5417 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1967, allocations: 1.118 MB / 0.5428 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1968, allocations: 4 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1972, allocations: 43.64 kB / 0.5429 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.1976, allocations: 107.4 kB / 0.543 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1979, allocations: 115.6 kB / 0.5431 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.1982, allocations: 207.4 kB / 0.5433 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1984, allocations: 29.61 kB / 0.5433 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1985, allocations: 83.58 kB / 0.5434 GB, free: 448 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1987, allocations: 79.59 kB / 0.5435 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.1987, allocations: 12 kB / 0.5435 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1989, allocations: 52 kB / 0.5435 GB, free: 304 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.1989, allocations: 43.83 kB / 0.5436 GB, free: 260 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1991, allocations: 71.53 kB / 0.5436 GB, free: 188 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.1994, allocations: 203.1 kB / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1994, allocations: 0 / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1994, allocations: 0 / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1995, allocations: 0 / 0.5438 GB, free: 15.98 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001102/0.2006, allocations: 0.5757 MB / 0.5444 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2006, allocations: 12.02 kB / 0.5444 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.2007, allocations: 24.78 kB / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.2011, allocations: 245.1 kB / 0.5447 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2011, allocations: 4.375 kB / 0.5447 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.2012, allocations: 12.38 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.2016, allocations: 160.3 kB / 0.5448 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2016, allocations: 0 / 0.5448 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2017, allocations: 4 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2017, allocations: 3.984 kB / 0.5448 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.2021, allocations: 115.9 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007208/0.2029, allocations: 0.536 MB / 0.5455 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.2036, allocations: 170.5 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.2039, allocations: 68.8 kB / 0.5457 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2039, allocations: 4 kB / 0.5457 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.2043, allocations: 139.2 kB / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.2043, allocations: 0 / 0.5458 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009151/0.2052, allocations: 265.3 kB / 0.5461 GB, free: 13.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2053, allocations: 55.41 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.2056, allocations: 244.9 kB / 0.5464 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2056, allocations: 33.64 kB / 0.5464 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2057, allocations: 120.4 kB / 0.5465 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.2058, allocations: 39.69 kB / 0.5466 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.2058, allocations: 37.7 kB / 0.5466 GB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.206, allocations: 326.8 kB / 0.5469 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.2063, allocations: 75.92 kB / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.2066, allocations: 105.2 kB / 0.5471 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.2071, allocations: 200.3 kB / 0.5473 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2071, allocations: 0 / 0.5473 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006809/0.2078, allocations: 259 kB / 0.5475 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.2079, allocations: 29.7 kB / 0.5475 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2079, allocations: 4 kB / 0.5475 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2079, allocations: 0 / 0.5475 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2081, allocations: 44.03 kB / 0.5476 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.2081, allocations: 7.984 kB / 0.5476 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2083, allocations: 27.81 kB / 0.5476 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.2083, allocations: 19.98 kB / 0.5476 GB, free: 11.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001361/0.2085, allocations: 125.8 kB / 0.5478 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.2085, allocations: 19.84 kB / 0.5478 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.2086, allocations: 21.39 kB / 0.5478 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2086, allocations: 4 kB / 0.5478 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2086, allocations: 4 kB / 0.5478 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2086, allocations: 3.938 kB / 0.5478 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2089, allocations: 241.5 kB / 0.548 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2089, allocations: 0 / 0.548 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.209, allocations: 23.97 kB / 0.5481 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2091, allocations: 0 / 0.5481 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2091, allocations: 0 / 0.5481 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2091, allocations: 4 kB / 0.5481 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2091, allocations: 0 / 0.5481 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/0.21, allocations: 308.7 kB / 0.5484 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.2101, allocations: 104.9 kB / 0.5485 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.2101, allocations: 4 kB / 0.5485 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.2103, allocations: 28.03 kB / 0.5485 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.2104, allocations: 15.92 kB / 0.5485 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2104, allocations: 4 kB / 0.5485 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.2106, allocations: 173.6 kB / 0.5487 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2106, allocations: 0 / 0.5487 GB, free: 10.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.2109, allocations: 35.98 kB / 0.5487 GB, free: 10.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001591/0.2125, allocations: 425.8 kB / 0.5491 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000687/0.2132, allocations: 207.2 kB / 0.5493 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.2132, allocations: 4 kB / 0.5493 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.2135, allocations: 84.11 kB / 0.5494 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.2138, allocations: 40.64 kB / 0.5494 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007569/0.2146, allocations: 315.6 kB / 0.5497 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.2151, allocations: 0.728 MB / 0.5505 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.707e-05/0.2152, allocations: 21.53 kB / 0.5505 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.2152, allocations: 23.42 kB / 0.5505 GB, free: 8.82 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2152, allocations: 0 / 0.5505 GB, free: 8.82 MB / 414.1 MB Notification: Performance of Templates: time 0.007179/0.2224, allocations: 2.844 MB / 0.5533 GB, free: 5.996 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.461186083033681]