Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001598/0.001598, allocations: 186.3 kB / 16.4 MB, free: 5.719 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.373/2.373, 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.001189/0.001189, allocations: 90.14 kB / 270.9 MB, free: 8.383 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.6048/0.6048, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006516/0.0006517, allocations: 19.98 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1347, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.621, allocations: 88.97 MB / 0.5657 GB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.6214, allocations: 75.95 kB / 0.5658 GB, free: 13.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.039/0.6604, allocations: 8.6 MB / 0.5742 GB, free: 4.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6605, allocations: 0 / 0.5742 GB, free: 4.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.645e-05/0.6606, allocations: 20.09 kB / 0.5742 GB, free: 4.941 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001303/0.6619, allocations: 0.6449 MB / 0.5748 GB, free: 4.254 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.662, allocations: 12.02 kB / 0.5748 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.349e-05/0.662, allocations: 38.56 kB / 0.5749 GB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.6622, allocations: 39.53 kB / 0.5749 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008528/0.663, allocations: 357.2 kB / 0.5753 GB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.6631, allocations: 4 kB / 0.5753 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.6631, allocations: 11.91 kB / 0.5753 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.6636, allocations: 121.7 kB / 0.5754 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.6636, allocations: 4 kB / 0.5754 GB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.6637, allocations: 4 kB / 0.5754 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.6637, allocations: 4 kB / 0.5754 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.664, allocations: 91.89 kB / 0.5755 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.6653, allocations: 0.5276 MB / 0.576 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.6657, allocations: 118.4 kB / 0.5761 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.6657, allocations: 7.984 kB / 0.5761 GB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.6658, allocations: 39.31 kB / 0.5762 GB, free: 2.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 3.266e-06/0.6658, allocations: 0 / 0.5762 GB, free: 2.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001698/0.6675, allocations: 446.7 kB / 0.5766 GB, free: 2.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.6676, allocations: 51.41 kB / 0.5766 GB, free: 2.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.6687, allocations: 0.5049 MB / 0.5771 GB, free: 1.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.6687, allocations: 29.7 kB / 0.5772 GB, free: 1.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.669, allocations: 234.8 kB / 0.5774 GB, free: 1.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.669, allocations: 63.16 kB / 0.5774 GB, free: 1.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.6691, allocations: 3.938 kB / 0.5774 GB, free: 1.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6692, allocations: 318.8 kB / 0.5777 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.6695, allocations: 67.95 kB / 0.5778 GB, free: 1.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.6698, allocations: 67.95 kB / 0.5779 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.6701, allocations: 82.78 kB / 0.578 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6701, allocations: 0 / 0.578 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006494/0.6707, allocations: 201.4 kB / 0.5781 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6708, allocations: 4 kB / 0.5782 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6708, allocations: 0 / 0.5782 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.6708, allocations: 4 kB / 0.5782 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.6711, allocations: 39.92 kB / 0.5782 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6711, allocations: 4 kB / 0.5782 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.6714, allocations: 15.92 kB / 0.5782 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.6714, allocations: 11.95 kB / 0.5782 GB, free: 0.6133 MB / 394.7 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 (17): * Single equations (assignments): 17 * 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.0003585/0.6718, allocations: 177.8 kB / 0.5784 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.6719, allocations: 39.52 kB / 0.5784 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009117/0.6729, allocations: 289.3 kB / 0.5787 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.6729, allocations: 7.984 kB / 0.5787 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6729, allocations: 0 / 0.5787 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.6729, allocations: 0 / 0.5787 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.6746, allocations: 0.7375 MB / 0.5794 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6747, allocations: 0 / 0.5794 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.6749, allocations: 39.98 kB / 0.5795 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/0.675, allocations: 4 kB / 0.5795 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.675, allocations: 3.984 kB / 0.5795 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.675, allocations: 7.891 kB / 0.5795 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.675, allocations: 0 / 0.5795 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008211/0.6758, allocations: 344.8 kB / 0.5798 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.6761, allocations: 136.6 kB / 0.5799 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.6762, allocations: 15.92 kB / 0.58 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.6764, allocations: 8 kB / 0.58 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.6764, allocations: 15.94 kB / 0.58 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.6765, allocations: 4 kB / 0.58 GB, free: 14.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008088/0.6773, allocations: 403.1 kB / 0.5804 GB, free: 14.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6773, allocations: 4 kB / 0.5804 GB, free: 14.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005047/0.6778, allocations: 75.92 kB / 0.5804 GB, free: 14.22 MB / 410.7 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 (17): * Single equations (assignments): 17 * 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.003213/0.6811, allocations: 1.482 MB / 0.5819 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007162/0.6818, allocations: 171.8 kB / 0.5821 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6819, allocations: 4 kB / 0.5821 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.6822, allocations: 95.88 kB / 0.5822 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.6829, allocations: 65.45 kB / 0.5822 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005395/0.6884, allocations: 2.139 MB / 0.5843 GB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.689, allocations: 0.8301 MB / 0.5851 GB, free: 9.453 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.6895, allocations: 131.4 kB / 0.5852 GB, free: 9.324 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6895, allocations: 0 / 0.5852 GB, free: 9.324 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.027/3.717, allocations: 6.638 MB / 0.5917 GB, free: 2.68 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat