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.0008803/0.0008804, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.0009646/0.0009647, allocations: 181.8 kB / 18.26 MB, free: 5.52 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.311/1.311, allocations: 223.3 MB / 242.3 MB, free: 252 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.2101/0.2101, allocations: 44.25 MB / 337.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002951, allocations: 10.06 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 61.91 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002018/0.1145, allocations: 1.532 MB / 473.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1156, allocations: 0.8343 MB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.1157, allocations: 4 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1159, allocations: 55.8 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1161, allocations: 63.73 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.1165, allocations: 154.9 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1167, allocations: 175.5 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1168, allocations: 25.05 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1169, allocations: 63.75 kB / 475.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1171, allocations: 103.6 kB / 475.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1171, allocations: 12 kB / 475.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.1172, allocations: 28 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.1173, allocations: 35.89 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.1174, allocations: 93.28 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1176, allocations: 167.6 kB / 475.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1176, allocations: 4 kB / 475.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1176, allocations: 0 / 475.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1176, allocations: 0 / 475.7 MB, free: 9.922 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.0009987/0.1186, allocations: 0.5705 MB / 476.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1186, allocations: 12.03 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.1187, allocations: 38.75 kB / 476.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.1187, allocations: 16.75 kB / 476.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.119, allocations: 232.9 kB / 476.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.119, allocations: 8.312 kB / 476.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.119, allocations: 11.94 kB / 476.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.1196, allocations: 173.4 kB / 476.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1196, allocations: 4 kB / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1196, allocations: 0 / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1196, allocations: 0 / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.1204, allocations: 219.8 kB / 477 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.1208, allocations: 364.6 kB / 477.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.1216, allocations: 246.3 kB / 477.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.1221, allocations: 116.8 kB / 477.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1221, allocations: 4 kB / 477.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005342/0.1226, allocations: 183.2 kB / 477.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.1226, allocations: 0 / 477.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003849/0.1265, allocations: 1.058 MB / 478.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1265, allocations: 63.34 kB / 479 MB, free: 6.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1268, allocations: 243.2 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1268, allocations: 29.7 kB / 479.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.1269, allocations: 120.1 kB / 479.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1269, allocations: 35.45 kB / 479.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.127, allocations: 25.7 kB / 479.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.1271, allocations: 330.8 kB / 479.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.1278, allocations: 219.8 kB / 480 MB, free: 5.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.1286, allocations: 219.8 kB / 480.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.13, allocations: 464 kB / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.13, allocations: 0 / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001623/0.1316, allocations: 0.5526 MB / 481.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.1317, allocations: 59.41 kB / 481.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1317, allocations: 0 / 481.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1318, allocations: 4 kB / 481.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.1322, allocations: 99.84 kB / 481.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1322, allocations: 0 / 481.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.1327, allocations: 91.84 kB / 481.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.1327, allocations: 7.984 kB / 481.4 MB, free: 3.895 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.0001358/0.1329, allocations: 137.8 kB / 481.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.1329, allocations: 15.81 kB / 481.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.1345, allocations: 0.491 MB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1345, allocations: 3.938 kB / 482.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1345, allocations: 3.984 kB / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1345, allocations: 0 / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.1364, allocations: 0.8067 MB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1364, allocations: 0 / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.1368, allocations: 95.84 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1368, allocations: 4 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1368, allocations: 4 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1368, allocations: 0 / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1368, allocations: 0 / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.1383, allocations: 0.5653 MB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.1384, allocations: 96.86 kB / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.1385, allocations: 7.984 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.1389, allocations: 91.91 kB / 483.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.1391, allocations: 43.94 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1391, allocations: 11.98 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1393, allocations: 176.7 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1393, allocations: 0 / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1396, allocations: 40 kB / 484 MB, free: 1.211 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.002617/0.1422, allocations: 1.41 MB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.1438, allocations: 0.5531 MB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1438, allocations: 0 / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007841/0.1446, allocations: 243.7 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.145, allocations: 31.97 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/0.1512, allocations: 3.066 MB / 489.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1515, allocations: 0.732 MB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1516, allocations: 25.41 kB / 490.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1517, allocations: 51.41 kB / 490.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1517, allocations: 0 / 490.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.1678, allocations: 4.822 MB / 494.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.168, allocations: 243 kB / 495.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.081, allocations: 4 kB / 495.2 MB, free: 6.125 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)