Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008275/0.0008275, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.003161/0.003161, allocations: 160.6 kB / 24.7 MB, free: 9.43 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.9295/0.9295, allocations: 177.2 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.623e-05, allocations: 12.05 kB / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003562/0.003599, allocations: 1.978 MB / 442.9 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.005442, allocations: 1.06 MB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.005583, allocations: 0 / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.005948, allocations: 55.56 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005682/0.006516, allocations: 111.3 kB / 444.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.006842, allocations: 123.5 kB / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.007145, allocations: 199.4 kB / 444.5 MB, free: 116 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.007347, allocations: 29.72 kB / 444.5 MB, free: 88 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1766/0.1839, allocations: 105.8 kB / 444.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1841, allocations: 63.27 kB / 444.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.1841, allocations: 11.34 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1843, allocations: 52.77 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.1843, allocations: 40.05 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.1844, allocations: 44.92 kB / 444.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.1847, allocations: 209.2 kB / 445 MB, free: 43.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1847, allocations: 0.6562 kB / 445 MB, free: 43.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1847, allocations: 0 / 445 MB, free: 43.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1847, allocations: 0 / 445 MB, free: 43.94 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.0006118/0.1853, allocations: 0.4911 MB / 445.5 MB, free: 43.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1854, allocations: 18.42 kB / 445.5 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.1854, allocations: 20.73 kB / 445.5 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1857, allocations: 192.1 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1857, allocations: 6.156 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1857, allocations: 9.469 kB / 445.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1859, allocations: 182.2 kB / 445.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1859, allocations: 1.969 kB / 445.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1859, allocations: 7.406 kB / 445.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.186, allocations: 2.844 kB / 445.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.1862, allocations: 117.1 kB / 446 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.1865, allocations: 477.3 kB / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.1869, allocations: 157.3 kB / 446.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.187, allocations: 76.92 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.187, allocations: 0 / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.1872, allocations: 162 kB / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1872, allocations: 0 / 446.9 MB, free: 42.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000436/0.1876, allocations: 267 kB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.1876, allocations: 57.59 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1878, allocations: 239.5 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1878, allocations: 28.23 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.1878, allocations: 130 kB / 447.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1878, allocations: 37.66 kB / 447.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.1879, allocations: 34.64 kB / 447.7 MB, free: 42.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.277e-05/0.1879, allocations: 336.8 kB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.188, allocations: 100.8 kB / 448.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1882, allocations: 135.6 kB / 448.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1884, allocations: 197.9 kB / 448.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1884, allocations: 4 kB / 448.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002903/0.1887, allocations: 278.6 kB / 448.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1887, allocations: 36.8 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1887, allocations: 0 / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1887, allocations: 5.938 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.1888, allocations: 35.05 kB / 448.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1888, allocations: 2.625 kB / 448.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.1889, allocations: 38.62 kB / 448.8 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1889, allocations: 5.906 kB / 448.8 MB, free: 41.8 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.207e-05/0.189, allocations: 143.1 kB / 449 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.189, allocations: 20.55 kB / 449 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.1893, allocations: 222.5 kB / 449.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1893, allocations: 2.906 kB / 449.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1893, allocations: 0 / 449.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1893, allocations: 3.188 kB / 449.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.1894, allocations: 168.5 kB / 449.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1894, allocations: 2.625 kB / 449.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.1894, allocations: 23.56 kB / 449.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1894, allocations: 7.375 kB / 449.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.1895, allocations: 2.844 kB / 449.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1895, allocations: 0 / 449.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1895, allocations: 3.938 kB / 449.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.1898, allocations: 328.4 kB / 449.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.1899, allocations: 27.7 kB / 449.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1899, allocations: 0 / 449.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1899, allocations: 24.17 kB / 449.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.19, allocations: 18.58 kB / 449.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.19, allocations: 2.875 kB / 449.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.644e-05/0.1901, allocations: 176.7 kB / 450 MB, free: 41.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1901, allocations: 0 / 450 MB, free: 41.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001543/0.1902, allocations: 31.72 kB / 450 MB, free: 41.33 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.0006387/0.1909, allocations: 451.3 kB / 450.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.1912, allocations: 246.8 kB / 450.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1912, allocations: 0 / 450.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1913, allocations: 80.09 kB / 450.8 MB, free: 41.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1915, allocations: 56.11 kB / 450.8 MB, free: 41.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.1919, allocations: 341.3 kB / 451.1 MB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.48e-05/0.192, allocations: 118.5 kB / 451.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.192, allocations: 29.22 kB / 451.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.192, allocations: 0 / 451.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of Templates: time 0.002843/0.1949, allocations: 2.918 MB / 454.2 MB, free: 40.51 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.184740358032286] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 0.2013300759717822 0.205905306 0.019700436 Calling exit ...