Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002691/0.002691, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1922/0.1922, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 79.12 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003282/0.1232, allocations: 1.856 MB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.125, allocations: 1.017 MB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.1252, allocations: 0 / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1255, allocations: 63.66 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.126, allocations: 111.5 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.1265, allocations: 167.5 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.1268, allocations: 203.4 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1269, allocations: 21.55 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1271, allocations: 83.73 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1273, allocations: 107.6 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.1273, allocations: 12 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1275, allocations: 39.98 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.1276, allocations: 43.83 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.665e-05/0.1277, allocations: 67.59 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.128, allocations: 191.7 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1281, allocations: 0 / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1281, allocations: 4 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1281, allocations: 0 / 484.1 MB, free: 1.184 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.001267/0.1293, allocations: 0.5876 MB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1294, allocations: 8.031 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.1294, allocations: 38.75 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.1295, allocations: 16.75 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1298, allocations: 236.9 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1298, allocations: 8.375 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1299, allocations: 11.94 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.1304, allocations: 141.5 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1304, allocations: 7.922 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1304, allocations: 4 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1304, allocations: 0 / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000718/0.1312, allocations: 159.8 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.1317, allocations: 364.7 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/0.1324, allocations: 194.4 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.1328, allocations: 96.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1328, allocations: 7.938 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/0.1334, allocations: 171.1 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1334, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003565/0.137, allocations: 0.816 MB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.137, allocations: 59.5 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.1373, allocations: 256.2 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1373, allocations: 25.7 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.1374, allocations: 132.1 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.1375, allocations: 39.45 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.1375, allocations: 29.72 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1377, allocations: 330.8 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007104/0.1384, allocations: 167.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.1391, allocations: 175.8 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.1403, allocations: 359.9 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1403, allocations: 0 / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001456/0.1418, allocations: 462.4 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.1419, allocations: 63.41 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1419, allocations: 0 / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1419, allocations: 0 / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.1423, allocations: 71.84 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1423, allocations: 0 / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.1427, allocations: 67.89 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.1427, allocations: 8 kB / 489.1 MB, free: 11.86 MB / 366.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.0001247/0.1428, allocations: 141.8 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.1429, allocations: 19.72 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.1443, allocations: 406.8 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1443, allocations: 4.5 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1443, allocations: 0 / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1444, allocations: 0 / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.146, allocations: 0.709 MB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.146, allocations: 0 / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.1464, allocations: 75.84 kB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1464, allocations: 3.938 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1464, allocations: 3.938 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1464, allocations: 0 / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1464, allocations: 0 / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.1478, allocations: 486.9 kB / 491 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1479, allocations: 96.84 kB / 491.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.1479, allocations: 8 kB / 491.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.1483, allocations: 63.91 kB / 491.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.1485, allocations: 43.94 kB / 491.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1485, allocations: 8 kB / 491.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1486, allocations: 189.8 kB / 491.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1487, allocations: 0 / 491.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1489, allocations: 43.91 kB / 491.4 MB, free: 9.484 MB / 366.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.00244/0.1514, allocations: 1.307 MB / 492.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.1529, allocations: 474.3 kB / 493.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1529, allocations: 0 / 493.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006951/0.1536, allocations: 183.8 kB / 493.4 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.154, allocations: 41.97 kB / 493.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.1596, allocations: 2.808 MB / 496.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1599, allocations: 0.7319 MB / 496.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.16, allocations: 25.41 kB / 497 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.1602, allocations: 59.34 kB / 497 MB, free: 3.844 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1602, allocations: 0 / 497 MB, free: 3.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.947/2.107, allocations: 5.661 MB / 0.4909 GB, free: 14.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/13.72, allocations: 17 kB / 0.4909 GB, free: 14.23 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)