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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.06 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1475, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004649/0.1522, allocations: 1.871 MB / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.154, allocations: 0.8419 MB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1541, allocations: 4 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1545, allocations: 63.78 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1548, allocations: 63.69 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.1555, allocations: 146.6 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.1559, allocations: 195.4 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.156, allocations: 21.08 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.1563, allocations: 79.73 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1564, allocations: 107.6 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.1565, allocations: 12 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1566, allocations: 43.98 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1568, allocations: 31.91 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1569, allocations: 71.58 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.1572, allocations: 187.7 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1572, allocations: 3.984 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1573, allocations: 0 / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1573, allocations: 0 / 472.5 MB, free: 10.91 MB / 350.1 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.001437/0.1587, allocations: 0.5643 MB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.951e-05/0.1588, allocations: 15.97 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.101e-05/0.1589, allocations: 38.73 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.159, allocations: 16.75 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.1594, allocations: 232.9 kB / 473.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1594, allocations: 8.375 kB / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.1595, allocations: 15.86 kB / 473.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.16, allocations: 141.4 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1601, allocations: 8 kB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.1601, allocations: 3.984 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.1601, allocations: 3.984 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.1608, allocations: 159.8 kB / 473.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.1614, allocations: 364.6 kB / 474.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.1622, allocations: 202.3 kB / 474.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.1626, allocations: 92.75 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.1626, allocations: 4 kB / 474.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006467/0.1633, allocations: 163.2 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.454e-06/0.1633, allocations: 0 / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003724/0.167, allocations: 0.8204 MB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.1671, allocations: 59.34 kB / 475.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1674, allocations: 243.1 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.1675, allocations: 29.7 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.1676, allocations: 124.1 kB / 475.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.1676, allocations: 35.45 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1677, allocations: 37.7 kB / 475.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1679, allocations: 326.8 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006801/0.1686, allocations: 168.5 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.1693, allocations: 174.2 kB / 476.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.1705, allocations: 363.9 kB / 476.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1706, allocations: 0 / 476.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001465/0.172, allocations: 466 kB / 477.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.1721, allocations: 59.41 kB / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1721, allocations: 7.938 kB / 477.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1721, allocations: 0 / 477.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.1726, allocations: 75.84 kB / 477.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1726, allocations: 0 / 477.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.173, allocations: 63.91 kB / 477.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.173, allocations: 11.98 kB / 477.6 MB, free: 5.602 MB / 350.1 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 0.000144/0.1732, allocations: 129.8 kB / 477.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.1732, allocations: 19.81 kB / 477.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.1748, allocations: 398.8 kB / 478.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1748, allocations: 7.938 kB / 478.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1748, allocations: 0 / 478.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1748, allocations: 3.984 kB / 478.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.1767, allocations: 0.7012 MB / 478.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1767, allocations: 4 kB / 478.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.1771, allocations: 71.84 kB / 478.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1771, allocations: 0 / 478.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.1771, allocations: 4 kB / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1771, allocations: 0 / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1772, allocations: 0 / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.1786, allocations: 487.3 kB / 479.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.167e-05/0.1787, allocations: 92.86 kB / 479.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.1787, allocations: 11.98 kB / 479.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.1792, allocations: 59.91 kB / 479.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.1794, allocations: 51.94 kB / 479.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1794, allocations: 4 kB / 479.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1796, allocations: 176.7 kB / 479.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1796, allocations: 0 / 479.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.1799, allocations: 40 kB / 479.8 MB, free: 3.27 MB / 350.1 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.002855/0.1828, allocations: 1.312 MB / 481.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.1844, allocations: 478.3 kB / 481.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1844, allocations: 4 kB / 481.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.1851, allocations: 179.8 kB / 481.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1855, allocations: 31.84 kB / 481.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/0.1916, allocations: 2.837 MB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.192, allocations: 0.7201 MB / 485.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.1921, allocations: 21.41 kB / 485.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.1923, allocations: 55.42 kB / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1923, allocations: 3.938 kB / 485.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.2239, allocations: 5.204 MB / 490.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.2242, allocations: 235.4 kB / 490.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.21, allocations: 0 / 490.9 MB, free: 8.281 MB / 366.1 MB (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 --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)