Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.0007733/0.0007733, allocations: 90.11 kB / 17 MB, free: 6.398 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.0007254/0.0007254, allocations: 177.7 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.369/1.369, allocations: 223.2 MB / 241.9 MB, free: 256 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.1941/0.1941, allocations: 44.23 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 16 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003362/0.15, allocations: 1.683 MB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1529, allocations: 1.081 MB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.1531, allocations: 8 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.1534, allocations: 35.78 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.1539, allocations: 143.4 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.1558, allocations: 0.552 MB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005154/0.1563, allocations: 263 kB / 475.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.1566, allocations: 52.89 kB / 475.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.1568, allocations: 119.5 kB / 475.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.1571, allocations: 159.4 kB / 475.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.1572, allocations: 8 kB / 475.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.1574, allocations: 51.97 kB / 475.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.1576, allocations: 131.6 kB / 475.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.468e-05/0.1577, allocations: 85.39 kB / 476 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1581, allocations: 295.5 kB / 476.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1582, allocations: 4 kB / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1582, allocations: 0 / 476.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1582, allocations: 0 / 476.3 MB, free: 8.957 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.001413/0.1596, allocations: 0.7464 MB / 477 MB, free: 8.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.1597, allocations: 8.031 kB / 477.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.1598, allocations: 42.56 kB / 477.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.1599, allocations: 51.34 kB / 477.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.1606, allocations: 443 kB / 477.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1606, allocations: 7.938 kB / 477.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.1607, allocations: 19.89 kB / 477.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.1611, allocations: 167.3 kB / 477.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1611, allocations: 0 / 477.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.1611, allocations: 4 kB / 477.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1611, allocations: 4 kB / 477.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.1614, allocations: 135.8 kB / 477.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1626, allocations: 0.7385 MB / 478.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1629, allocations: 141.2 kB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.163, allocations: 73.8 kB / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.1631, allocations: 11.98 kB / 478.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1631, allocations: 34.5 kB / 478.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1631, allocations: 4 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002655/0.1658, allocations: 0.8023 MB / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.1659, allocations: 81.05 kB / 479.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.1673, allocations: 0.8944 MB / 480.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1674, allocations: 29.7 kB / 480.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.1677, allocations: 260.4 kB / 481 MB, free: 4.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.1678, allocations: 70.94 kB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.1678, allocations: 4 kB / 481 MB, free: 3.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.168, allocations: 374.8 kB / 481.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.1685, allocations: 123.9 kB / 481.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.1689, allocations: 151.8 kB / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.1693, allocations: 132.1 kB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1693, allocations: 224 / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001077/0.1704, allocations: 380.6 kB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1705, allocations: 7.938 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1705, allocations: 4 kB / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1705, allocations: 0 / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.1709, allocations: 59.95 kB / 482.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.1709, allocations: 3.938 kB / 482.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.1712, allocations: 35.97 kB / 482.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1713, allocations: 8 kB / 482.3 MB, free: 2.695 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.0003265/0.1716, allocations: 218.2 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.1718, allocations: 55.34 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.173, allocations: 426.8 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.173, allocations: 4 kB / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.173, allocations: 0 / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1731, allocations: 3.984 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.1751, allocations: 0.9935 MB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1751, allocations: 0 / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.1755, allocations: 67.89 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.1755, allocations: 0 / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.1756, allocations: 7.984 kB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1756, allocations: 0 / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1756, allocations: 0 / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1767, allocations: 0.5409 MB / 484.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.1769, allocations: 156.3 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.177, allocations: 8 kB / 484.8 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.1774, allocations: 27.98 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.1775, allocations: 19.97 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.1775, allocations: 7.984 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.1786, allocations: 0.6513 MB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1786, allocations: 0 / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006123/0.1792, allocations: 60 kB / 485.5 MB, free: 15.37 MB / 366.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.002668/0.1819, allocations: 1.387 MB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.1829, allocations: 299.7 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1829, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.1834, allocations: 155.8 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.1844, allocations: 73.17 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/0.1916, allocations: 3.507 MB / 490.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.1924, allocations: 0.8761 MB / 491.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004439/0.1928, allocations: 107.2 kB / 491.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.1932, allocations: 175.4 kB / 492.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1932, allocations: 3.938 kB / 492.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2163, allocations: 9.249 MB / 0.4896 GB, free: 15.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.2166, allocations: 214.5 kB / 0.4898 GB, free: 15.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.185, allocations: 0 / 0.4898 GB, free: 15.51 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat