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.000861/0.000861, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009643/0.0009643, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9015/0.9015, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.24/0.24, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 4 kB / 442.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.192e-05, allocations: 8.469 kB / 442.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.1734/0.1734, allocations: 1.975 MB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1745, allocations: 1.058 MB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1746, allocations: 8.562 kB / 445.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1749, allocations: 48.69 kB / 445.3 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.1751, allocations: 117.9 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1754, allocations: 116.5 kB / 445.6 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1756, allocations: 209.7 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1757, allocations: 17 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.1758, allocations: 113.1 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.1759, allocations: 61.39 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1759, allocations: 12.25 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.176, allocations: 56.36 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.176, allocations: 41.44 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.1761, allocations: 44.52 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1763, allocations: 207.5 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1763, allocations: 0 / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1763, allocations: 0 / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1763, allocations: 0 / 446.3 MB, free: 42.64 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.0006537/0.177, allocations: 0.4957 MB / 446.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.177, allocations: 8.125 kB / 446.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.177, allocations: 40.41 kB / 446.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1771, allocations: 23.91 kB / 446.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1773, allocations: 180.8 kB / 447 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1774, allocations: 7 kB / 447.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.1774, allocations: 20.41 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1776, allocations: 172.6 kB / 447.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1776, allocations: 3.469 kB / 447.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1777, allocations: 10.28 kB / 447.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1777, allocations: 3.531 kB / 447.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.1779, allocations: 116.6 kB / 447.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.1783, allocations: 0.4884 MB / 447.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.1787, allocations: 163.7 kB / 448 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1788, allocations: 66.95 kB / 448.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.1788, allocations: 6.266 kB / 448.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.179, allocations: 168.4 kB / 448.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.179, allocations: 0 / 448.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000469/0.1795, allocations: 262.9 kB / 448.5 MB, free: 41.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1795, allocations: 54.44 kB / 448.6 MB, free: 41.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1797, allocations: 241.5 kB / 448.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1797, allocations: 28.48 kB / 448.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.1798, allocations: 127.8 kB / 449 MB, free: 40.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1798, allocations: 40.53 kB / 449 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.1799, allocations: 31.12 kB / 449 MB, free: 40.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.1799, allocations: 342.5 kB / 449.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1801, allocations: 95.48 kB / 449.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1802, allocations: 142.8 kB / 449.6 MB, free: 40.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.1804, allocations: 197.4 kB / 449.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1804, allocations: 0 / 449.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003282/0.1808, allocations: 281 kB / 450.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1808, allocations: 34.89 kB / 450.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1808, allocations: 4.906 kB / 450.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1808, allocations: 6.844 kB / 450.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1809, allocations: 43.94 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1809, allocations: 2.5 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/0.181, allocations: 20.31 kB / 450.2 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.181, allocations: 9.75 kB / 450.2 MB, free: 39.98 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 8.047e-05/0.1811, allocations: 141.2 kB / 450.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1811, allocations: 23.27 kB / 450.3 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.1815, allocations: 222.1 kB / 450.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1815, allocations: 0.5625 kB / 450.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1815, allocations: 3.938 kB / 450.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1815, allocations: 2.812 kB / 450.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.1816, allocations: 198.7 kB / 450.8 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.1816, allocations: 0 / 450.8 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.712e-05/0.1817, allocations: 31.7 kB / 450.8 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1817, allocations: 3.625 kB / 450.8 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1817, allocations: 3.281 kB / 450.8 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1817, allocations: 2.906 kB / 450.8 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1817, allocations: 0 / 450.8 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.1822, allocations: 317.6 kB / 451.1 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.1822, allocations: 20.33 kB / 451.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1823, allocations: 6.844 kB / 451.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.1823, allocations: 21.34 kB / 451.2 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.1824, allocations: 16.33 kB / 451.2 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.1824, allocations: 10.94 kB / 451.2 MB, free: 39.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1825, allocations: 172.3 kB / 451.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1825, allocations: 0 / 451.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.1828, allocations: 42.47 kB / 451.4 MB, free: 39.29 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.001326/0.1841, allocations: 1.172 MB / 452.6 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.1844, allocations: 246.8 kB / 452.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1844, allocations: 0 / 452.8 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1846, allocations: 83.02 kB / 452.9 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.1848, allocations: 51.39 kB / 452.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1868, allocations: 2.318 MB / 455.3 MB, free: 36.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.457e-05/0.1869, allocations: 113.2 kB / 455.4 MB, free: 36.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.391e-05/0.187, allocations: 23.48 kB / 455.4 MB, free: 36.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.1871, allocations: 62 kB / 455.4 MB, free: 36.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.1871, allocations: 3.938 kB / 455.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.2097, allocations: 6.01 MB / 461.5 MB, free: 35.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.313, allocations: 0 / 461.5 MB, free: 35.03 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.404876207001507] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 7.412121153436601 7.423830702 7.245085095 Calling exit ...