Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.0008193/0.0008193, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008514/0.0008514, allocations: 170 kB / 23.95 MB, free: 0.6055 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.9077/0.9077, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.237/0.237, allocations: 32.79 MB / 293.5 MB, free: 1.227 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.766e-05, allocations: 3.828 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002416/0.002434, allocations: 1.821 MB / 441.4 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.00355, allocations: 0.9933 MB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.003615, allocations: 0 / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.003858, allocations: 71.59 kB / 442.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.004143, allocations: 115.4 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.004472, allocations: 212 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.004675, allocations: 211.2 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.004762, allocations: 17.8 kB / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004874, allocations: 107.8 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.004979, allocations: 91.75 kB / 443.2 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.005, allocations: 12 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.005066, allocations: 43.92 kB / 443.3 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.005136, allocations: 51.77 kB / 443.3 MB, free: 500 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.005186, allocations: 51.84 kB / 443.4 MB, free: 448 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.005382, allocations: 203.3 kB / 443.6 MB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.005383, allocations: 0 / 443.6 MB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.005385, allocations: 3.938 kB / 443.6 MB, free: 240 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.005388, allocations: 0 / 443.6 MB, free: 240 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.1747/0.1801, allocations: 0.5081 MB / 444.1 MB, free: 46.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1801, allocations: 12.28 kB / 444.1 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.1801, allocations: 39.73 kB / 444.1 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1802, allocations: 17.03 kB / 444.2 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1803, allocations: 182.3 kB / 444.3 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.1803, allocations: 3.875 kB / 444.3 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1804, allocations: 7.75 kB / 444.3 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.1806, allocations: 151.7 kB / 444.5 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1807, allocations: 0 / 444.5 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1807, allocations: 3.641 kB / 444.5 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1807, allocations: 3.938 kB / 444.5 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.181, allocations: 171.1 kB / 444.7 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.1815, allocations: 376.1 kB / 445 MB, free: 46.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.1818, allocations: 190.3 kB / 445.2 MB, free: 46.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.182, allocations: 100.8 kB / 445.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.182, allocations: 2.938 kB / 445.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.1824, allocations: 170.3 kB / 445.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1824, allocations: 3.781 kB / 445.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001724/0.1841, allocations: 0.8407 MB / 446.3 MB, free: 45.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1841, allocations: 54.22 kB / 446.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1843, allocations: 257.5 kB / 446.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1843, allocations: 31.11 kB / 446.7 MB, free: 45.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.1844, allocations: 123.5 kB / 446.8 MB, free: 45.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1844, allocations: 43.84 kB / 446.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.1844, allocations: 37.22 kB / 446.9 MB, free: 45.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.1845, allocations: 335.4 kB / 447.2 MB, free: 45.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.1848, allocations: 231.7 kB / 447.4 MB, free: 45.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.1851, allocations: 233.8 kB / 447.7 MB, free: 44.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.1857, allocations: 372 kB / 448 MB, free: 44.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1857, allocations: 0 / 448 MB, free: 44.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006943/0.1864, allocations: 0.5251 MB / 448.5 MB, free: 44.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.1864, allocations: 60.84 kB / 448.6 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1864, allocations: 0 / 448.6 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1865, allocations: 9.016 kB / 448.6 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1867, allocations: 69.52 kB / 448.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1867, allocations: 0 / 448.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.1869, allocations: 66.53 kB / 448.7 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1869, allocations: 6.781 kB / 448.7 MB, free: 44.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.682e-05/0.187, allocations: 143.2 kB / 448.9 MB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.187, allocations: 26.86 kB / 448.9 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/0.1877, allocations: 417.9 kB / 449.3 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1877, allocations: 2.75 kB / 449.3 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1877, allocations: 0 / 449.3 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1877, allocations: 0 / 449.3 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.1885, allocations: 0.6735 MB / 450 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1885, allocations: 3.328 kB / 450 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1886, allocations: 67.33 kB / 450.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1886, allocations: 0 / 450.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1886, allocations: 2.781 kB / 450.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1886, allocations: 4 kB / 450.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1886, allocations: 0 / 450.1 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.1893, allocations: 0.4922 MB / 450.6 MB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.1893, allocations: 20.83 kB / 450.6 MB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1893, allocations: 6.906 kB / 450.6 MB, free: 43.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1895, allocations: 64.3 kB / 450.7 MB, free: 43.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/0.1896, allocations: 46.2 kB / 450.7 MB, free: 43.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1896, allocations: 10.45 kB / 450.7 MB, free: 43.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.466e-05/0.1897, allocations: 193.8 kB / 450.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1897, allocations: 0 / 450.9 MB, free: 43.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.1899, allocations: 47.53 kB / 450.9 MB, free: 43.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * 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.001506/0.1914, allocations: 1.348 MB / 452.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007352/0.1921, allocations: 0.5202 MB / 452.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1921, allocations: 0 / 452.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.1925, allocations: 186.5 kB / 453 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1927, allocations: 47.08 kB / 453 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.1956, allocations: 3.134 MB / 456.2 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.775e-05/0.1956, allocations: 126.2 kB / 456.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.3e-05/0.1957, allocations: 34.34 kB / 456.3 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.1958, allocations: 56.83 kB / 456.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1958, allocations: 0 / 456.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.213, allocations: 6.883 MB / 463.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/6.875, allocations: 6.375 kB / 463.3 MB, free: 38.82 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.794438779354095] Failed to read output from testmodel.py, exit status != 0: 6.972321781329811 6.980693026 6.973879246 Calling exit ...