Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",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.002337/0.002336, allocations: 181.2 kB / 16.4 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.107/2.107, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001158/0.001158, allocations: 93.3 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.5319/0.5319, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 15.98 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1389, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6441, allocations: 88.43 MB / 0.5652 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.6445, allocations: 74.41 kB / 0.5652 GB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03802/0.6825, allocations: 8.617 MB / 0.5737 GB, free: 5.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6826, allocations: 0 / 0.5737 GB, free: 5.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.417e-05/0.6826, allocations: 19.88 kB / 0.5737 GB, free: 5.375 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.001528/0.6842, allocations: 0.7493 MB / 0.5744 GB, free: 4.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.6842, allocations: 8.031 kB / 0.5744 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.446e-05/0.6843, allocations: 46.55 kB / 0.5745 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.6845, allocations: 55.25 kB / 0.5745 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.6858, allocations: 478.9 kB / 0.575 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.6859, allocations: 8 kB / 0.575 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.686, allocations: 15.98 kB / 0.575 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.6865, allocations: 153.2 kB / 0.5751 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.6865, allocations: 0 / 0.5751 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.6866, allocations: 8 kB / 0.5751 GB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.6866, allocations: 3.953 kB / 0.5752 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.687, allocations: 103.9 kB / 0.5752 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.6889, allocations: 0.7308 MB / 0.576 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.6893, allocations: 121.3 kB / 0.5761 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.6894, allocations: 3.938 kB / 0.5761 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.6895, allocations: 38.69 kB / 0.5761 GB, free: 2.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.076e-06/0.6895, allocations: 0 / 0.5761 GB, free: 2.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.002568/0.692, allocations: 0.5683 MB / 0.5767 GB, free: 2.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.6922, allocations: 85.06 kB / 0.5768 GB, free: 2.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.694, allocations: 0.7989 MB / 0.5775 GB, free: 1.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.6941, allocations: 33.7 kB / 0.5776 GB, free: 1.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.6944, allocations: 262.8 kB / 0.5778 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.6945, allocations: 51.2 kB / 0.5779 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.6945, allocations: 8 kB / 0.5779 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6947, allocations: 314.8 kB / 0.5782 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000367/0.6951, allocations: 71.95 kB / 0.5782 GB, free: 464 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.6954, allocations: 93.61 kB / 0.5783 GB, free: 364 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.6958, allocations: 83.94 kB / 0.5784 GB, free: 280 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6958, allocations: 0 / 0.5784 GB, free: 280 kB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008197/0.6967, allocations: 205.8 kB / 0.5786 GB, free: 68 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6967, allocations: 4 kB / 0.5786 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6967, allocations: 4.078 kB / 0.5786 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.6968, allocations: 7.922 kB / 0.5786 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.6971, allocations: 39.97 kB / 0.5787 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6972, allocations: 3.984 kB / 0.5787 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.6976, allocations: 20 kB / 0.5787 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.6976, allocations: 11.94 kB / 0.5787 GB, free: 15.98 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 (16): * Single equations (assignments): 16 * 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.0004309/0.698, allocations: 221.7 kB / 0.5789 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.6982, allocations: 55.25 kB / 0.579 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.6994, allocations: 302.1 kB / 0.5792 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6994, allocations: 3.938 kB / 0.5793 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6994, allocations: 3.938 kB / 0.5793 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.6995, allocations: 7.984 kB / 0.5793 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.7017, allocations: 0.8918 MB / 0.5801 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7018, allocations: 0.75 kB / 0.5801 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.7021, allocations: 43.97 kB / 0.5802 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.7021, allocations: 4 kB / 0.5802 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.7022, allocations: 7.938 kB / 0.5802 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.7022, allocations: 15.88 kB / 0.5802 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7022, allocations: 0 / 0.5802 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.7033, allocations: 443.7 kB / 0.5806 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.7037, allocations: 176.4 kB / 0.5808 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.7038, allocations: 11.95 kB / 0.5808 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.7042, allocations: 15.98 kB / 0.5808 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.7043, allocations: 7.984 kB / 0.5808 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.7043, allocations: 11.98 kB / 0.5808 GB, free: 13.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001373/0.7057, allocations: 0.6315 MB / 0.5815 GB, free: 13.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.7057, allocations: 4 kB / 0.5815 GB, free: 13.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005816/0.7063, allocations: 75.92 kB / 0.5815 GB, free: 12.96 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 (16): * Single equations (assignments): 16 * 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.002535/0.7088, allocations: 1.349 MB / 0.5829 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007784/0.7096, allocations: 179.8 kB / 0.583 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7097, allocations: 0 / 0.583 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.71, allocations: 95.88 kB / 0.5831 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.7108, allocations: 71.58 kB / 0.5832 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007749/0.7186, allocations: 3.388 MB / 0.5865 GB, free: 7.887 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.7193, allocations: 0.8772 MB / 0.5873 GB, free: 6.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/0.7198, allocations: 175.4 kB / 0.5875 GB, free: 6.812 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7199, allocations: 0 / 0.5875 GB, free: 6.812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/3.51, allocations: 8.592 MB / 0.5959 GB, free: 14.22 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat