Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0008322/0.0008322, allocations: 79.7 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.0008408/0.0008408, allocations: 174 kB / 23.95 MB, free: 0.6094 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.8826/0.8826, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2523/0.2523, allocations: 32.78 MB / 293.5 MB, free: 1.219 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.564e-05, allocations: 8.188 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002805/0.002831, allocations: 1.814 MB / 441.4 MB, free: 2.391 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.004039, allocations: 0.9699 MB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.004114, allocations: 3.938 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.00435, allocations: 63.66 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.004725, allocations: 119.3 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.00513, allocations: 166.6 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.005405, allocations: 203.3 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.005526, allocations: 13.81 kB / 442.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.005704, allocations: 111.7 kB / 443.1 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.005828, allocations: 79.83 kB / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.005852, allocations: 16 kB / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/0.005944, allocations: 55.86 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.006025, allocations: 43.88 kB / 443.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.006082, allocations: 43.84 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.006323, allocations: 199.4 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.006327, allocations: 7.984 kB / 443.5 MB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006328, allocations: 3.938 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.006333, allocations: 0 / 443.5 MB, free: 316 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.1824/0.1887, allocations: 0.5105 MB / 444 MB, free: 46.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1888, allocations: 8.188 kB / 444 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.1888, allocations: 39.06 kB / 444.1 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.1889, allocations: 16.81 kB / 444.1 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.189, allocations: 178.1 kB / 444.2 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1891, allocations: 4.375 kB / 444.2 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1891, allocations: 7.125 kB / 444.3 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.1894, allocations: 145.6 kB / 444.4 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1894, allocations: 0 / 444.4 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1894, allocations: 1.312 kB / 444.4 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1894, allocations: 6.5 kB / 444.4 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.1898, allocations: 164.2 kB / 444.6 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.1902, allocations: 309.1 kB / 444.9 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.1906, allocations: 194.6 kB / 445.1 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1907, allocations: 92 kB / 445.1 MB, free: 46.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1908, allocations: 6.844 kB / 445.2 MB, free: 46.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.1911, allocations: 163.4 kB / 445.3 MB, free: 46.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.1911, allocations: 1.594 kB / 445.3 MB, free: 46.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001756/0.1929, allocations: 0.8212 MB / 446.1 MB, free: 46.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1929, allocations: 54.47 kB / 446.2 MB, free: 45.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1931, allocations: 253.6 kB / 446.4 MB, free: 45.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1931, allocations: 31.8 kB / 446.5 MB, free: 45.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.1931, allocations: 124.5 kB / 446.6 MB, free: 45.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1931, allocations: 42.58 kB / 446.6 MB, free: 45.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.1932, allocations: 35.17 kB / 446.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.1932, allocations: 340.8 kB / 447 MB, free: 45.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.1936, allocations: 222.5 kB / 447.2 MB, free: 45.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.1939, allocations: 226.8 kB / 447.4 MB, free: 45.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.1945, allocations: 368.1 kB / 447.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1945, allocations: 2.625 kB / 447.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007005/0.1952, allocations: 0.5044 MB / 448.3 MB, free: 44.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.1952, allocations: 63.31 kB / 448.4 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1952, allocations: 3.188 kB / 448.4 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1952, allocations: 1.5 kB / 448.4 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.1954, allocations: 77.77 kB / 448.4 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1954, allocations: 2.594 kB / 448.4 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.1956, allocations: 60.88 kB / 448.5 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1956, allocations: 9.016 kB / 448.5 MB, free: 44.7 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 7.621e-05/0.1957, allocations: 132.7 kB / 448.6 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1957, allocations: 25.83 kB / 448.7 MB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.1964, allocations: 414 kB / 449.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1964, allocations: 0 / 449.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1964, allocations: 2.969 kB / 449.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1964, allocations: 3.328 kB / 449.1 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008216/0.1973, allocations: 0.6442 MB / 449.7 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.1973, allocations: 0 / 449.7 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.1974, allocations: 74.39 kB / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1974, allocations: 2.844 kB / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1974, allocations: 0 / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1974, allocations: 4 kB / 449.8 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1974, allocations: 6.047 kB / 449.8 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.1981, allocations: 482.5 kB / 450.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.1981, allocations: 20.86 kB / 450.3 MB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1982, allocations: 6.844 kB / 450.3 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1983, allocations: 64.66 kB / 450.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1984, allocations: 52.36 kB / 450.4 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1985, allocations: 6.844 kB / 450.4 MB, free: 43.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.271e-05/0.1985, allocations: 191 kB / 450.6 MB, free: 43.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1985, allocations: 0 / 450.6 MB, free: 43.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.1988, allocations: 44.7 kB / 450.7 MB, free: 43.76 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.001464/0.2002, allocations: 1.342 MB / 452 MB, free: 42.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007816/0.201, allocations: 0.5081 MB / 452.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.201, allocations: 0 / 452.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.2013, allocations: 176.7 kB / 452.7 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.2016, allocations: 42.8 kB / 452.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.2045, allocations: 3.068 MB / 455.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.719e-05/0.2046, allocations: 120 kB / 455.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.182e-05/0.2047, allocations: 24.27 kB / 455.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.332e-05/0.2048, allocations: 60.97 kB / 456 MB, free: 40.63 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2048, allocations: 0 / 456 MB, free: 40.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.2224, allocations: 6.803 MB / 462.8 MB, free: 39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.847, allocations: 3.156 kB / 462.8 MB, free: 39 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.72954162582755] Failed to read output from testmodel.py, exit status != 0: 6.947414922527969 6.953944951 6.946203286 Calling exit ...