Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009819/0.0009818, allocations: 99.06 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 190.3 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 45.92 MB / 344.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003026, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 63.48 MB / 481.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003754/0.1495, allocations: 1.688 MB / 483.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1516, allocations: 0.9279 MB / 484.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1517, allocations: 0 / 484.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.1523, allocations: 247.4 kB / 484.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.1528, allocations: 227.3 kB / 484.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.154, allocations: 444.8 kB / 485.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.1544, allocations: 267.2 kB / 485.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.1546, allocations: 56.7 kB / 485.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1548, allocations: 123.4 kB / 485.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.155, allocations: 167.3 kB / 485.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.155, allocations: 4 kB / 485.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1552, allocations: 63.97 kB / 485.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1554, allocations: 75.69 kB / 485.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.1554, allocations: 69.52 kB / 486 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1558, allocations: 247.7 kB / 486.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1558, allocations: 0 / 486.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1558, allocations: 0 / 486.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1558, allocations: 0 / 486.2 MB, free: 0.7305 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008408/0.1567, allocations: 0.6262 MB / 486.8 MB, free: 56 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1567, allocations: 16.02 kB / 486.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.1568, allocations: 38.61 kB / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.1569, allocations: 43.44 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1573, allocations: 317.1 kB / 487.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1573, allocations: 8 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.1573, allocations: 15.91 kB / 487.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.1576, allocations: 109.6 kB / 487.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1576, allocations: 0 / 487.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1576, allocations: 7.938 kB / 487.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.1577, allocations: 8 kB / 487.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1578, allocations: 71.94 kB / 487.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.1586, allocations: 0.5002 MB / 488 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1587, allocations: 94.48 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.361e-05/0.1588, allocations: 40.83 kB / 488.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1589, allocations: 3.984 kB / 488.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1589, allocations: 30.56 kB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1589, allocations: 0 / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009142/0.1598, allocations: 407.8 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1599, allocations: 63.34 kB / 488.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006288/0.1605, allocations: 0.58 MB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1605, allocations: 33.7 kB / 489.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.1607, allocations: 212.3 kB / 489.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.1608, allocations: 59.19 kB / 489.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.1608, allocations: 0 / 489.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1609, allocations: 362.7 kB / 489.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1611, allocations: 59.97 kB / 489.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.1612, allocations: 50.17 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1613, allocations: 63.83 kB / 490 MB, free: 12.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1613, allocations: 0 / 490 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003304/0.1616, allocations: 205.1 kB / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1617, allocations: 10.5 kB / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1617, allocations: 0 / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1617, allocations: 0 / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1619, allocations: 35.92 kB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1619, allocations: 3.984 kB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.162, allocations: 16 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.162, allocations: 8 kB / 490.3 MB, free: 12.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001859/0.1622, allocations: 181.8 kB / 490.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.1622, allocations: 39.44 kB / 490.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.1627, allocations: 249.7 kB / 490.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1628, allocations: 4 kB / 490.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1628, allocations: 0 / 490.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1628, allocations: 0 / 490.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/0.1636, allocations: 0.6542 MB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1636, allocations: 0 / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1637, allocations: 35.92 kB / 491.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1637, allocations: 4 kB / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1637, allocations: 7.984 kB / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1637, allocations: 0 / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1638, allocations: 7.953 kB / 491.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.1641, allocations: 305.2 kB / 491.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.1642, allocations: 124.6 kB / 491.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.1643, allocations: 4 kB / 491.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.1644, allocations: 11.98 kB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.1644, allocations: 19.98 kB / 491.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1645, allocations: 7.953 kB / 491.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004422/0.1649, allocations: 435.1 kB / 492.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1649, allocations: 0 / 492.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.1652, allocations: 55.89 kB / 492.4 MB, free: 10.23 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002299/0.1675, allocations: 1.432 MB / 493.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.1679, allocations: 147.8 kB / 493.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1679, allocations: 0 / 493.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1681, allocations: 78.41 kB / 494 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.1686, allocations: 65.86 kB / 494.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.1717, allocations: 2.112 MB / 496.2 MB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1721, allocations: 0.8184 MB / 497 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.1722, allocations: 50.25 kB / 497.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.1724, allocations: 135.4 kB / 497.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1724, allocations: 0 / 497.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.1905, allocations: 6.954 MB / 0.4923 GB, free: 14.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.1907, allocations: 222.8 kB / 0.4925 GB, free: 14.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.119, allocations: 0 / 0.4925 GB, free: 14.48 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat does not exist to compare? outputFormat=mat