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.001058/0.001058, allocations: 96.78 kB / 17 MB, free: 6.418 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.001276/0.001276, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.439/1.439, allocations: 223.2 MB / 241.9 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002154/0.1398, allocations: 1.501 MB / 473.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.141, allocations: 0.788 MB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.1411, allocations: 0 / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.1413, allocations: 55.88 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.1415, allocations: 63.66 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1418, allocations: 142.5 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.142, allocations: 155.5 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1422, allocations: 25.05 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1423, allocations: 67.75 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1424, allocations: 87.64 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1424, allocations: 8 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.1425, allocations: 27.98 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.1426, allocations: 39.84 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.1426, allocations: 45.64 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1428, allocations: 135.9 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1428, allocations: 0 / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1428, allocations: 0 / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1428, allocations: 0 / 474.8 MB, free: 10.48 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.001028/0.1439, allocations: 0.5682 MB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1439, allocations: 8.031 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.144, allocations: 38.56 kB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.144, allocations: 23.78 kB / 475.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1443, allocations: 223.8 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.1443, allocations: 0 / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.1444, allocations: 15.86 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.1448, allocations: 161.5 kB / 475.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1449, allocations: 4 kB / 475.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1449, allocations: 3.984 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1449, allocations: 0 / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006897/0.1456, allocations: 215.8 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.1461, allocations: 372.6 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007342/0.1469, allocations: 242.4 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.1472, allocations: 112.8 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1473, allocations: 0 / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005187/0.1478, allocations: 195.2 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1478, allocations: 0 / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003531/0.1514, allocations: 1.051 MB / 478 MB, free: 7.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.1514, allocations: 59.39 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.1517, allocations: 243.2 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.1517, allocations: 33.7 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.1518, allocations: 120 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.1519, allocations: 43.62 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.1519, allocations: 4 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.152, allocations: 330.8 kB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.1527, allocations: 215.8 kB / 479 MB, free: 6.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.1533, allocations: 219.8 kB / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.154, allocations: 257.6 kB / 479.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.154, allocations: 0 / 479.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001433/0.1555, allocations: 0.5434 MB / 480 MB, free: 4.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-05/0.1555, allocations: 59.41 kB / 480.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1555, allocations: 0 / 480.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1556, allocations: 4 kB / 480.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.156, allocations: 99.83 kB / 480.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.156, allocations: 0 / 480.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.1564, allocations: 95.91 kB / 480.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1564, allocations: 8 kB / 480.3 MB, free: 4.699 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 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.1566, allocations: 138.2 kB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1566, allocations: 19.72 kB / 480.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.1581, allocations: 0.4948 MB / 480.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1581, allocations: 112 / 480.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1581, allocations: 7.938 kB / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1581, allocations: 0 / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1599, allocations: 0.8019 MB / 481.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1599, allocations: 0 / 481.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.1602, allocations: 91.84 kB / 481.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1603, allocations: 0 / 481.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1603, allocations: 8.562 kB / 481.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1603, allocations: 0 / 481.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1603, allocations: 7.984 kB / 481.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1617, allocations: 0.5576 MB / 482.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.1618, allocations: 100.8 kB / 482.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.1618, allocations: 7.984 kB / 482.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.1622, allocations: 91.84 kB / 482.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.1624, allocations: 51.91 kB / 482.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1624, allocations: 8 kB / 482.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1626, allocations: 180.6 kB / 482.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1626, allocations: 4 kB / 482.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.1629, allocations: 40 kB / 482.9 MB, free: 2.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002651/0.1655, allocations: 1.416 MB / 484.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.167, allocations: 0.5531 MB / 484.8 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.167, allocations: 0 / 484.8 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.1678, allocations: 231.8 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.1682, allocations: 35.86 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.1723, allocations: 1.654 MB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1727, allocations: 0.7243 MB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.1729, allocations: 25.41 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.173, allocations: 55.41 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.173, allocations: 0 / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.1911, allocations: 4.808 MB / 492.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.1914, allocations: 216.6 kB / 492.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.287, allocations: 4.062 kB / 492.6 MB, free: 8.426 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/linux/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)