Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.001475/0.001474, allocations: 185.3 kB / 16.41 MB, free: 5.727 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.145 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.001276/0.001276, allocations: 92.36 kB / 270.9 MB, free: 8.387 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.539/0.539, allocations: 43.56 MB / 362.7 MB, free: 52.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006288/0.0006288, allocations: 16 kB / 431.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1362, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.6079, allocations: 88.59 MB / 0.5653 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.6082, allocations: 71.97 kB / 0.5654 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03762/0.6459, allocations: 8.397 MB / 0.5736 GB, free: 5.559 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6459, allocations: 4 kB / 0.5736 GB, free: 5.555 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.646, allocations: 4 kB / 0.5736 GB, free: 5.551 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.001098/0.6471, allocations: 0.6412 MB / 0.5742 GB, free: 4.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.6471, allocations: 8.031 kB / 0.5743 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.6472, allocations: 46.55 kB / 0.5743 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.6473, allocations: 43.52 kB / 0.5743 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000716/0.6481, allocations: 337.2 kB / 0.5747 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.6481, allocations: 8 kB / 0.5747 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.6482, allocations: 15.91 kB / 0.5747 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.6485, allocations: 109.7 kB / 0.5748 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.6485, allocations: 0 / 0.5748 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.6486, allocations: 7.938 kB / 0.5748 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.6486, allocations: 4 kB / 0.5748 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.6489, allocations: 71.91 kB / 0.5749 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.6499, allocations: 0.5003 MB / 0.5754 GB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.6502, allocations: 90.55 kB / 0.5754 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.6503, allocations: 11.94 kB / 0.5755 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.6503, allocations: 34.56 kB / 0.5755 GB, free: 3.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.725e-06/0.6504, allocations: 0.75 kB / 0.5755 GB, free: 3.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001513/0.6519, allocations: 401 kB / 0.5759 GB, free: 3.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.652, allocations: 51.41 kB / 0.5759 GB, free: 3.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.653, allocations: 497 kB / 0.5764 GB, free: 2.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.653, allocations: 25.7 kB / 0.5764 GB, free: 2.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.6532, allocations: 238.8 kB / 0.5766 GB, free: 2.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.6534, allocations: 55.19 kB / 0.5767 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.6534, allocations: 4 kB / 0.5767 GB, free: 2.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6535, allocations: 318.8 kB / 0.577 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.6538, allocations: 55.97 kB / 0.5771 GB, free: 1.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.654, allocations: 58.69 kB / 0.5771 GB, free: 1.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.6542, allocations: 55.98 kB / 0.5772 GB, free: 1.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6542, allocations: 4 kB / 0.5772 GB, free: 1.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005502/0.6548, allocations: 169.5 kB / 0.5773 GB, free: 1.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.6548, allocations: 7.984 kB / 0.5773 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6549, allocations: 4 kB / 0.5773 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6549, allocations: 0 / 0.5773 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.6551, allocations: 35.92 kB / 0.5774 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6552, allocations: 0 / 0.5774 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.6554, allocations: 16 kB / 0.5774 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.6554, allocations: 11.94 kB / 0.5774 GB, free: 1.465 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.000304/0.6558, allocations: 177.7 kB / 0.5776 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.6559, allocations: 47.44 kB / 0.5776 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007881/0.6567, allocations: 240.1 kB / 0.5778 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.6567, allocations: 4 kB / 0.5779 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6567, allocations: 3.984 kB / 0.5779 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.6567, allocations: 0 / 0.5779 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.6583, allocations: 0.6894 MB / 0.5785 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6583, allocations: 0 / 0.5785 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.6586, allocations: 35.92 kB / 0.5786 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.6586, allocations: 0 / 0.5786 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.6586, allocations: 8 kB / 0.5786 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.6586, allocations: 3.953 kB / 0.5786 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6587, allocations: 4 kB / 0.5786 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.6594, allocations: 301.9 kB / 0.5789 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.6596, allocations: 144.5 kB / 0.579 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.6597, allocations: 7.984 kB / 0.579 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.6599, allocations: 19.98 kB / 0.579 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.66, allocations: 11.77 kB / 0.579 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.66, allocations: 8 kB / 0.579 GB, free: 15.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007857/0.6608, allocations: 395.1 kB / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6608, allocations: 0 / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005649/0.6614, allocations: 71.92 kB / 0.5795 GB, free: 15.21 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.003036/0.6644, allocations: 1.455 MB / 0.5809 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006031/0.6651, allocations: 143.8 kB / 0.5811 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6651, allocations: 0 / 0.5811 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.6654, allocations: 75.91 kB / 0.5811 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.6662, allocations: 61.47 kB / 0.5812 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/0.6709, allocations: 1.99 MB / 0.5831 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.6715, allocations: 0.8155 MB / 0.5839 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.6719, allocations: 119.4 kB / 0.584 GB, free: 10.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6719, allocations: 3.938 kB / 0.584 GB, free: 10.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.933/3.605, allocations: 6.306 MB / 0.5902 GB, free: 4.254 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat does not exist to compare? outputFormat=mat