Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001145/0.001145, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.321/1.321, allocations: 223.2 MB / 241 MB, free: 10.16 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.0008831/0.0008829, allocations: 94.64 kB / 292.1 MB, free: 10.69 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.3489/0.3489, allocations: 44.21 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.369, allocations: 61.91 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4827, allocations: 89.01 MB / 0.5966 GB, free: 6.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.483, allocations: 83.92 kB / 0.5966 GB, free: 6.012 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.5012, allocations: 8.524 MB / 0.605 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5012, allocations: 0 / 0.605 GB, free: 13.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.5012, allocations: 8 kB / 0.605 GB, free: 13.46 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007573/0.502, allocations: 0.6414 MB / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5021, allocations: 11.97 kB / 0.6056 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.5021, allocations: 30.56 kB / 0.6056 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.5022, allocations: 43.44 kB / 0.6057 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.5027, allocations: 347.2 kB / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.5027, allocations: 4 kB / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.5028, allocations: 0 / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.503, allocations: 73.66 kB / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.503, allocations: 0 / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.503, allocations: 0 / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.503, allocations: 0 / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.5032, allocations: 55.91 kB / 0.6061 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.5039, allocations: 468.5 kB / 0.6066 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.5042, allocations: 74.58 kB / 0.6067 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.5042, allocations: 128 / 0.6067 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.5042, allocations: 34.56 kB / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.5042, allocations: 0 / 0.6067 GB, free: 11.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001534/0.5058, allocations: 0.566 MB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5058, allocations: 56.69 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.507, allocations: 0.7824 MB / 0.6081 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.507, allocations: 33.7 kB / 0.6081 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.5072, allocations: 216 kB / 0.6083 GB, free: 9.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.5072, allocations: 39.39 kB / 0.6083 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.5073, allocations: 4 kB / 0.6083 GB, free: 9.793 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5074, allocations: 358.8 kB / 0.6087 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.5076, allocations: 63.95 kB / 0.6087 GB, free: 9.371 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.5077, allocations: 59.95 kB / 0.6088 GB, free: 9.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.5078, allocations: 75.91 kB / 0.6089 GB, free: 9.238 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5078, allocations: 0 / 0.6089 GB, free: 9.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003623/0.5082, allocations: 217 kB / 0.6091 GB, free: 9.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5082, allocations: 4 kB / 0.6091 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5082, allocations: 0 / 0.6091 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5083, allocations: 3.953 kB / 0.6091 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.5084, allocations: 31.92 kB / 0.6091 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5084, allocations: 0 / 0.6091 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.5085, allocations: 15.98 kB / 0.6091 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.5085, allocations: 8 kB / 0.6091 GB, free: 8.957 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 (11): * Single equations (assignments): 11 * 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.0001945/0.5087, allocations: 222.2 kB / 0.6094 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.5088, allocations: 43.44 kB / 0.6094 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.5092, allocations: 241.4 kB / 0.6096 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5092, allocations: 0 / 0.6096 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5093, allocations: 3.953 kB / 0.6096 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5093, allocations: 0 / 0.6096 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.5104, allocations: 0.7458 MB / 0.6104 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5104, allocations: 4.5 kB / 0.6104 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.5105, allocations: 39.94 kB / 0.6104 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5105, allocations: 7.984 kB / 0.6104 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5106, allocations: 3.984 kB / 0.6104 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5106, allocations: 8 kB / 0.6104 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5106, allocations: 0 / 0.6104 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.5111, allocations: 340 kB / 0.6107 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.5113, allocations: 164.5 kB / 0.6109 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.5114, allocations: 4 kB / 0.6109 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5115, allocations: 12 kB / 0.6109 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.5115, allocations: 15.92 kB / 0.6109 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5116, allocations: 4 kB / 0.6109 GB, free: 6.984 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006913/0.5123, allocations: 0.6393 MB / 0.6116 GB, free: 6.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5123, allocations: 4 kB / 0.6116 GB, free: 6.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.5126, allocations: 67.94 kB / 0.6116 GB, free: 6.277 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001661/0.5143, allocations: 1.378 MB / 0.613 GB, free: 5.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.5146, allocations: 147.8 kB / 0.6131 GB, free: 4.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5146, allocations: 0 / 0.6131 GB, free: 4.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5148, allocations: 72.03 kB / 0.6132 GB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.5151, allocations: 34.47 kB / 0.6132 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.5183, allocations: 2.554 MB / 0.6157 GB, free: 2.172 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.5187, allocations: 0.8379 MB / 0.6165 GB, free: 1.305 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.5189, allocations: 68.7 kB / 0.6166 GB, free: 1.238 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.5191, allocations: 135.4 kB / 0.6167 GB, free: 1.105 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5191, allocations: 0 / 0.6167 GB, free: 1.105 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.5388, allocations: 6.981 MB / 0.6235 GB, free: 10.24 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.539, allocations: 231.1 kB / 0.6238 GB, free: 9.988 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.601, allocations: 0 / 0.6238 GB, free: 9.988 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat