Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002158/0.002158, allocations: 185.8 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 88.44 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5113/0.5113, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004644, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6035, allocations: 87.98 MB / 0.5647 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/0.6039, allocations: 71.97 kB / 0.5648 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0414/0.6454, allocations: 8.821 MB / 0.5734 GB, free: 5.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6454, allocations: 0.75 kB / 0.5734 GB, free: 5.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.185e-05/0.6455, allocations: 8 kB / 0.5734 GB, free: 5.625 MB / 394.7 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.001754/0.6473, allocations: 0.7778 MB / 0.5742 GB, free: 4.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.6473, allocations: 12.03 kB / 0.5742 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.281e-05/0.6474, allocations: 38.56 kB / 0.5742 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.6476, allocations: 55.25 kB / 0.5743 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.6489, allocations: 479 kB / 0.5747 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.649, allocations: 8 kB / 0.5748 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.649, allocations: 16.97 kB / 0.5748 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.6496, allocations: 144.3 kB / 0.5749 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.6496, allocations: 7.938 kB / 0.5749 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.6496, allocations: 3.953 kB / 0.5749 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.6497, allocations: 3.984 kB / 0.5749 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.6502, allocations: 119.9 kB / 0.575 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.6521, allocations: 0.7269 MB / 0.5758 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.6527, allocations: 129.2 kB / 0.5759 GB, free: 2.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.6527, allocations: 4.203 kB / 0.5759 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.6528, allocations: 42.67 kB / 0.5759 GB, free: 2.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.286e-06/0.6528, allocations: 3.938 kB / 0.5759 GB, free: 2.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.003778/0.6566, allocations: 0.7484 MB / 0.5767 GB, free: 2.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.6567, allocations: 81.11 kB / 0.5767 GB, free: 2.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.6585, allocations: 0.7834 MB / 0.5775 GB, free: 1.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.6586, allocations: 29.7 kB / 0.5775 GB, free: 1.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.6588, allocations: 266.8 kB / 0.5778 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.659, allocations: 70.98 kB / 0.5778 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.659, allocations: 12 kB / 0.5779 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6591, allocations: 310.8 kB / 0.5782 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.6597, allocations: 111.9 kB / 0.5783 GB, free: 452 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.6603, allocations: 125.6 kB / 0.5784 GB, free: 320 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.6608, allocations: 111.9 kB / 0.5785 GB, free: 208 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6609, allocations: 4.188 kB / 0.5785 GB, free: 204 kB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00129/0.6622, allocations: 285.5 kB / 0.5788 GB, free: 15.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.6622, allocations: 7.953 kB / 0.5788 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6622, allocations: 0 / 0.5788 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.6623, allocations: 4 kB / 0.5788 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.6628, allocations: 67.89 kB / 0.5788 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.6629, allocations: 0 / 0.5788 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.6634, allocations: 35.94 kB / 0.5789 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.6634, allocations: 16 kB / 0.5789 GB, free: 15.78 MB / 410.7 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.0004467/0.6639, allocations: 213.7 kB / 0.5791 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.6641, allocations: 51.34 kB / 0.5791 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.6657, allocations: 397.9 kB / 0.5795 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.6657, allocations: 4 kB / 0.5795 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6657, allocations: 0 / 0.5795 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6657, allocations: 0 / 0.5795 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.6686, allocations: 0.9974 MB / 0.5805 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.6686, allocations: 0 / 0.5805 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.6691, allocations: 55.95 kB / 0.5806 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.6692, allocations: 11.94 kB / 0.5806 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.6692, allocations: 7.984 kB / 0.5806 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.6692, allocations: 7.938 kB / 0.5806 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6692, allocations: 0 / 0.5806 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.6708, allocations: 0.5074 MB / 0.5811 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.6712, allocations: 180.4 kB / 0.5812 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6713, allocations: 8 kB / 0.5813 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.6718, allocations: 31.97 kB / 0.5813 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.672, allocations: 19.97 kB / 0.5813 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.672, allocations: 11.98 kB / 0.5813 GB, free: 13.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.6734, allocations: 0.6237 MB / 0.5819 GB, free: 12.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6734, allocations: 3.938 kB / 0.5819 GB, free: 12.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006605/0.6741, allocations: 76 kB / 0.582 GB, free: 12.48 MB / 410.7 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.003066/0.6772, allocations: 1.438 MB / 0.5834 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.6785, allocations: 259.8 kB / 0.5837 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6785, allocations: 0 / 0.5837 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006248/0.6791, allocations: 147.8 kB / 0.5838 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008371/0.68, allocations: 62.95 kB / 0.5839 GB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.689, allocations: 3.494 MB / 0.5873 GB, free: 7.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.6897, allocations: 0.8733 MB / 0.5881 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.6903, allocations: 191.3 kB / 0.5883 GB, free: 6.004 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6903, allocations: 3.938 kB / 0.5883 GB, free: 6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.868/3.559, allocations: 8.74 MB / 0.5968 GB, free: 13.27 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat