Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009129/0.000913, allocations: 98.25 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.325/0.325, allocations: 44.22 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003446, allocations: 12 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3611, allocations: 61.9 MB / 0.5096 GB, free: 37.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4788, allocations: 91.05 MB / 0.5986 GB, free: 3.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4791, allocations: 83.92 kB / 0.5986 GB, free: 3.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02377/0.5029, allocations: 8.938 MB / 0.6074 GB, free: 10.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.503, allocations: 0 / 0.6074 GB, free: 10.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.914e-05/0.503, allocations: 15.94 kB / 0.6074 GB, free: 10.92 MB / 426.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.001014/0.5041, allocations: 0.634 MB / 0.608 GB, free: 10.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5041, allocations: 8.031 kB / 0.608 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.535e-05/0.5042, allocations: 46.55 kB / 0.6081 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.5043, allocations: 39.53 kB / 0.6081 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.505, allocations: 349.1 kB / 0.6084 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.505, allocations: 15.98 kB / 0.6084 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.505, allocations: 11.91 kB / 0.6084 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.5053, allocations: 118.7 kB / 0.6086 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5053, allocations: 7.938 kB / 0.6086 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.5054, allocations: 4 kB / 0.6086 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5054, allocations: 4 kB / 0.6086 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.5056, allocations: 87.94 kB / 0.6087 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000919/0.5065, allocations: 0.5314 MB / 0.6092 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.5067, allocations: 118.4 kB / 0.6093 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.5068, allocations: 7.953 kB / 0.6093 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.5068, allocations: 42.53 kB / 0.6093 GB, free: 8.738 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 2.315e-06/0.5068, allocations: 0 / 0.6093 GB, free: 8.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001089/0.5079, allocations: 448 kB / 0.6098 GB, free: 8.293 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.508, allocations: 59.34 kB / 0.6098 GB, free: 8.223 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.5086, allocations: 0.497 MB / 0.6103 GB, free: 7.715 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.5086, allocations: 29.7 kB / 0.6103 GB, free: 7.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.5088, allocations: 208.4 kB / 0.6105 GB, free: 7.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.5088, allocations: 47.17 kB / 0.6106 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.5089, allocations: 4 kB / 0.6106 GB, free: 7.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.509, allocations: 350.8 kB / 0.6109 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.5092, allocations: 71.95 kB / 0.611 GB, free: 7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.5093, allocations: 77.36 kB / 0.6111 GB, free: 6.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.5095, allocations: 73.69 kB / 0.6111 GB, free: 6.855 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.5095, allocations: 3.953 kB / 0.6111 GB, free: 6.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003859/0.5099, allocations: 233 kB / 0.6114 GB, free: 6.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5099, allocations: 8 kB / 0.6114 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5099, allocations: 4 kB / 0.6114 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.5099, allocations: 0 / 0.6114 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.5101, allocations: 35.92 kB / 0.6114 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5101, allocations: 0 / 0.6114 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.5102, allocations: 19.92 kB / 0.6114 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5102, allocations: 4 kB / 0.6114 GB, free: 6.547 MB / 426.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.0001988/0.5104, allocations: 182.3 kB / 0.6116 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.5105, allocations: 47.39 kB / 0.6116 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.5111, allocations: 287 kB / 0.6119 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5111, allocations: 0 / 0.6119 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5111, allocations: 0 / 0.6119 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5111, allocations: 4 kB / 0.6119 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.5122, allocations: 0.7362 MB / 0.6126 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5122, allocations: 4 kB / 0.6126 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.5123, allocations: 39.92 kB / 0.6127 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.5124, allocations: 3.984 kB / 0.6127 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5124, allocations: 7.938 kB / 0.6127 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5124, allocations: 0 / 0.6127 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5124, allocations: 0 / 0.6127 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.5128, allocations: 342 kB / 0.613 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.513, allocations: 148.6 kB / 0.6132 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.5131, allocations: 3.938 kB / 0.6132 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5132, allocations: 12 kB / 0.6132 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.5132, allocations: 11.98 kB / 0.6132 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.5133, allocations: 4 kB / 0.6132 GB, free: 4.629 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000453/0.5137, allocations: 407.1 kB / 0.6136 GB, free: 4.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5137, allocations: 0 / 0.6136 GB, free: 4.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.5141, allocations: 71.92 kB / 0.6137 GB, free: 4.164 MB / 426.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.002205/0.5163, allocations: 1.485 MB / 0.6151 GB, free: 2.977 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.5167, allocations: 167.8 kB / 0.6153 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5167, allocations: 0 / 0.6153 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.5168, allocations: 99.88 kB / 0.6154 GB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.5173, allocations: 62.05 kB / 0.6154 GB, free: 2.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.5205, allocations: 2.103 MB / 0.6175 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.521, allocations: 0.8301 MB / 0.6183 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.5212, allocations: 69.89 kB / 0.6183 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.5214, allocations: 127.4 kB / 0.6185 GB, free: 15.45 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5214, allocations: 0 / 0.6185 GB, free: 15.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.5435, allocations: 7.174 MB / 0.6255 GB, free: 8.414 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.5438, allocations: 212.6 kB / 0.6257 GB, free: 8.176 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.521, allocations: 0 / 0.6257 GB, free: 8.176 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat