Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",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.002198/0.002198, allocations: 184.4 kB / 16.41 MB, free: 5.703 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.396/2.396, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001197/0.001197, allocations: 82.98 kB / 270.9 MB, free: 8.395 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.5724/0.5724, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004729, allocations: 16 kB / 431.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 58.85 MB / 490.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.6151, allocations: 88.79 MB / 0.5655 GB, free: 13.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.6155, allocations: 83.17 kB / 0.5656 GB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03838/0.6539, allocations: 8.447 MB / 0.5739 GB, free: 5.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6539, allocations: 0 / 0.5739 GB, free: 5.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.08e-05/0.654, allocations: 12.73 kB / 0.5739 GB, free: 5.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00118/0.6552, allocations: 0.6216 MB / 0.5745 GB, free: 4.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.6553, allocations: 8.031 kB / 0.5745 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.6553, allocations: 34.56 kB / 0.5745 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.6555, allocations: 39.53 kB / 0.5746 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.6563, allocations: 349.1 kB / 0.5749 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.6564, allocations: 4 kB / 0.5749 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.6564, allocations: 8 kB / 0.5749 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.6568, allocations: 106.5 kB / 0.575 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6568, allocations: 0 / 0.575 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.6568, allocations: 4 kB / 0.575 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6568, allocations: 0 / 0.575 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.6571, allocations: 75.84 kB / 0.5751 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.6583, allocations: 480.5 kB / 0.5755 GB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.6586, allocations: 70.55 kB / 0.5756 GB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.6587, allocations: 7.984 kB / 0.5756 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.6587, allocations: 30.56 kB / 0.5757 GB, free: 3.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.957e-06/0.6587, allocations: 4 kB / 0.5757 GB, free: 3.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006937/0.6594, allocations: 161.2 kB / 0.5758 GB, free: 3.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.6595, allocations: 51.41 kB / 0.5759 GB, free: 3.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.6607, allocations: 0.4933 MB / 0.5763 GB, free: 2.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.6607, allocations: 25.7 kB / 0.5764 GB, free: 2.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.661, allocations: 230.6 kB / 0.5766 GB, free: 2.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.661, allocations: 23.64 kB / 0.5766 GB, free: 2.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.661, allocations: 8 kB / 0.5766 GB, free: 2.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6612, allocations: 314.8 kB / 0.5769 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.6614, allocations: 27.97 kB / 0.5769 GB, free: 1.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.6615, allocations: 28.23 kB / 0.577 GB, free: 1.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.6617, allocations: 32.11 kB / 0.577 GB, free: 1.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6617, allocations: 0 / 0.577 GB, free: 1.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003569/0.6621, allocations: 113.5 kB / 0.5771 GB, free: 1.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.6621, allocations: 4 kB / 0.5771 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6621, allocations: 0 / 0.5771 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6622, allocations: 0 / 0.5771 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.6623, allocations: 15.98 kB / 0.5771 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.6624, allocations: 0 / 0.5771 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.6626, allocations: 4 kB / 0.5771 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.6626, allocations: 8 kB / 0.5771 GB, free: 1.676 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 (6): * Single equations (assignments): 6 * 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.0003372/0.663, allocations: 177.7 kB / 0.5773 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.6631, allocations: 43.48 kB / 0.5773 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005221/0.6636, allocations: 152.8 kB / 0.5775 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6637, allocations: 4 kB / 0.5775 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6637, allocations: 0 / 0.5775 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6637, allocations: 7.984 kB / 0.5775 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.6642, allocations: 297.5 kB / 0.5778 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6642, allocations: 0 / 0.5778 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.6644, allocations: 15.98 kB / 0.5778 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6644, allocations: 0 / 0.5778 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.6644, allocations: 11.95 kB / 0.5778 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.6644, allocations: 0 / 0.5778 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6644, allocations: 3.938 kB / 0.5778 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.6649, allocations: 231 kB / 0.578 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.6652, allocations: 140.6 kB / 0.5782 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.6652, allocations: 4.188 kB / 0.5782 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.6654, allocations: 11.95 kB / 0.5782 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.6655, allocations: 8 kB / 0.5782 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6655, allocations: 3.984 kB / 0.5782 GB, free: 500 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008319/0.6663, allocations: 399.1 kB / 0.5786 GB, free: 104 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6664, allocations: 8 kB / 0.5786 GB, free: 96 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004771/0.6668, allocations: 51.92 kB / 0.5786 GB, free: 44 kB / 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 (6): * Single equations (assignments): 6 * 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.002571/0.6694, allocations: 1.262 MB / 0.5799 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.6699, allocations: 67.95 kB / 0.5799 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6699, allocations: 0 / 0.5799 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.67, allocations: 35.98 kB / 0.58 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.6708, allocations: 65.44 kB / 0.58 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.6752, allocations: 1.858 MB / 0.5818 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.6758, allocations: 0.8063 MB / 0.5826 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.6761, allocations: 111.4 kB / 0.5827 GB, free: 11.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6761, allocations: 0 / 0.5827 GB, free: 11.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.782/3.458, allocations: 5.742 MB / 0.5883 GB, free: 6.109 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat