Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.0007702/0.0007706, allocations: 98.08 kB / 17 MB, free: 6.062 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.0007841/0.0007843, allocations: 183.2 kB / 17.89 MB, free: 5.648 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.465/1.465, allocations: 223.3 MB / 241.9 MB, free: 14.58 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.2109/0.2109, allocations: 44.21 MB / 337.2 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004201, allocations: 8.219 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1529, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002444/0.1554, allocations: 1.676 MB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.157, allocations: 0.9869 MB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.1571, allocations: 4 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1573, allocations: 27.8 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.1576, allocations: 135.5 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008313/0.1584, allocations: 390.9 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1588, allocations: 251 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1589, allocations: 48.89 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.1591, allocations: 119.4 kB / 475.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1594, allocations: 163.4 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.1594, allocations: 8 kB / 475.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1596, allocations: 40 kB / 475.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1597, allocations: 135.6 kB / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.1598, allocations: 77.39 kB / 475.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1602, allocations: 287.8 kB / 476 MB, free: 9.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1602, allocations: 4 kB / 476 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1602, allocations: 0 / 476 MB, free: 9.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1602, allocations: 0 / 476 MB, free: 9.266 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001008/0.1612, allocations: 0.7309 MB / 476.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1613, allocations: 12.03 kB / 476.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.1614, allocations: 38.56 kB / 476.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.1614, allocations: 59.25 kB / 476.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.162, allocations: 431 kB / 477.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.162, allocations: 8 kB / 477.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.1621, allocations: 15.95 kB / 477.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.1624, allocations: 147.3 kB / 477.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1624, allocations: 3.906 kB / 477.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1625, allocations: 8 kB / 477.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1625, allocations: 0 / 477.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.1628, allocations: 119.9 kB / 477.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009411/0.1637, allocations: 0.6879 MB / 478.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.164, allocations: 129.2 kB / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.1642, allocations: 74.02 kB / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.1642, allocations: 7.984 kB / 478.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.1643, allocations: 38.5 kB / 478.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1643, allocations: 0 / 478.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002095/0.1664, allocations: 0.7438 MB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.1665, allocations: 81.11 kB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/0.1675, allocations: 0.8662 MB / 480.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.1675, allocations: 33.7 kB / 480.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.1678, allocations: 256.3 kB / 480.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.1679, allocations: 75.08 kB / 480.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.1679, allocations: 192 / 480.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1682, allocations: 370.8 kB / 480.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.1686, allocations: 111.9 kB / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.1689, allocations: 128 kB / 481.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.1693, allocations: 111.9 kB / 481.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1693, allocations: 8 kB / 481.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009209/0.1703, allocations: 324.8 kB / 481.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.1703, allocations: 8 kB / 481.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1703, allocations: 0 / 481.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1704, allocations: 0 / 481.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.1708, allocations: 71.88 kB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1708, allocations: 0.75 kB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.171, allocations: 27.98 kB / 481.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1711, allocations: 15.98 kB / 481.7 MB, free: 3.312 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0003076/0.1714, allocations: 210.2 kB / 481.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.1715, allocations: 55.34 kB / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.1727, allocations: 386.1 kB / 482.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.1727, allocations: 7.984 kB / 482.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1727, allocations: 0 / 482.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1727, allocations: 0 / 482.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.1746, allocations: 0.9229 MB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.1746, allocations: 0 / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.1749, allocations: 63.89 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.1749, allocations: 8 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.175, allocations: 0 / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.175, allocations: 7.938 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.175, allocations: 0 / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.176, allocations: 0.498 MB / 483.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.1762, allocations: 156.3 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.1763, allocations: 4 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.1767, allocations: 31.97 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1768, allocations: 23.97 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1768, allocations: 4 kB / 484 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.1778, allocations: 0.6354 MB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1778, allocations: 3.938 kB / 484.7 MB, free: 212 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005824/0.1784, allocations: 64 kB / 484.7 MB, free: 148 kB / 350.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 (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 Backend phase and start with SimCode phase: time 0.002554/0.181, allocations: 1.324 MB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000878/0.1819, allocations: 259.8 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1819, allocations: 384 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.1823, allocations: 143.8 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008865/0.1832, allocations: 78.77 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/0.1908, allocations: 3.334 MB / 489.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/0.1916, allocations: 0.8606 MB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003956/0.1921, allocations: 87.2 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.1924, allocations: 179.4 kB / 491 MB, free: 9.941 MB / 366.1 MB Notification: Performance of SimCode: time 1.844e-06/0.1924, allocations: 0 / 491 MB, free: 9.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.2254, allocations: 8.979 MB / 499.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.2257, allocations: 215.3 kB / 0.4884 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.207, allocations: 0 / 0.4884 GB, free: 0.8711 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat does not exist to compare? outputFormat=mat