Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_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.001024/0.001024, allocations: 183.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009426/0.0009422, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2352/0.2352, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5707, allocations: 89.13 MB / 0.5659 GB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.571, allocations: 74.22 kB / 0.566 GB, free: 10.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02363/0.5947, allocations: 9.117 MB / 0.5749 GB, free: 2.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5947, allocations: 0 / 0.5749 GB, free: 2.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.597e-05/0.5948, allocations: 15.98 kB / 0.5749 GB, free: 2.797 MB / 378.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.0008048/0.5956, allocations: 0.6336 MB / 0.5755 GB, free: 2.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5957, allocations: 12.03 kB / 0.5755 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.5957, allocations: 38.5 kB / 0.5755 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.5958, allocations: 43.48 kB / 0.5756 GB, free: 2.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.5964, allocations: 355.8 kB / 0.5759 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5964, allocations: 7.938 kB / 0.5759 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.5964, allocations: 15.41 kB / 0.5759 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.5967, allocations: 120.6 kB / 0.5761 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.5967, allocations: 0 / 0.5761 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5967, allocations: 3.812 kB / 0.5761 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5968, allocations: 8 kB / 0.5761 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.597, allocations: 91.02 kB / 0.5762 GB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.5978, allocations: 0.5401 MB / 0.5767 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.598, allocations: 109.3 kB / 0.5768 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.5981, allocations: 11.77 kB / 0.5768 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5981, allocations: 34.5 kB / 0.5768 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.675e-06/0.5981, allocations: 0 / 0.5768 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001061/0.5992, allocations: 450.2 kB / 0.5773 GB, free: 488 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.5992, allocations: 51.41 kB / 0.5773 GB, free: 424 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005925/0.5998, allocations: 0.5056 MB / 0.5778 GB, free: 15.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.5998, allocations: 25.7 kB / 0.5778 GB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.6, allocations: 206.5 kB / 0.578 GB, free: 15.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.6, allocations: 57.3 kB / 0.5781 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.6001, allocations: 3.938 kB / 0.5781 GB, free: 15.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6002, allocations: 351.4 kB / 0.5784 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.6003, allocations: 66.83 kB / 0.5785 GB, free: 15.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.6005, allocations: 80.83 kB / 0.5786 GB, free: 15.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.6006, allocations: 71.91 kB / 0.5786 GB, free: 15.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.6006, allocations: 0 / 0.5786 GB, free: 15.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003714/0.601, allocations: 248.5 kB / 0.5789 GB, free: 15.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.601, allocations: 4 kB / 0.5789 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6011, allocations: 0 / 0.5789 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6011, allocations: 0 / 0.5789 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.6012, allocations: 35.97 kB / 0.5789 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.6012, allocations: 4 kB / 0.5789 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.6013, allocations: 15.12 kB / 0.5789 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.6014, allocations: 7.953 kB / 0.5789 GB, free: 15.03 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.0002018/0.6016, allocations: 188.5 kB / 0.5791 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.6016, allocations: 39.44 kB / 0.5792 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.6022, allocations: 281.9 kB / 0.5794 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6022, allocations: 12 kB / 0.5794 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6022, allocations: 0 / 0.5794 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6022, allocations: 0 / 0.5794 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.6032, allocations: 0.7368 MB / 0.5802 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6032, allocations: 0 / 0.5802 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.6033, allocations: 39.91 kB / 0.5802 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6034, allocations: 0 / 0.5802 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6034, allocations: 7 kB / 0.5802 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6034, allocations: 3.953 kB / 0.5802 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6034, allocations: 3.984 kB / 0.5802 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.6038, allocations: 341.7 kB / 0.5805 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.604, allocations: 142.7 kB / 0.5807 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.604, allocations: 4 kB / 0.5807 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.6041, allocations: 7.25 kB / 0.5807 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.6042, allocations: 19.92 kB / 0.5807 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.6042, allocations: 7.375 kB / 0.5807 GB, free: 13.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004365/0.6047, allocations: 403 kB / 0.5811 GB, free: 13.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6047, allocations: 7.875 kB / 0.5811 GB, free: 13.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.605, allocations: 69.3 kB / 0.5812 GB, free: 13.03 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 (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.002172/0.6072, allocations: 1.494 MB / 0.5826 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.6076, allocations: 163.8 kB / 0.5828 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6076, allocations: 4 kB / 0.5828 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.6077, allocations: 93.33 kB / 0.5829 GB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.6082, allocations: 65.97 kB / 0.5829 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.6111, allocations: 2.092 MB / 0.585 GB, free: 9.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.6115, allocations: 0.8217 MB / 0.5858 GB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.6117, allocations: 65.89 kB / 0.5858 GB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.6119, allocations: 127.5 kB / 0.586 GB, free: 8.566 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6119, allocations: 0 / 0.586 GB, free: 8.566 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.6315, allocations: 7.156 MB / 0.593 GB, free: 1.41 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.6318, allocations: 208.6 kB / 0.5931 GB, free: 1.172 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.604, allocations: 4 kB / 0.5932 GB, free: 1.168 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat