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.001326/0.001326, allocations: 98.12 kB / 16.99 MB, free: 5.941 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.001535/0.001535, allocations: 179.4 kB / 17.88 MB, free: 5.613 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.403/1.403, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2018/0.2018, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 16 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002416/0.1269, allocations: 1.478 MB / 473 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1282, allocations: 0.7725 MB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.1283, allocations: 0 / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1286, allocations: 55.86 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1288, allocations: 75.69 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.1292, allocations: 142.8 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1294, allocations: 107.8 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.1295, allocations: 21.06 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1296, allocations: 71.73 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1298, allocations: 83.7 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1298, allocations: 4 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.1299, allocations: 31.94 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.13, allocations: 35.88 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.13, allocations: 49.58 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1302, allocations: 127.9 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1302, allocations: 0 / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1302, allocations: 0 / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1302, allocations: 0 / 474.6 MB, free: 10.56 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.001059/0.1313, allocations: 0.5643 MB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1313, allocations: 12.03 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.1314, allocations: 38.55 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.1314, allocations: 15.81 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.1317, allocations: 215.8 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1317, allocations: 11.92 kB / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1317, allocations: 15.86 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.1322, allocations: 169.5 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1323, allocations: 0 / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1323, allocations: 4 kB / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1323, allocations: 4 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007437/0.133, allocations: 207.8 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.1335, allocations: 372.6 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.1343, allocations: 238.4 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1344, allocations: 4 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005709/0.1349, allocations: 187.2 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.1349, allocations: 3.938 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003802/0.1388, allocations: 1.047 MB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1388, allocations: 59.39 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1391, allocations: 247.2 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1391, allocations: 29.7 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.1392, allocations: 120.6 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.1392, allocations: 43.69 kB / 478.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.1393, allocations: 0 / 478.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1394, allocations: 330.8 kB / 478.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.1402, allocations: 215.8 kB / 478.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.1409, allocations: 225.4 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/0.1416, allocations: 263.2 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1416, allocations: 0 / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001535/0.1432, allocations: 0.5433 MB / 479.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/0.1432, allocations: 65.55 kB / 479.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1433, allocations: 3.938 kB / 479.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1433, allocations: 0 / 479.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.1437, allocations: 95.89 kB / 479.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1437, allocations: 0 / 479.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.1441, allocations: 91.91 kB / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.1442, allocations: 4 kB / 480 MB, free: 4.914 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.0001451/0.1443, allocations: 146.2 kB / 480.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1444, allocations: 23.72 kB / 480.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.1459, allocations: 498.8 kB / 480.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.146, allocations: 4 kB / 480.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.146, allocations: 0 / 480.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.146, allocations: 4 kB / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.1478, allocations: 0.8027 MB / 481.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1478, allocations: 0 / 481.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.1482, allocations: 91.91 kB / 481.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1482, allocations: 4 kB / 481.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1482, allocations: 4 kB / 481.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1482, allocations: 0 / 481.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1482, allocations: 0 / 481.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.1497, allocations: 0.5679 MB / 482.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.1498, allocations: 104.8 kB / 482.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.1499, allocations: 0 / 482.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.1503, allocations: 87.91 kB / 482.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.1505, allocations: 55.91 kB / 482.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1505, allocations: 4 kB / 482.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.1507, allocations: 180.6 kB / 482.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1507, allocations: 0 / 482.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.151, allocations: 48 kB / 482.6 MB, free: 2.215 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.002621/0.1536, allocations: 1.415 MB / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.1552, allocations: 0.5599 MB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1552, allocations: 0 / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.156, allocations: 239.5 kB / 484.8 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.1563, allocations: 22.17 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.1601, allocations: 1.647 MB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1604, allocations: 0.7282 MB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1605, allocations: 25.34 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1607, allocations: 59.34 kB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1607, allocations: 0 / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.1761, allocations: 4.777 MB / 492 MB, free: 8.906 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.1763, allocations: 211.8 kB / 492.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.035, allocations: 0 / 492.2 MB, free: 8.664 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)