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.001009/0.001008, 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.285/1.285, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008393/0.0008393, allocations: 102.8 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.3622/0.3622, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003709, allocations: 11.98 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3729, allocations: 61.89 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.4912, allocations: 89.04 MB / 0.5966 GB, free: 6.082 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4915, allocations: 87.89 kB / 0.5967 GB, free: 6.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0114/0.5029, allocations: 4.147 MB / 0.6007 GB, free: 1.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.503, allocations: 0 / 0.6007 GB, free: 1.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.503, allocations: 0 / 0.6007 GB, free: 1.848 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.0006628/0.5037, allocations: 430.9 kB / 0.6011 GB, free: 1.379 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.5038, allocations: 12.02 kB / 0.6011 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.5038, allocations: 38.5 kB / 0.6012 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.5039, allocations: 7.906 kB / 0.6012 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.5042, allocations: 203.5 kB / 0.6014 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5042, allocations: 0 / 0.6014 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.5042, allocations: 15.94 kB / 0.6014 GB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.5045, allocations: 99.34 kB / 0.6015 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.5046, allocations: 7.891 kB / 0.6015 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5046, allocations: 3.938 kB / 0.6015 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5046, allocations: 8 kB / 0.6015 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.5049, allocations: 99.86 kB / 0.6016 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.5056, allocations: 352.7 kB / 0.6019 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.5058, allocations: 82.53 kB / 0.602 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.5058, allocations: 3.938 kB / 0.602 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5059, allocations: 38.55 kB / 0.6021 GB, free: 300 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.5059, allocations: 0 / 0.6021 GB, free: 300 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001714/0.5076, allocations: 0.4932 MB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.5077, allocations: 77.11 kB / 0.6026 GB, free: 15.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.5078, allocations: 144.1 kB / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.5079, allocations: 33.7 kB / 0.6028 GB, free: 15.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.5079, allocations: 100.3 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.508, allocations: 31.55 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.508, allocations: 0 / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5081, allocations: 318.8 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.5085, allocations: 103.9 kB / 0.6033 GB, free: 14.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.5088, allocations: 121.6 kB / 0.6034 GB, free: 14.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.5091, allocations: 99.95 kB / 0.6035 GB, free: 14.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.5091, allocations: 0 / 0.6035 GB, free: 14.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006605/0.5098, allocations: 253.7 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5098, allocations: 7.984 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5098, allocations: 8 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5098, allocations: 96 / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.5101, allocations: 47.91 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.5101, allocations: 3.984 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.5102, allocations: 35.97 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5103, allocations: 3.984 kB / 0.6039 GB, free: 14.37 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 (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 9.876e-05/0.5104, allocations: 126.3 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.5104, allocations: 15.8 kB / 0.604 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.5111, allocations: 262.2 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5111, allocations: 3.938 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5112, allocations: 7.984 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5112, allocations: 4 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/0.5122, allocations: 0.5529 MB / 0.6048 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5122, allocations: 0 / 0.6048 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.5124, allocations: 47.95 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5124, allocations: 4 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5124, allocations: 0 / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5124, allocations: 0 / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5124, allocations: 4.328 kB / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.5131, allocations: 347.1 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.5132, allocations: 89 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.5132, allocations: 8 kB / 0.6053 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.5134, allocations: 35.97 kB / 0.6053 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.5135, allocations: 7.984 kB / 0.6053 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.5135, allocations: 12.23 kB / 0.6053 GB, free: 12.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.5136, allocations: 113.3 kB / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5136, allocations: 0 / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002922/0.5139, allocations: 55.84 kB / 0.6055 GB, free: 12.59 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 (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.001978/0.5159, allocations: 1.225 MB / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006758/0.5166, allocations: 215.8 kB / 0.6069 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5166, allocations: 4 kB / 0.6069 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.5169, allocations: 111.9 kB / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.5171, allocations: 19.59 kB / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/0.518, allocations: 496 kB / 0.6075 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5183, allocations: 0.7082 MB / 0.6082 GB, free: 9.918 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.5184, allocations: 32.52 kB / 0.6082 GB, free: 9.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.5185, allocations: 31.42 kB / 0.6083 GB, free: 9.855 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5185, allocations: 0 / 0.6083 GB, free: 9.855 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.5328, allocations: 3.174 MB / 0.6114 GB, free: 6.824 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/0.5331, allocations: 236.7 kB / 0.6116 GB, free: 6.578 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.14, allocations: 4 kB / 0.6116 GB, free: 6.574 MB / 426.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