Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.0008169/0.000817, allocations: 96.3 kB / 17 MB, free: 6.477 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.0007869/0.0007869, allocations: 181.7 kB / 17.89 MB, free: 5.922 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.41/1.41, allocations: 223.2 MB / 241.9 MB, free: 312 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.2056/0.2056, allocations: 44.23 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004473, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1464, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00187/0.1483, allocations: 1.33 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.149, allocations: 395.5 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.1491, allocations: 0 / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.1497, allocations: 443.2 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.15, allocations: 239.5 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1503, allocations: 110.7 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.1506, allocations: 135.6 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.1506, allocations: 19.98 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1508, allocations: 107.7 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.151, allocations: 171.7 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.151, allocations: 0 / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1511, allocations: 43.92 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.1512, allocations: 83.73 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.1513, allocations: 73.45 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1515, allocations: 196 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1515, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1515, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1515, allocations: 0 / 475 MB, free: 10.29 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.0006894/0.1522, allocations: 0.5988 MB / 475.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1523, allocations: 12.03 kB / 475.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.1523, allocations: 38.56 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1524, allocations: 43.44 kB / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1526, allocations: 275.3 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1527, allocations: 8 kB / 475.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1527, allocations: 11.89 kB / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1529, allocations: 65.61 kB / 476 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1529, allocations: 0 / 476 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1529, allocations: 0 / 476 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1529, allocations: 4 kB / 476 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.1532, allocations: 47.97 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.1539, allocations: 408.5 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.1542, allocations: 62.55 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1543, allocations: 28.97 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1544, allocations: 4 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1544, allocations: 38.59 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.1544, allocations: 0 / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002174/0.1566, allocations: 0.5309 MB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1567, allocations: 51.41 kB / 477.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.158, allocations: 0.869 MB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.158, allocations: 25.7 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.1583, allocations: 212.1 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.1583, allocations: 35.45 kB / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.1584, allocations: 0 / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.1586, allocations: 366.8 kB / 478.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1588, allocations: 47.97 kB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.159, allocations: 51.97 kB / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1592, allocations: 55.92 kB / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1592, allocations: 0 / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005013/0.1597, allocations: 193.3 kB / 479 MB, free: 6.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.1597, allocations: 8 kB / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1598, allocations: 0 / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1598, allocations: 0 / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.16, allocations: 27.98 kB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.16, allocations: 0 / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1601, allocations: 27.94 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1602, allocations: 0 / 479.1 MB, free: 5.949 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0003035/0.1605, allocations: 218.2 kB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.1606, allocations: 43.44 kB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.1612, allocations: 229.4 kB / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1613, allocations: 0 / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1613, allocations: 0 / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1613, allocations: 0 / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.1624, allocations: 0.5858 MB / 480.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1624, allocations: 4.562 kB / 480.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.1626, allocations: 27.98 kB / 480.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1626, allocations: 0 / 480.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1626, allocations: 8 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.1626, allocations: 11.89 kB / 480.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1626, allocations: 0 / 480.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.1632, allocations: 300.6 kB / 480.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1633, allocations: 116.5 kB / 480.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.1634, allocations: 4 kB / 480.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1635, allocations: 15.98 kB / 480.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.1636, allocations: 19.89 kB / 480.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1636, allocations: 3.984 kB / 480.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009524/0.1646, allocations: 0.6511 MB / 481.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1646, allocations: 0 / 481.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.1651, allocations: 35.98 kB / 481.3 MB, free: 3.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002359/0.1675, allocations: 1.181 MB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.168, allocations: 123.9 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.168, allocations: 3.938 kB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.1682, allocations: 67.84 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.1686, allocations: 37.97 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.1722, allocations: 2.471 MB / 485.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.1727, allocations: 0.8301 MB / 486 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.865e-05/0.1728, allocations: 16.53 kB / 486 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.173, allocations: 111.4 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.223e-06/0.173, allocations: 4 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.1914, allocations: 5.814 MB / 492 MB, free: 9.102 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.1917, allocations: 233.8 kB / 492.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.069, allocations: 0 / 492.2 MB, free: 8.852 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat does not exist to compare? outputFormat=mat