Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001562/0.001562, 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.145/2.145, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001514/0.001514, allocations: 94.91 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.5563/0.5563, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004971, allocations: 16 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1399, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4839/0.6239, allocations: 86.34 MB / 0.5631 GB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.6242, allocations: 71.97 kB / 0.5632 GB, free: 184 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.6398, allocations: 3.614 MB / 0.5667 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6399, allocations: 4 kB / 0.5667 GB, free: 12.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.6399, allocations: 4 kB / 0.5667 GB, free: 12.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005972/0.6405, allocations: 395.1 kB / 0.5671 GB, free: 12.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.6406, allocations: 8.031 kB / 0.5671 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.6406, allocations: 30.56 kB / 0.5672 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.6407, allocations: 11.34 kB / 0.5672 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.641, allocations: 194.9 kB / 0.5674 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.641, allocations: 8 kB / 0.5674 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.641, allocations: 4 kB / 0.5674 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.6412, allocations: 53.67 kB / 0.5674 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.6413, allocations: 0 / 0.5674 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6413, allocations: 1.031 kB / 0.5674 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.6413, allocations: 0 / 0.5674 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.6415, allocations: 31.97 kB / 0.5675 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.6419, allocations: 290.2 kB / 0.5677 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.6422, allocations: 38.56 kB / 0.5678 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.6422, allocations: 4 kB / 0.5678 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.6423, allocations: 30.56 kB / 0.5678 GB, free: 11.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.6423, allocations: 0 / 0.5678 GB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008205/0.6431, allocations: 161.3 kB / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.6432, allocations: 59.41 kB / 0.568 GB, free: 11.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.6434, allocations: 149.8 kB / 0.5682 GB, free: 10.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.6435, allocations: 25.7 kB / 0.5682 GB, free: 10.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.6435, allocations: 158.6 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.6436, allocations: 19.73 kB / 0.5683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.6436, allocations: 4 kB / 0.5683 GB, free: 10.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6438, allocations: 314.8 kB / 0.5686 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.6439, allocations: 28.17 kB / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.644, allocations: 15.98 kB / 0.5687 GB, free: 10.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.6442, allocations: 34.64 kB / 0.5687 GB, free: 10.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6442, allocations: 0 / 0.5687 GB, free: 10.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003236/0.6445, allocations: 81.67 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6445, allocations: 4 kB / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6446, allocations: 0 / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.6446, allocations: 7.953 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.6447, allocations: 11.98 kB / 0.5688 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.6447, allocations: 4 kB / 0.5688 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.6448, allocations: 4 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.6448, allocations: 4 kB / 0.5688 GB, free: 10.25 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 (5): * Single equations (assignments): 5 * 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.000119/0.645, allocations: 125.8 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.645, allocations: 7.906 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.6454, allocations: 101.8 kB / 0.5691 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.6454, allocations: 11.95 kB / 0.5691 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6455, allocations: 0 / 0.5691 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6455, allocations: 0 / 0.5691 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.6461, allocations: 358.9 kB / 0.5694 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.6462, allocations: 4 kB / 0.5694 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.6463, allocations: 19.98 kB / 0.5694 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.6463, allocations: 3.953 kB / 0.5694 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6463, allocations: 0 / 0.5694 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.6463, allocations: 0 / 0.5694 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6463, allocations: 0 / 0.5694 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.6467, allocations: 187.4 kB / 0.5696 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.6468, allocations: 89 kB / 0.5697 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.6469, allocations: 11.95 kB / 0.5697 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.647, allocations: 4 kB / 0.5697 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.647, allocations: 7.984 kB / 0.5697 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.6471, allocations: 0 / 0.5697 GB, free: 9.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.6472, allocations: 135.7 kB / 0.5699 GB, free: 9.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6472, allocations: 0 / 0.5699 GB, free: 9.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.6476, allocations: 19.94 kB / 0.5699 GB, free: 9.082 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 (5): * Single equations (assignments): 5 * 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.001853/0.6494, allocations: 1.035 MB / 0.5709 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.6498, allocations: 55.91 kB / 0.5709 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6498, allocations: 0 / 0.5709 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.6499, allocations: 27.98 kB / 0.571 GB, free: 8.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.6503, allocations: 11.98 kB / 0.571 GB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.6518, allocations: 0.6292 MB / 0.5716 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.6522, allocations: 0.6965 MB / 0.5723 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/0.6523, allocations: 23.5 kB / 0.5723 GB, free: 6.602 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6523, allocations: 0 / 0.5723 GB, free: 6.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.702/3.354, allocations: 1.873 MB / 0.5741 GB, free: 4.73 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat does not exist to compare? outputFormat=mat