Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",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.001154/0.001154, allocations: 97 kB / 17 MB, free: 6.039 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.001405/0.001405, allocations: 182.1 kB / 17.89 MB, free: 5.637 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.445/1.445, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.22 MB / 337.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.000479, allocations: 8 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1468, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001994/0.1489, allocations: 1.275 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006922/0.1496, allocations: 379.6 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.1496, allocations: 4 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006475/0.1503, allocations: 435.2 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1506, allocations: 235.5 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.151, allocations: 115.5 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1512, allocations: 123.7 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1513, allocations: 15.97 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1514, allocations: 103.7 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.1517, allocations: 163.7 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1517, allocations: 0 / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.1518, allocations: 31.91 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1519, allocations: 79.75 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.152, allocations: 69.45 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.1522, allocations: 171.8 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1522, allocations: 0 / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1522, allocations: 0 / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1523, allocations: 0 / 474.8 MB, free: 10.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008883/0.1531, allocations: 0.5935 MB / 475.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1532, allocations: 15.97 kB / 475.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.884e-05/0.1533, allocations: 34.56 kB / 475.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.1534, allocations: 43.42 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1537, allocations: 275.4 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1537, allocations: 0 / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1537, allocations: 3.953 kB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1539, allocations: 65.62 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1539, allocations: 0 / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1539, allocations: 0 / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1539, allocations: 0 / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1541, allocations: 35.97 kB / 475.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.1546, allocations: 384.7 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1547, allocations: 42.5 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.1548, allocations: 32.94 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1549, allocations: 0 / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1549, allocations: 34.56 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1549, allocations: 0 / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003535/0.1553, allocations: 129.2 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1553, allocations: 59.33 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009886/0.1563, allocations: 0.8574 MB / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.1564, allocations: 33.64 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1566, allocations: 212 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1566, allocations: 7.844 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.1566, allocations: 0 / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.1569, allocations: 370.7 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.1569, allocations: 19.98 kB / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.157, allocations: 19.98 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.1571, allocations: 16 kB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1571, allocations: 0 / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002555/0.1574, allocations: 113.2 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.1574, allocations: 4 kB / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1574, allocations: 0 / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1574, allocations: 0 / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1575, allocations: 8 kB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1576, allocations: 4 kB / 478.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.1576, allocations: 15.89 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.1576, allocations: 3.938 kB / 478.2 MB, free: 6.801 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 (3): * Single equations (assignments): 3 * 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.0002577/0.1579, allocations: 214.3 kB / 478.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.158, allocations: 43.52 kB / 478.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.1583, allocations: 129.3 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1583, allocations: 0 / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1583, allocations: 0 / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1583, allocations: 3.938 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.1587, allocations: 289.5 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1588, allocations: 0 / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.1588, allocations: 11.98 kB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1588, allocations: 0 / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1588, allocations: 0 / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1588, allocations: 8 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1589, allocations: 3.938 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.1592, allocations: 203 kB / 479.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.1593, allocations: 116.5 kB / 479.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1594, allocations: 4 kB / 479.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.1595, allocations: 11.98 kB / 479.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.1595, allocations: 7.938 kB / 479.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1595, allocations: 0 / 479.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008174/0.1604, allocations: 0.6511 MB / 479.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1604, allocations: 0 / 479.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1606, allocations: 20 kB / 479.9 MB, free: 5 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 (3): * Single equations (assignments): 3 * 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.001527/0.1622, allocations: 0.9876 MB / 480.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1624, allocations: 47.97 kB / 480.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1624, allocations: 0 / 480.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.402e-05/0.1625, allocations: 23.98 kB / 481 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1629, allocations: 21.95 kB / 481 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.1659, allocations: 2.279 MB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.1664, allocations: 0.8186 MB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.1665, allocations: 12.16 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.1666, allocations: 107.4 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1666, allocations: 4 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.1841, allocations: 5.153 MB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/0.1844, allocations: 231 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.044, allocations: 0 / 489.6 MB, free: 11.44 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat does not exist to compare? outputFormat=mat