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.0008541/0.0008541, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.000816/0.000816, allocations: 170 kB / 23.95 MB, free: 0.6016 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.9051/0.9051, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2359/0.2359, allocations: 34.24 MB / 294.9 MB, free: 0.7031 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.487e-05, allocations: 2.844 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.1755/0.1755, allocations: 1.98 MB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1766, allocations: 1.072 MB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1767, allocations: 3.062 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.177, allocations: 46.23 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1773, allocations: 111.7 kB / 445.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.1775, allocations: 121 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1777, allocations: 205.6 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1778, allocations: 17.19 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1779, allocations: 117.2 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.481e-05/0.178, allocations: 64.75 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.178, allocations: 11.69 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.1781, allocations: 51.86 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.1782, allocations: 40.72 kB / 446.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.1782, allocations: 43.86 kB / 446.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1785, allocations: 210.7 kB / 446.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1785, allocations: 0 / 446.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1785, allocations: 0 / 446.3 MB, free: 42.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1785, allocations: 0 / 446.3 MB, free: 42.76 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.0005939/0.1791, allocations: 0.5008 MB / 446.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1791, allocations: 8.219 kB / 446.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.502e-05/0.1791, allocations: 40.05 kB / 446.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1792, allocations: 17.5 kB / 446.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1794, allocations: 188.8 kB / 447.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1794, allocations: 7.781 kB / 447.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1795, allocations: 5.781 kB / 447.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.1797, allocations: 182.3 kB / 447.3 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1797, allocations: 5.031 kB / 447.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1797, allocations: 6.719 kB / 447.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1797, allocations: 3 kB / 447.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.1799, allocations: 114.2 kB / 447.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1804, allocations: 0.501 MB / 447.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.1808, allocations: 164 kB / 448.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1809, allocations: 70.59 kB / 448.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1809, allocations: 3 kB / 448.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.1811, allocations: 158 kB / 448.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.1811, allocations: 3.938 kB / 448.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004804/0.1816, allocations: 261.3 kB / 448.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1817, allocations: 57.41 kB / 448.6 MB, free: 41.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1818, allocations: 244 kB / 448.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1818, allocations: 28.67 kB / 448.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.1819, allocations: 130.7 kB / 449 MB, free: 40.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1819, allocations: 39.92 kB / 449 MB, free: 40.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.182, allocations: 34.64 kB / 449.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.182, allocations: 339.2 kB / 449.4 MB, free: 40.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1822, allocations: 94.02 kB / 449.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1823, allocations: 132.4 kB / 449.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.1826, allocations: 198 kB / 449.8 MB, free: 40.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1826, allocations: 0 / 449.8 MB, free: 40.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003501/0.1829, allocations: 296.3 kB / 450.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.1829, allocations: 31.33 kB / 450.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1829, allocations: 0 / 450.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.183, allocations: 2.625 kB / 450.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.1831, allocations: 43 kB / 450.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1831, allocations: 2.781 kB / 450.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.1831, allocations: 28.95 kB / 450.2 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1832, allocations: 6.812 kB / 450.2 MB, free: 40.11 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 7.262e-05/0.1832, allocations: 143.6 kB / 450.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.1832, allocations: 20.33 kB / 450.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1836, allocations: 218.5 kB / 450.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1836, allocations: 6.875 kB / 450.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1836, allocations: 0 / 450.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1836, allocations: 7.172 kB / 450.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1837, allocations: 194.7 kB / 450.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1837, allocations: 0 / 450.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.1838, allocations: 23.88 kB / 450.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.1838, allocations: 0 / 450.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1838, allocations: 5.984 kB / 450.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1838, allocations: 0 / 450.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1838, allocations: 1.312 kB / 450.8 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.1842, allocations: 329.9 kB / 451.1 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.1842, allocations: 17.67 kB / 451.2 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1843, allocations: 7.281 kB / 451.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1843, allocations: 21.7 kB / 451.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.1844, allocations: 19.2 kB / 451.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1844, allocations: 14 kB / 451.2 MB, free: 39.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.376e-05/0.1845, allocations: 166.9 kB / 451.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1845, allocations: 0 / 451.4 MB, free: 39.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.1847, allocations: 42.38 kB / 451.4 MB, free: 39.42 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.001218/0.1859, allocations: 1.19 MB / 452.6 MB, free: 38.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.1862, allocations: 241.5 kB / 452.8 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1862, allocations: 4.25 kB / 452.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1863, allocations: 76.59 kB / 452.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1866, allocations: 57.03 kB / 453 MB, free: 38.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1885, allocations: 2.306 MB / 455.3 MB, free: 36.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.575e-05/0.1885, allocations: 120.9 kB / 455.4 MB, free: 36.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.425e-05/0.1886, allocations: 20.67 kB / 455.4 MB, free: 36.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.1887, allocations: 59.66 kB / 455.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1887, allocations: 0 / 455.5 MB, free: 36.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.2098, allocations: 6.006 MB / 461.5 MB, free: 35.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.219, allocations: 14.38 kB / 461.5 MB, free: 35.18 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.318347094580531] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 7.321041764691472 7.332825495 7.152246782 Calling exit ...