Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test3",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.002303/0.002303, allocations: 186.1 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.151/2.151, 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.001156/0.001156, allocations: 96.41 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.6004/0.6004, allocations: 43.54 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006858/0.0006858, allocations: 19.98 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1817, allocations: 58.83 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.6502, allocations: 86.84 MB / 0.5636 GB, free: 15.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.6505, allocations: 71.97 kB / 0.5637 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03136/0.6819, allocations: 8.035 MB / 0.5715 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6819, allocations: 0 / 0.5715 GB, free: 7.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.079e-05/0.682, allocations: 4 kB / 0.5715 GB, free: 7.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001042/0.683, allocations: 0.6473 MB / 0.5722 GB, free: 7.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.6831, allocations: 12.03 kB / 0.5722 GB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.543e-05/0.6832, allocations: 34.55 kB / 0.5722 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.6833, allocations: 43.44 kB / 0.5723 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.684, allocations: 331.3 kB / 0.5726 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.684, allocations: 0 / 0.5726 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.6841, allocations: 0.6562 kB / 0.5726 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.6843, allocations: 66.69 kB / 0.5726 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6844, allocations: 3.906 kB / 0.5726 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.6844, allocations: 4 kB / 0.5726 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6844, allocations: 7.953 kB / 0.5727 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.6847, allocations: 35.97 kB / 0.5727 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.6856, allocations: 440.7 kB / 0.5731 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.6858, allocations: 45.94 kB / 0.5732 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.6858, allocations: 0 / 0.5732 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6859, allocations: 38.52 kB / 0.5732 GB, free: 5.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.6859, allocations: 0 / 0.5732 GB, free: 5.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001463/0.6874, allocations: 320.8 kB / 0.5735 GB, free: 5.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6874, allocations: 55.41 kB / 0.5735 GB, free: 5.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.6895, allocations: 0.7784 MB / 0.5743 GB, free: 4.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.6896, allocations: 33.7 kB / 0.5743 GB, free: 4.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.6898, allocations: 238.5 kB / 0.5746 GB, free: 4.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.6898, allocations: 28.27 kB / 0.5746 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.6899, allocations: 0 / 0.5746 GB, free: 4.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.69, allocations: 318.8 kB / 0.5749 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.6903, allocations: 39.97 kB / 0.5749 GB, free: 4.047 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.6905, allocations: 39.98 kB / 0.575 GB, free: 4.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.6907, allocations: 47.91 kB / 0.575 GB, free: 3.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6907, allocations: 4 kB / 0.575 GB, free: 3.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005614/0.6913, allocations: 117.6 kB / 0.5751 GB, free: 3.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.6914, allocations: 7.953 kB / 0.5751 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6914, allocations: 4 kB / 0.5751 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.6914, allocations: 0 / 0.5751 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.6916, allocations: 23.98 kB / 0.5752 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.6917, allocations: 0 / 0.5752 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.6919, allocations: 15.98 kB / 0.5752 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.6919, allocations: 7.938 kB / 0.5752 GB, free: 3.777 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 (7): * Single equations (assignments): 7 * 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.0003947/0.6924, allocations: 217.8 kB / 0.5754 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.6925, allocations: 47.44 kB / 0.5754 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.6932, allocations: 185.7 kB / 0.5756 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.6933, allocations: 4.875 kB / 0.5756 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6933, allocations: 0 / 0.5756 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6933, allocations: 0 / 0.5756 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.6948, allocations: 0.6311 MB / 0.5762 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.6948, allocations: 7.953 kB / 0.5763 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.695, allocations: 19.98 kB / 0.5763 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.695, allocations: 4 kB / 0.5763 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.695, allocations: 4 kB / 0.5763 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6951, allocations: 4 kB / 0.5763 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6951, allocations: 0.75 kB / 0.5763 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.6958, allocations: 266.9 kB / 0.5765 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.6961, allocations: 164.5 kB / 0.5767 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.6962, allocations: 0 / 0.5767 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.6964, allocations: 15.98 kB / 0.5767 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.6965, allocations: 7.984 kB / 0.5767 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.6965, allocations: 4 kB / 0.5767 GB, free: 2.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.6977, allocations: 0.6394 MB / 0.5773 GB, free: 1.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6978, allocations: 3.938 kB / 0.5774 GB, free: 1.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.6982, allocations: 63.92 kB / 0.5774 GB, free: 1.398 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0021/0.7004, allocations: 1.101 MB / 0.5785 GB, free: 380 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005487/0.701, allocations: 91.95 kB / 0.5786 GB, free: 288 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.701, allocations: 0 / 0.5786 GB, free: 288 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.7012, allocations: 55.91 kB / 0.5786 GB, free: 232 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.7017, allocations: 21.95 kB / 0.5786 GB, free: 212 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.7072, allocations: 2.418 MB / 0.581 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.7079, allocations: 0.8301 MB / 0.5818 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.7083, allocations: 111.4 kB / 0.5819 GB, free: 12.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.7083, allocations: 0 / 0.5819 GB, free: 12.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.696/3.404, allocations: 7.32 MB / 0.5891 GB, free: 5.418 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat does not exist to compare? outputFormat=mat