Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001686/0.001686, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.655/1.655, allocations: 221.3 MB / 236 MB, free: 3 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.0008832/0.0008831, allocations: 96.03 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2731/0.2731, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.295e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.6288, allocations: 88.97 MB / 0.5887 GB, free: 276 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.6292, allocations: 76.92 kB / 0.5888 GB, free: 200 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01141/0.6406, allocations: 4.139 MB / 0.5928 GB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6406, allocations: 0 / 0.5928 GB, free: 12.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.6406, allocations: 4 kB / 0.5928 GB, free: 12.06 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005725/0.6412, allocations: 410.2 kB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.6413, allocations: 12.03 kB / 0.5932 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.6413, allocations: 38.53 kB / 0.5932 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.6414, allocations: 11.91 kB / 0.5933 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.6417, allocations: 202.4 kB / 0.5934 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.6417, allocations: 8 kB / 0.5935 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.6418, allocations: 4 kB / 0.5935 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.6419, allocations: 67.23 kB / 0.5935 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.642, allocations: 3.984 kB / 0.5935 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.642, allocations: 4 kB / 0.5935 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.642, allocations: 3.938 kB / 0.5935 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.417e-05/0.6421, allocations: 31.94 kB / 0.5936 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006806/0.6428, allocations: 352.7 kB / 0.5939 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6429, allocations: 58.5 kB / 0.594 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.643, allocations: 24.98 kB / 0.594 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.643, allocations: 4.062 kB / 0.594 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.6431, allocations: 34.56 kB / 0.594 GB, free: 10.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.6431, allocations: 0 / 0.594 GB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008343/0.6439, allocations: 249.1 kB / 0.5943 GB, free: 10.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.644, allocations: 81.11 kB / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.6441, allocations: 138.1 kB / 0.5945 GB, free: 10.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.6442, allocations: 29.7 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.6442, allocations: 104.2 kB / 0.5946 GB, free: 10.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.6443, allocations: 27.56 kB / 0.5946 GB, free: 9.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.6443, allocations: 4 kB / 0.5946 GB, free: 9.977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6444, allocations: 318.8 kB / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.6445, allocations: 35.98 kB / 0.595 GB, free: 9.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.6446, allocations: 49.64 kB / 0.595 GB, free: 9.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.78e-05/0.6446, allocations: 40.02 kB / 0.595 GB, free: 9.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6446, allocations: 0 / 0.595 GB, free: 9.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.6448, allocations: 113.8 kB / 0.5952 GB, free: 9.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6449, allocations: 8.094 kB / 0.5952 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6449, allocations: 3.938 kB / 0.5952 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6449, allocations: 192 / 0.5952 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.6452, allocations: 55.95 kB / 0.5952 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.6452, allocations: 0 / 0.5952 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.6453, allocations: 39.95 kB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.6454, allocations: 7.953 kB / 0.5953 GB, free: 9.297 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 (10): * Single equations (assignments): 10 * 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.089e-05/0.6455, allocations: 112.9 kB / 0.5954 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.6455, allocations: 7.906 kB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.6458, allocations: 130.2 kB / 0.5955 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6458, allocations: 4 kB / 0.5955 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6458, allocations: 3.938 kB / 0.5955 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6458, allocations: 0 / 0.5955 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.6463, allocations: 430.3 kB / 0.5959 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6463, allocations: 4 kB / 0.5959 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.6465, allocations: 51.95 kB / 0.596 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6465, allocations: 0 / 0.596 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6465, allocations: 0 / 0.596 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6466, allocations: 0 / 0.596 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6466, allocations: 3.953 kB / 0.596 GB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.6468, allocations: 207.4 kB / 0.5962 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.6469, allocations: 93 kB / 0.5963 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.6469, allocations: 0 / 0.5963 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.6471, allocations: 36.25 kB / 0.5963 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.6472, allocations: 19.92 kB / 0.5963 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.6472, allocations: 4 kB / 0.5963 GB, free: 8.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.6473, allocations: 123.1 kB / 0.5964 GB, free: 7.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6473, allocations: 3.938 kB / 0.5964 GB, free: 7.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.6476, allocations: 39.94 kB / 0.5965 GB, free: 7.945 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 (9): * Single equations (assignments): 9 * 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.001601/0.6492, allocations: 1.051 MB / 0.5975 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.6494, allocations: 79.92 kB / 0.5976 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6495, allocations: 8 kB / 0.5976 GB, free: 6.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.6495, allocations: 43.92 kB / 0.5976 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.6498, allocations: 18.05 kB / 0.5977 GB, free: 6.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.6504, allocations: 223.5 kB / 0.5979 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.6508, allocations: 0.712 MB / 0.5986 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.6509, allocations: 28.53 kB / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.93e-05/0.651, allocations: 43.3 kB / 0.5986 GB, free: 5.781 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.651, allocations: 0 / 0.5986 GB, free: 5.781 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.6656, allocations: 3.201 MB / 0.6018 GB, free: 2.668 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.6658, allocations: 197.8 kB / 0.6019 GB, free: 2.445 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.285, allocations: 0 / 0.6019 GB, free: 2.445 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat