Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.0009988/0.0009988, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.293/1.293, allocations: 223.2 MB / 241 MB, free: 11.91 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.0008723/0.0008726, allocations: 98.66 kB / 292.1 MB, free: 10.93 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.3486/0.3486, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 11.98 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3846, allocations: 61.89 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.5152, allocations: 90.43 MB / 0.5979 GB, free: 4.699 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5155, allocations: 87.88 kB / 0.598 GB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02271/0.5383, allocations: 8.635 MB / 0.6065 GB, free: 11.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.519e-06/0.5383, allocations: 4 kB / 0.6065 GB, free: 11.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.714e-05/0.5384, allocations: 8 kB / 0.6065 GB, free: 11.96 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001054/0.5394, allocations: 0.6028 MB / 0.6071 GB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.5395, allocations: 8.031 kB / 0.6071 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.629e-05/0.5396, allocations: 42.5 kB / 0.6071 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.5397, allocations: 35.53 kB / 0.6071 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/0.5404, allocations: 333.2 kB / 0.6075 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5404, allocations: 8 kB / 0.6075 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.5404, allocations: 4 kB / 0.6075 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.5407, allocations: 77.67 kB / 0.6075 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5407, allocations: 0 / 0.6075 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.5407, allocations: 4 kB / 0.6075 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5407, allocations: 3.938 kB / 0.6076 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.5409, allocations: 55.91 kB / 0.6076 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007483/0.5416, allocations: 460.4 kB / 0.608 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.5418, allocations: 62.5 kB / 0.6081 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.5418, allocations: 3.984 kB / 0.6081 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.5419, allocations: 38.56 kB / 0.6081 GB, free: 10.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.075e-05/0.5419, allocations: 4 kB / 0.6082 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003843/0.5423, allocations: 129.4 kB / 0.6083 GB, free: 9.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.5423, allocations: 51.41 kB / 0.6083 GB, free: 9.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.543, allocations: 497.1 kB / 0.6088 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.543, allocations: 25.7 kB / 0.6088 GB, free: 9.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5432, allocations: 204.1 kB / 0.609 GB, free: 9.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.5432, allocations: 23.73 kB / 0.609 GB, free: 9.109 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5433, allocations: 0 / 0.609 GB, free: 9.109 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5434, allocations: 350.8 kB / 0.6094 GB, free: 8.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.5435, allocations: 16 kB / 0.6094 GB, free: 8.742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.5436, allocations: 19.98 kB / 0.6094 GB, free: 8.723 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.482e-05/0.5436, allocations: 27.98 kB / 0.6094 GB, free: 8.695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5437, allocations: 0 / 0.6094 GB, free: 8.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002241/0.5439, allocations: 113.2 kB / 0.6095 GB, free: 8.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5439, allocations: 4 kB / 0.6095 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5439, allocations: 0 / 0.6095 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.5439, allocations: 4 kB / 0.6095 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.544, allocations: 8 kB / 0.6096 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.5441, allocations: 7.891 kB / 0.6096 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.21e-05/0.5442, allocations: 23.92 kB / 0.6096 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.5442, allocations: 0 / 0.6096 GB, free: 8.531 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 (6): * Single equations (assignments): 6 * 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.0001636/0.5443, allocations: 162.3 kB / 0.6097 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.5444, allocations: 35.53 kB / 0.6098 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.5447, allocations: 128.8 kB / 0.6099 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5447, allocations: 4 kB / 0.6099 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5447, allocations: 4 kB / 0.6099 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5447, allocations: 7.938 kB / 0.6099 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.545, allocations: 297.4 kB / 0.6102 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.545, allocations: 0 / 0.6102 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.5451, allocations: 19.92 kB / 0.6102 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5451, allocations: 0.5 kB / 0.6102 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.5451, allocations: 0 / 0.6102 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5451, allocations: 0 / 0.6102 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5451, allocations: 4 kB / 0.6102 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.5454, allocations: 219 kB / 0.6104 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.5456, allocations: 140.7 kB / 0.6106 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.5457, allocations: 3.938 kB / 0.6106 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.5458, allocations: 4 kB / 0.6106 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.5458, allocations: 11.98 kB / 0.6106 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.5458, allocations: 4 kB / 0.6106 GB, free: 7.406 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000508/0.5463, allocations: 395.1 kB / 0.611 GB, free: 7.027 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5463, allocations: 0 / 0.611 GB, free: 7.027 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003317/0.5467, allocations: 55.83 kB / 0.611 GB, free: 6.973 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 (6): * Single equations (assignments): 6 * 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.001849/0.5485, allocations: 1.252 MB / 0.6122 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.5487, allocations: 59.91 kB / 0.6123 GB, free: 5.906 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5487, allocations: 0 / 0.6123 GB, free: 5.906 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.5488, allocations: 27.98 kB / 0.6123 GB, free: 5.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.5493, allocations: 58.55 kB / 0.6124 GB, free: 5.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.5519, allocations: 1.708 MB / 0.614 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5522, allocations: 0.7985 MB / 0.6148 GB, free: 3.234 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.5524, allocations: 61.45 kB / 0.6149 GB, free: 3.176 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.5526, allocations: 99.39 kB / 0.615 GB, free: 3.078 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5526, allocations: 0 / 0.615 GB, free: 3.078 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.5736, allocations: 6.177 MB / 0.621 GB, free: 13.04 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003789/0.5741, allocations: 213.1 kB / 0.6212 GB, free: 12.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.538, allocations: 0 / 0.6212 GB, free: 12.79 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat does not exist to compare? outputFormat=mat