Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006096/0.0006096, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002982/0.002982, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8878/0.8878, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 34.25 MB / 295.7 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.12e-05, allocations: 4.25 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.1858/0.1858, allocations: 1.982 MB / 445.5 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1869, allocations: 1.056 MB / 446.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.187, allocations: 3.938 kB / 446.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1873, allocations: 48.22 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1875, allocations: 124.4 kB / 446.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.1877, allocations: 111.2 kB / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1879, allocations: 206.7 kB / 447 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.188, allocations: 29.52 kB / 447.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1881, allocations: 110.5 kB / 447.2 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.1882, allocations: 57.92 kB / 447.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1882, allocations: 12 kB / 447.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.482e-05/0.1883, allocations: 51.73 kB / 447.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.1883, allocations: 40.45 kB / 447.3 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.1884, allocations: 48.27 kB / 447.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1886, allocations: 212.5 kB / 447.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1886, allocations: 0 / 447.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1886, allocations: 0 / 447.6 MB, free: 42.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1886, allocations: 0.5625 kB / 447.6 MB, free: 42.69 MB / 410.7 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.0005833/0.1892, allocations: 0.4934 MB / 448.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1892, allocations: 8.531 kB / 448.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1893, allocations: 26.78 kB / 448.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1895, allocations: 181.8 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1895, allocations: 9.844 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1895, allocations: 6.25 kB / 448.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.1898, allocations: 182.9 kB / 448.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1898, allocations: 3.938 kB / 448.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1898, allocations: 9.641 kB / 448.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1898, allocations: 3.438 kB / 448.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.19, allocations: 115.4 kB / 448.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1904, allocations: 470.8 kB / 449.1 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1908, allocations: 159.6 kB / 449.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.191, allocations: 75.19 kB / 449.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.191, allocations: 2.562 kB / 449.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.1913, allocations: 168.3 kB / 449.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.1913, allocations: 0 / 449.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004493/0.1917, allocations: 260.4 kB / 449.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.1918, allocations: 54.12 kB / 449.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1919, allocations: 245.9 kB / 450 MB, free: 41.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1919, allocations: 28.52 kB / 450.1 MB, free: 41.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.1919, allocations: 128.3 kB / 450.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.192, allocations: 44.44 kB / 450.2 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.192, allocations: 39.7 kB / 450.3 MB, free: 40.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.214e-05/0.192, allocations: 331.8 kB / 450.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1922, allocations: 98.92 kB / 450.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1923, allocations: 132.9 kB / 450.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1925, allocations: 201.1 kB / 451 MB, free: 40.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1925, allocations: 0 / 451 MB, free: 40.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002988/0.1928, allocations: 278.7 kB / 451.3 MB, free: 40.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1928, allocations: 40.39 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1928, allocations: 2.75 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1929, allocations: 2.938 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.1929, allocations: 39.12 kB / 451.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1929, allocations: 0 / 451.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.193, allocations: 37.02 kB / 451.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.193, allocations: 5.656 kB / 451.4 MB, free: 40.07 MB / 410.7 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 6.814e-05/0.1931, allocations: 141.6 kB / 451.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.1931, allocations: 23.2 kB / 451.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.1934, allocations: 212.6 kB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1934, allocations: 5.234 kB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1934, allocations: 7.344 kB / 451.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1934, allocations: 0 / 451.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.614e-05/0.1935, allocations: 172.5 kB / 452 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1935, allocations: 0 / 452 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.1936, allocations: 27.09 kB / 452 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1936, allocations: 0 / 452 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1936, allocations: 9.922 kB / 452 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1936, allocations: 0 / 452 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1936, allocations: 0 / 452 MB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.194, allocations: 323.7 kB / 452.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.194, allocations: 17.7 kB / 452.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1941, allocations: 10.36 kB / 452.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1941, allocations: 18.52 kB / 452.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.1942, allocations: 27.47 kB / 452.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1942, allocations: 6.406 kB / 452.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.1943, allocations: 175.8 kB / 452.6 MB, free: 39.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1943, allocations: 0 / 452.6 MB, free: 39.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00016/0.1944, allocations: 38.72 kB / 452.6 MB, free: 39.41 MB / 410.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0006405/0.1951, allocations: 434.6 kB / 453 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.1954, allocations: 245.2 kB / 453.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1954, allocations: 0 / 453.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1955, allocations: 78.05 kB / 453.3 MB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1957, allocations: 55.47 kB / 453.4 MB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.1961, allocations: 342.3 kB / 453.7 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.1962, allocations: 116.6 kB / 453.8 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.1962, allocations: 23.62 kB / 453.9 MB, free: 38.79 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1962, allocations: 0 / 453.9 MB, free: 38.79 MB / 410.7 MB Notification: Performance of Templates: time 0.00282/0.1991, allocations: 2.922 MB / 456.8 MB, free: 38.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.7810053043067455] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.20405923295766115 0.21031701000000003 0.020285867000000003 Calling exit ...