Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.000902/0.000902, allocations: 96.08 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001098, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 63.55 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002763/0.1238, allocations: 1.564 MB / 484.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1257, allocations: 1.017 MB / 485.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1258, allocations: 4 kB / 485.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1261, allocations: 63.78 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.1265, allocations: 99.58 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.1271, allocations: 183.3 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.1275, allocations: 191.4 kB / 486.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1277, allocations: 21.55 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.1279, allocations: 71.69 kB / 486.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1281, allocations: 107.6 kB / 486.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.1281, allocations: 11.94 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1283, allocations: 32 kB / 486.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.1284, allocations: 35.88 kB / 486.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1285, allocations: 93.23 kB / 486.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.1288, allocations: 187.6 kB / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1288, allocations: 0 / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1288, allocations: 0 / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1288, allocations: 0 / 486.8 MB, free: 404 kB / 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.001108/0.1299, allocations: 0.5839 MB / 487.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.13, allocations: 8.875 kB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.1301, allocations: 34.75 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.1301, allocations: 16.75 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1304, allocations: 236.9 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1304, allocations: 8.375 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.1305, allocations: 7.938 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.131, allocations: 177.5 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.131, allocations: 4 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1311, allocations: 3.938 kB / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1311, allocations: 0 / 487.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007888/0.1319, allocations: 215.8 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.1327, allocations: 460.5 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.1336, allocations: 250.4 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.134, allocations: 120.7 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1341, allocations: 0 / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005798/0.1347, allocations: 199.2 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/0.1347, allocations: 0 / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004136/0.1388, allocations: 1.085 MB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1389, allocations: 59.34 kB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1391, allocations: 257 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.1392, allocations: 29.7 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.1393, allocations: 124 kB / 490.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.1393, allocations: 43.69 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.1394, allocations: 21.7 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1395, allocations: 331.4 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/0.1403, allocations: 223.8 kB / 491.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/0.1411, allocations: 226.1 kB / 491.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.1426, allocations: 483.7 kB / 492 MB, free: 11.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1426, allocations: 0 / 492 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00169/0.1443, allocations: 0.5653 MB / 492.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.1444, allocations: 63.44 kB / 492.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1444, allocations: 3.938 kB / 492.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1444, allocations: 4 kB / 492.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.1449, allocations: 95.84 kB / 492.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1449, allocations: 0 / 492.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.1454, allocations: 91.91 kB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1454, allocations: 4 kB / 492.8 MB, free: 10.16 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.0001409/0.1455, allocations: 145.8 kB / 492.9 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.1456, allocations: 15.81 kB / 492.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.1473, allocations: 0.5108 MB / 493.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1473, allocations: 3.938 kB / 493.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1473, allocations: 3.984 kB / 493.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1473, allocations: 0 / 493.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.1493, allocations: 0.8183 MB / 494.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1493, allocations: 0 / 494.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.1497, allocations: 99.84 kB / 494.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1497, allocations: 7.969 kB / 494.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1497, allocations: 0 / 494.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1497, allocations: 4 kB / 494.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1498, allocations: 0 / 494.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.1514, allocations: 0.5809 MB / 495 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.1515, allocations: 100.8 kB / 495.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.1516, allocations: 4 kB / 495.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.152, allocations: 91.89 kB / 495.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.1522, allocations: 43.94 kB / 495.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1522, allocations: 4 kB / 495.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1524, allocations: 188.5 kB / 495.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1524, allocations: 4 kB / 495.4 MB, free: 7.434 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.1527, allocations: 44 kB / 495.4 MB, free: 7.391 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.002714/0.1555, allocations: 1.42 MB / 496.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.1572, allocations: 0.5648 MB / 497.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1572, allocations: 0 / 497.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000801/0.158, allocations: 239.7 kB / 497.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1584, allocations: 36.58 kB / 497.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/0.1648, allocations: 3.165 MB / 0.4891 GB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1651, allocations: 0.7322 MB / 0.4898 GB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.1653, allocations: 25.42 kB / 0.4899 GB, free: 1.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1654, allocations: 55.41 kB / 0.4899 GB, free: 1.129 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1655, allocations: 0 / 0.4899 GB, free: 1.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.1816, allocations: 4.973 MB / 0.4948 GB, free: 12.28 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.1819, allocations: 240.2 kB / 0.495 GB, free: 12.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.193, allocations: 4.062 kB / 0.495 GB, free: 12.02 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)