Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21",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.002252/0.002252, allocations: 186.5 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.093/2.093, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001193/0.001193, allocations: 96.36 kB / 270.9 MB, free: 8.379 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.5207/0.5207, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005605/0.0005606, allocations: 12 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1662, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6539, allocations: 89.13 MB / 0.5659 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.6543, allocations: 71.95 kB / 0.5659 GB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05442/0.7087, allocations: 9.122 MB / 0.5748 GB, free: 4.203 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.903e-06/0.7088, allocations: 0 / 0.5748 GB, free: 4.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.569e-05/0.7089, allocations: 11.94 kB / 0.5749 GB, free: 4.191 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.001573/0.7105, allocations: 0.6363 MB / 0.5755 GB, free: 3.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/0.7106, allocations: 15.97 kB / 0.5755 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.827e-05/0.7107, allocations: 46.56 kB / 0.5755 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.7109, allocations: 39.53 kB / 0.5756 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.712, allocations: 353.1 kB / 0.5759 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.7121, allocations: 8 kB / 0.5759 GB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.7122, allocations: 15.91 kB / 0.5759 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.7127, allocations: 121.8 kB / 0.576 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.7127, allocations: 0 / 0.576 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.7128, allocations: 0 / 0.576 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.7128, allocations: 7.938 kB / 0.5761 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.7132, allocations: 99.89 kB / 0.5762 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.7148, allocations: 0.5315 MB / 0.5767 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.7153, allocations: 110.5 kB / 0.5768 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.381e-05/0.7154, allocations: 11.92 kB / 0.5768 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.7155, allocations: 30.56 kB / 0.5768 GB, free: 2.016 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 3.496e-06/0.7155, allocations: 0 / 0.5768 GB, free: 2.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002203/0.7177, allocations: 452.1 kB / 0.5772 GB, free: 1.566 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.7178, allocations: 59.34 kB / 0.5773 GB, free: 1.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.7193, allocations: 0.493 MB / 0.5778 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.7194, allocations: 29.7 kB / 0.5778 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.7197, allocations: 238.8 kB / 0.578 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/0.7198, allocations: 55.16 kB / 0.5781 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.7198, allocations: 8 kB / 0.5781 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.72, allocations: 314.8 kB / 0.5784 GB, free: 356 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.7204, allocations: 63.95 kB / 0.5785 GB, free: 292 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.7207, allocations: 76.73 kB / 0.5785 GB, free: 216 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.7212, allocations: 74.62 kB / 0.5786 GB, free: 144 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7212, allocations: 0 / 0.5786 GB, free: 144 kB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009827/0.7222, allocations: 209.4 kB / 0.5788 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.7223, allocations: 4 kB / 0.5788 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7223, allocations: 4 kB / 0.5788 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.7223, allocations: 4 kB / 0.5788 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.7228, allocations: 31.98 kB / 0.5788 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.7228, allocations: 0 / 0.5788 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.7233, allocations: 19.92 kB / 0.5789 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.7234, allocations: 7.953 kB / 0.5789 GB, free: 15.86 MB / 410.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.0005356/0.724, allocations: 185.7 kB / 0.5791 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.7243, allocations: 43.53 kB / 0.5791 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.7255, allocations: 292.3 kB / 0.5794 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7256, allocations: 0 / 0.5794 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.7256, allocations: 0 / 0.5794 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.7256, allocations: 7.984 kB / 0.5794 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.7284, allocations: 0.7324 MB / 0.5801 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7285, allocations: 0 / 0.5801 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.7289, allocations: 43.91 kB / 0.5801 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.7289, allocations: 0 / 0.5801 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.729, allocations: 8 kB / 0.5801 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.729, allocations: 3.953 kB / 0.5801 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.729, allocations: 3.938 kB / 0.5802 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.7303, allocations: 334.8 kB / 0.5805 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.7307, allocations: 148.6 kB / 0.5806 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7308, allocations: 7.938 kB / 0.5806 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.7312, allocations: 8 kB / 0.5806 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7313, allocations: 15.94 kB / 0.5806 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.7314, allocations: 15.98 kB / 0.5807 GB, free: 13.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001342/0.7327, allocations: 399.1 kB / 0.581 GB, free: 13.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.282e-06/0.7328, allocations: 4 kB / 0.581 GB, free: 13.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001019/0.7338, allocations: 67.92 kB / 0.5811 GB, free: 13.46 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.005203/0.7391, allocations: 1.477 MB / 0.5826 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.7402, allocations: 171.8 kB / 0.5827 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.7403, allocations: 3.938 kB / 0.5827 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.7407, allocations: 99.89 kB / 0.5828 GB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.7418, allocations: 61.47 kB / 0.5829 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.7502, allocations: 2.139 MB / 0.585 GB, free: 9.562 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/0.7511, allocations: 0.8301 MB / 0.5858 GB, free: 8.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/0.7517, allocations: 131.3 kB / 0.5859 GB, free: 8.578 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.7517, allocations: 0 / 0.5859 GB, free: 8.578 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.89/3.642, allocations: 6.648 MB / 0.5924 GB, free: 1.926 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat