Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001466/0.001466, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.5 MB / 230.7 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008456/0.0008455, allocations: 85.86 kB / 281.6 MB, free: 5.336 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.2338/0.2338, allocations: 44.14 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.931e-05, allocations: 8.156 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4071/0.542, allocations: 88 MB / 0.5807 GB, free: 8.367 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.5423, allocations: 75.94 kB / 0.5808 GB, free: 8.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.5597, allocations: 8.012 MB / 0.5886 GB, free: 288 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5598, allocations: 0 / 0.5886 GB, free: 288 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.5598, allocations: 4 kB / 0.5886 GB, free: 284 kB / 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.0005712/0.5604, allocations: 0.5443 MB / 0.5891 GB, free: 15.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5605, allocations: 15.98 kB / 0.5892 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.28e-05/0.5605, allocations: 39.44 kB / 0.5892 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.561, allocations: 350.9 kB / 0.5895 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.561, allocations: 0 / 0.5895 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.561, allocations: 4 kB / 0.5895 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.177e-05/0.5611, allocations: 12 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.423e-05/0.5612, allocations: 41.69 kB / 0.5896 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.5612, allocations: 4 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.5612, allocations: 0 / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5613, allocations: 4 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.5618, allocations: 417.4 kB / 0.59 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.5619, allocations: 42.5 kB / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.562, allocations: 16.86 kB / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.562, allocations: 0 / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.562, allocations: 34.56 kB / 0.5901 GB, free: 14.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.5621, allocations: 0 / 0.5901 GB, free: 14.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002171/0.5623, allocations: 89.22 kB / 0.5902 GB, free: 14.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.5623, allocations: 51.41 kB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5635, allocations: 0.7551 MB / 0.5909 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.5635, allocations: 29.7 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.5637, allocations: 212.1 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.5637, allocations: 7.844 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.5637, allocations: 0 / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.5639, allocations: 370.7 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.5639, allocations: 7.938 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.5639, allocations: 8 kB / 0.5916 GB, free: 13.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.564, allocations: 16.12 kB / 0.5916 GB, free: 13.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.564, allocations: 0 / 0.5916 GB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001219/0.5641, allocations: 93.11 kB / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5641, allocations: 8 kB / 0.5917 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5641, allocations: 0 / 0.5917 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5642, allocations: 0 / 0.5917 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.5642, allocations: 8 kB / 0.5917 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5643, allocations: 3.984 kB / 0.5917 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.5643, allocations: 8 kB / 0.5917 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.5644, allocations: 0 / 0.5917 GB, free: 12.92 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.657e-05/0.5644, allocations: 115.2 kB / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001404/0.5646, allocations: 97 kB / 0.5919 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.5647, allocations: 39.53 kB / 0.5919 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.5649, allocations: 105.3 kB / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5649, allocations: 3.984 kB / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5649, allocations: 0 / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5649, allocations: 0 / 0.592 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.5652, allocations: 317.9 kB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5653, allocations: 3.938 kB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.5653, allocations: 12 kB / 0.5923 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5653, allocations: 0 / 0.5923 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5653, allocations: 3.984 kB / 0.5924 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5654, allocations: 0 / 0.5924 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5654, allocations: 7.938 kB / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.5656, allocations: 183 kB / 0.5925 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.5658, allocations: 160.5 kB / 0.5927 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.5659, allocations: 0 / 0.5927 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.566, allocations: 12 kB / 0.5927 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.566, allocations: 3.984 kB / 0.5927 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.566, allocations: 0 / 0.5927 GB, free: 11.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007285/0.5668, allocations: 0.6082 MB / 0.5933 GB, free: 11.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5668, allocations: 0 / 0.5933 GB, free: 11.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.5671, allocations: 52 kB / 0.5933 GB, free: 11.12 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.00131/0.5684, allocations: 0.9363 MB / 0.5943 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.5685, allocations: 19.98 kB / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5685, allocations: 1.156 kB / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.5686, allocations: 12 kB / 0.5943 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.5689, allocations: 26.08 kB / 0.5943 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5702, allocations: 0.8056 MB / 0.5951 GB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.5707, allocations: 0.834 MB / 0.5959 GB, free: 8.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.5708, allocations: 48.16 kB / 0.596 GB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.571, allocations: 115.4 kB / 0.5961 GB, free: 8.305 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.571, allocations: 0 / 0.5961 GB, free: 8.305 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.5978, allocations: 5.677 MB / 0.6016 GB, free: 2.617 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.598, allocations: 164.9 kB / 0.6018 GB, free: 2.426 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.568, allocations: 0 / 0.6018 GB, free: 2.426 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat