Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.0008985/0.0008985, allocations: 97.47 kB / 17 MB, free: 6.418 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.000798/0.0007981, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.393/1.393, allocations: 223.3 MB / 241.9 MB, free: 14.61 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.2452/0.2452, allocations: 44.22 MB / 337.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 12 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002019/0.1587, allocations: 1.333 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008009/0.1595, allocations: 427.6 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.1596, allocations: 3.938 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000607/0.1602, allocations: 439.2 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.1606, allocations: 239.5 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.161, allocations: 157.7 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1612, allocations: 139.7 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.1613, allocations: 15.98 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1614, allocations: 115.7 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1616, allocations: 167.7 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1616, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.331e-05/0.1617, allocations: 36 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1619, allocations: 91.66 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.1619, allocations: 69.52 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1622, allocations: 192 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1622, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1622, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1622, allocations: 0 / 475 MB, free: 10.21 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.0007171/0.1629, allocations: 0.6143 MB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.163, allocations: 8.031 kB / 475.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.163, allocations: 38.55 kB / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.1631, allocations: 39.53 kB / 475.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1634, allocations: 283.3 kB / 476 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1634, allocations: 4 kB / 476 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1634, allocations: 7.953 kB / 476 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1636, allocations: 73.55 kB / 476.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1637, allocations: 3.984 kB / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1637, allocations: 0 / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.1637, allocations: 4 kB / 476.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1638, allocations: 51.97 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.1644, allocations: 428.5 kB / 476.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1647, allocations: 62.55 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.1648, allocations: 36.97 kB / 476.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1648, allocations: 3.984 kB / 476.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1648, allocations: 34.56 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1648, allocations: 0 / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001491/0.1663, allocations: 0.5621 MB / 477.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1664, allocations: 55.41 kB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/0.1672, allocations: 0.869 MB / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1672, allocations: 25.7 kB / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1674, allocations: 216.1 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.1675, allocations: 31.47 kB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.1675, allocations: 0 / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1676, allocations: 370.8 kB / 478.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1678, allocations: 59.95 kB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1679, allocations: 71.94 kB / 478.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1681, allocations: 63.97 kB / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1681, allocations: 0 / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003532/0.1684, allocations: 217 kB / 479.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1684, allocations: 4 kB / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1685, allocations: 0.5625 kB / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1685, allocations: 4 kB / 479.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1686, allocations: 27.98 kB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1686, allocations: 7.984 kB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.1687, allocations: 23.94 kB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1687, allocations: 7.938 kB / 479.3 MB, free: 5.711 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.0002151/0.1689, allocations: 214.3 kB / 479.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.169, allocations: 43.44 kB / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.1694, allocations: 245.3 kB / 479.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1695, allocations: 3.984 kB / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1695, allocations: 0 / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1695, allocations: 4 kB / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008482/0.1703, allocations: 0.6131 MB / 480.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1703, allocations: 0 / 480.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1705, allocations: 31.98 kB / 480.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1705, allocations: 7.984 kB / 480.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1705, allocations: 0 / 480.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.1705, allocations: 7.953 kB / 480.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1705, allocations: 64 / 480.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.1709, allocations: 324.5 kB / 480.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.171, allocations: 108.5 kB / 480.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.171, allocations: 8 kB / 480.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1712, allocations: 12.08 kB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.1712, allocations: 23.88 kB / 480.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1712, allocations: 4 kB / 480.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005755/0.1718, allocations: 0.655 MB / 481.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1718, allocations: 0 / 481.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1721, allocations: 32 kB / 481.6 MB, free: 3.273 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.001684/0.1738, allocations: 1.201 MB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004055/0.1742, allocations: 147.8 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1742, allocations: 0 / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.1744, allocations: 80.02 kB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1748, allocations: 33.67 kB / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.1782, allocations: 2.562 MB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.1786, allocations: 0.8302 MB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.1788, allocations: 36.52 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.1789, allocations: 131.4 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1789, allocations: 0 / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.1964, allocations: 5.942 MB / 492.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.1966, allocations: 230.3 kB / 492.8 MB, free: 8.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.147, allocations: 0 / 492.8 MB, free: 8.25 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat