Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008627/0.0008627, allocations: 97.91 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 194.1 kB / 17.9 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 45.9 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 63.45 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002342/0.1525, allocations: 1.373 MB / 483 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.1535, allocations: 0.4992 MB / 483.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.1536, allocations: 0 / 483.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006574/0.1542, allocations: 443.2 kB / 483.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.1547, allocations: 271.5 kB / 484.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.1551, allocations: 123.3 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.1554, allocations: 131.7 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1555, allocations: 23.91 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1557, allocations: 99.8 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1559, allocations: 167.7 kB / 484.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1559, allocations: 0 / 484.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.156, allocations: 51.91 kB / 484.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.882e-05/0.1561, allocations: 79.75 kB / 484.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.1562, allocations: 69.45 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1564, allocations: 199.9 kB / 485.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1564, allocations: 4 kB / 485.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1564, allocations: 0 / 485.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1564, allocations: 0 / 485.1 MB, free: 1.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000666/0.1571, allocations: 0.6027 MB / 485.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1572, allocations: 11.97 kB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.1572, allocations: 30.56 kB / 485.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.1573, allocations: 47.42 kB / 485.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1575, allocations: 295.2 kB / 486.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1575, allocations: 4 kB / 486.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1576, allocations: 4 kB / 486.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1577, allocations: 61.61 kB / 486.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1577, allocations: 0 / 486.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1578, allocations: 4 kB / 486.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1578, allocations: 7.984 kB / 486.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.1579, allocations: 31.92 kB / 486.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.1583, allocations: 396.7 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1584, allocations: 54.58 kB / 486.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.1585, allocations: 16.86 kB / 486.7 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1585, allocations: 0 / 486.7 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.1586, allocations: 38.56 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1586, allocations: 0 / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008916/0.1595, allocations: 335.8 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1595, allocations: 51.41 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.1604, allocations: 0.8777 MB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1604, allocations: 29.7 kB / 488 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1606, allocations: 228 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1606, allocations: 27.62 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.1606, allocations: 4 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1608, allocations: 362.8 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.1609, allocations: 27.98 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.1609, allocations: 31.98 kB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/0.161, allocations: 35.92 kB / 488.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.161, allocations: 0 / 488.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002184/0.1613, allocations: 137.1 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1613, allocations: 7.953 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1613, allocations: 0 / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1613, allocations: 0 / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.1614, allocations: 19.98 kB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1614, allocations: 0 / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.1615, allocations: 15.98 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1615, allocations: 7.938 kB / 488.9 MB, free: 13.75 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 (8): * Single equations (assignments): 8 * 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.000183/0.1617, allocations: 213.7 kB / 489.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.1618, allocations: 43.44 kB / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.1621, allocations: 173.8 kB / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1621, allocations: 0 / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1621, allocations: 0 / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1621, allocations: 0 / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.1627, allocations: 0.5226 MB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1627, allocations: 0 / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.1628, allocations: 19.94 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1628, allocations: 3.938 kB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1628, allocations: 7.984 kB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1628, allocations: 4 kB / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1628, allocations: 0 / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1631, allocations: 247.8 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.1632, allocations: 116.5 kB / 490.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1632, allocations: 8 kB / 490.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.1633, allocations: 7.984 kB / 490.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.1633, allocations: 8.422 kB / 490.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.1633, allocations: 0 / 490.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006184/0.164, allocations: 0.6628 MB / 490.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.164, allocations: 4 kB / 490.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1643, allocations: 24 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00143/0.1657, allocations: 1.125 MB / 492.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1659, allocations: 71.91 kB / 492.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1659, allocations: 0 / 492.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.166, allocations: 44.03 kB / 492.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1664, allocations: 22.31 kB / 492.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.1693, allocations: 2.402 MB / 494.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1697, allocations: 0.8262 MB / 495.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.1697, allocations: 28.7 kB / 495.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.1699, allocations: 107.4 kB / 495.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1699, allocations: 0 / 495.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1861, allocations: 5.76 MB / 0.4896 GB, free: 1.359 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.1863, allocations: 226 kB / 0.4898 GB, free: 1.113 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.065, allocations: 0 / 0.4898 GB, free: 1.113 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat does not exist to compare? outputFormat=mat