Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",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.001009/0.001009, allocations: 95.86 kB / 17 MB, free: 6.383 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.001131/0.001131, allocations: 181 kB / 17.88 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.405/1.405, allocations: 223.3 MB / 241.9 MB, free: 352 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.228/0.228, allocations: 44.23 MB / 337.2 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004868, allocations: 12 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.168, allocations: 61.92 MB / 471.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002171/0.1702, allocations: 1.325 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.171, allocations: 0.6331 MB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.1711, allocations: 0 / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.1713, allocations: 27.92 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1715, allocations: 31.89 kB / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.1715, allocations: 0 / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.1716, allocations: 43.83 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.1717, allocations: 4 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.1717, allocations: 11.92 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.1718, allocations: 23.92 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1718, allocations: 0 / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.1719, allocations: 11.94 kB / 473.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.1719, allocations: 19.98 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.1719, allocations: 33.64 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1721, allocations: 56.12 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1721, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1721, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1721, allocations: 0 / 473.9 MB, free: 11.42 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003494/0.1724, allocations: 343.3 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1725, allocations: 12.03 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.1725, allocations: 42.55 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.1726, allocations: 7.906 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1727, allocations: 174.9 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1727, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1727, allocations: 11.94 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1729, allocations: 129 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.173, allocations: 0 / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.173, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/0.173, allocations: 23.98 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.1731, allocations: 43.91 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.1737, allocations: 0.8945 MB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1739, allocations: 173.2 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.1739, allocations: 80.14 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1739, allocations: 75.28 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.174, allocations: 109.8 kB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.174, allocations: 0 / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.625e-05/0.1741, allocations: 37.55 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.1741, allocations: 130.7 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1744, allocations: 182.1 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1744, allocations: 25.7 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.1745, allocations: 151.1 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-06/0.1745, allocations: 7.938 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.1745, allocations: 8 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1747, allocations: 322.8 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/0.1747, allocations: 31.94 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1748, allocations: 149.2 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.859e-05/0.1749, allocations: 67.91 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1749, allocations: 0 / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003598/0.1753, allocations: 197.7 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.1753, allocations: 8 kB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1754, allocations: 12.02 kB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1754, allocations: 4 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1755, allocations: 39.92 kB / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.1755, allocations: 4 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.1756, allocations: 27.73 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1757, allocations: 12 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001358/0.1758, allocations: 213.5 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.1759, allocations: 112.8 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.1759, allocations: 120.8 kB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.45e-05/0.176, allocations: 184.2 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.794e-05/0.1761, allocations: 176.3 kB / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.309e-05/0.1762, allocations: 176.3 kB / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.1764, allocations: 433.1 kB / 478.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.156e-05/0.1765, allocations: 109 kB / 478.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.1765, allocations: 104.9 kB / 478.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.468e-05/0.1766, allocations: 184.3 kB / 479.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.1766, allocations: 180.2 kB / 479.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.906e-05/0.1767, allocations: 180.2 kB / 479.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.549e-05/0.1768, allocations: 176.3 kB / 479.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.177, allocations: 323.5 kB / 480 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.1771, allocations: 197.9 kB / 480.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.1771, allocations: 176.3 kB / 480.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.1772, allocations: 105 kB / 480.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1774, allocations: 188.2 kB / 480.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.1774, allocations: 105 kB / 480.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.1775, allocations: 128.1 kB / 480.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1775, allocations: 3.938 kB / 480.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.1778, allocations: 16 kB / 480.9 MB, free: 3.867 MB / 350.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 (0): * Single equations (assignments): 0 * 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.000918/0.1787, allocations: 0.9211 MB / 481.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.1789, allocations: 72.97 kB / 481.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1789, allocations: 4 kB / 481.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.1789, allocations: 0 / 481.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1793, allocations: 0.5264 MB / 482.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1804, allocations: 0.7684 MB / 483.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1807, allocations: 0.697 MB / 483.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.1809, allocations: 49.02 kB / 483.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/0.181, allocations: 31.42 kB / 483.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.181, allocations: 0 / 483.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.1948, allocations: 1.903 MB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.1951, allocations: 219.4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.1, allocations: 0 / 486 MB, free: 14.66 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat does not exist to compare? outputFormat=mat