Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test27",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.001553/0.001552, allocations: 185.9 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.071/2.071, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.002377/0.002377, allocations: 91.25 kB / 270.9 MB, free: 8.391 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.5308/0.5308, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 12 kB / 431.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 58.85 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.6068, allocations: 86.83 MB / 0.5636 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.6071, allocations: 71.95 kB / 0.5637 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.626, allocations: 4.196 MB / 0.5678 GB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6261, allocations: 4 kB / 0.5678 GB, free: 11.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.6261, allocations: 7.984 kB / 0.5678 GB, free: 11.51 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.0006882/0.6268, allocations: 417.7 kB / 0.5682 GB, free: 11.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6269, allocations: 8.031 kB / 0.5682 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.6269, allocations: 34.56 kB / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.627, allocations: 15 kB / 0.5683 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.6273, allocations: 206.8 kB / 0.5685 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6273, allocations: 8 kB / 0.5685 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.6274, allocations: 0 / 0.5685 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.6276, allocations: 61.67 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.6277, allocations: 0 / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.6277, allocations: 1.031 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6277, allocations: 0 / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.628, allocations: 47.97 kB / 0.5686 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.6285, allocations: 296.7 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.6287, allocations: 50.56 kB / 0.5689 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.6287, allocations: 0 / 0.5689 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.6288, allocations: 38.64 kB / 0.5689 GB, free: 10.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.6288, allocations: 0 / 0.5689 GB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001298/0.6301, allocations: 245.2 kB / 0.5692 GB, free: 9.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.6302, allocations: 55.41 kB / 0.5692 GB, free: 9.879 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.6305, allocations: 166.4 kB / 0.5694 GB, free: 9.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6305, allocations: 29.7 kB / 0.5694 GB, free: 9.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.6306, allocations: 166.5 kB / 0.5696 GB, free: 9.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.6307, allocations: 24.2 kB / 0.5696 GB, free: 9.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.6307, allocations: 0 / 0.5696 GB, free: 9.488 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6308, allocations: 318.8 kB / 0.5699 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.6311, allocations: 47.91 kB / 0.5699 GB, free: 9.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.6313, allocations: 31.98 kB / 0.57 GB, free: 9.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.6315, allocations: 48.52 kB / 0.57 GB, free: 9.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6315, allocations: 0 / 0.57 GB, free: 9.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005233/0.6321, allocations: 118.4 kB / 0.5701 GB, free: 8.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6321, allocations: 4 kB / 0.5701 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6321, allocations: 0 / 0.5701 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6322, allocations: 7.891 kB / 0.5701 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.6324, allocations: 23.98 kB / 0.5702 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.6324, allocations: 4 kB / 0.5702 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.6326, allocations: 19.98 kB / 0.5702 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.6326, allocations: 0 / 0.5702 GB, free: 8.863 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.0001477/0.6327, allocations: 129.8 kB / 0.5703 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.6328, allocations: 11.81 kB / 0.5703 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/0.6334, allocations: 150.6 kB / 0.5705 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.6334, allocations: 4.234 kB / 0.5705 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6334, allocations: 0 / 0.5705 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6334, allocations: 0.75 kB / 0.5705 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/0.6344, allocations: 422.4 kB / 0.5709 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6344, allocations: 7.984 kB / 0.5709 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.6346, allocations: 27.98 kB / 0.5709 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.6346, allocations: 3.953 kB / 0.5709 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.6347, allocations: 0 / 0.5709 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6347, allocations: 0 / 0.5709 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6347, allocations: 0 / 0.5709 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.6353, allocations: 235.3 kB / 0.5711 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.6354, allocations: 89.02 kB / 0.5712 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.6354, allocations: 3.953 kB / 0.5712 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.6356, allocations: 19.98 kB / 0.5712 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.6357, allocations: 7.984 kB / 0.5713 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.998e-06/0.6357, allocations: 0 / 0.5713 GB, free: 7.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.6359, allocations: 144.5 kB / 0.5714 GB, free: 7.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6359, allocations: 0 / 0.5714 GB, free: 7.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.6363, allocations: 27.94 kB / 0.5714 GB, free: 7.5 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.002063/0.6383, allocations: 1.066 MB / 0.5725 GB, free: 6.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005344/0.6389, allocations: 95.88 kB / 0.5725 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6389, allocations: 0 / 0.5725 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.6392, allocations: 51.91 kB / 0.5726 GB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.6395, allocations: 21.16 kB / 0.5726 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.6417, allocations: 0.7678 MB / 0.5734 GB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.6421, allocations: 0.7083 MB / 0.5741 GB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.6423, allocations: 27.42 kB / 0.5741 GB, free: 4.762 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6423, allocations: 3.938 kB / 0.5741 GB, free: 4.758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.789/3.432, allocations: 2.191 MB / 0.5762 GB, free: 2.566 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat does not exist to compare? outputFormat=mat