Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001981/0.001981, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008256/0.0008256, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1945/0.1945, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 58.85 MB / 490.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.4929, allocations: 86.49 MB / 0.5633 GB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4932, allocations: 74.14 kB / 0.5634 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01051/0.5037, allocations: 4.172 MB / 0.5675 GB, free: 9.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5038, allocations: 4 kB / 0.5675 GB, free: 9.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.5038, allocations: 0 / 0.5675 GB, free: 9.566 MB / 378.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.0004343/0.5042, allocations: 426 kB / 0.5679 GB, free: 9.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5043, allocations: 12.03 kB / 0.5679 GB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.5043, allocations: 37.92 kB / 0.5679 GB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.5044, allocations: 19.77 kB / 0.5679 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.5046, allocations: 206.1 kB / 0.5681 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5047, allocations: 3.875 kB / 0.5681 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.5047, allocations: 8 kB / 0.5681 GB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5048, allocations: 49.36 kB / 0.5682 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.5048, allocations: 0 / 0.5682 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.5049, allocations: 0 / 0.5682 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.5049, allocations: 3.984 kB / 0.5682 GB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.846e-05/0.505, allocations: 34.42 kB / 0.5682 GB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.5054, allocations: 308.8 kB / 0.5685 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.5056, allocations: 51.8 kB / 0.5686 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.5056, allocations: 0 / 0.5686 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5056, allocations: 43.06 kB / 0.5686 GB, free: 8.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5056, allocations: 0 / 0.5686 GB, free: 8.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005663/0.5062, allocations: 176.5 kB / 0.5688 GB, free: 8.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.5063, allocations: 59.34 kB / 0.5688 GB, free: 8.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.5065, allocations: 237.2 kB / 0.5691 GB, free: 7.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.5065, allocations: 25.7 kB / 0.5691 GB, free: 7.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.5066, allocations: 112.6 kB / 0.5692 GB, free: 7.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.5066, allocations: 11.75 kB / 0.5692 GB, free: 7.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.5066, allocations: 10.75 kB / 0.5692 GB, free: 7.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5068, allocations: 322.6 kB / 0.5695 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.5068, allocations: 30.48 kB / 0.5696 GB, free: 7.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.5069, allocations: 19.55 kB / 0.5696 GB, free: 7.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.532e-05/0.507, allocations: 27.55 kB / 0.5696 GB, free: 7.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.507, allocations: 0 / 0.5696 GB, free: 7.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002105/0.5072, allocations: 103.4 kB / 0.5697 GB, free: 7.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5072, allocations: 8 kB / 0.5697 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5073, allocations: 4 kB / 0.5697 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5073, allocations: 0 / 0.5697 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.5073, allocations: 19.92 kB / 0.5697 GB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5074, allocations: 3.953 kB / 0.5697 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.5074, allocations: 8 kB / 0.5697 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5074, allocations: 4 kB / 0.5697 GB, free: 7.168 MB / 378.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 (5): * Single equations (assignments): 5 * 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.0001185/0.5075, allocations: 137.2 kB / 0.5699 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.5076, allocations: 15.8 kB / 0.5699 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.5079, allocations: 113.3 kB / 0.57 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5079, allocations: 0 / 0.57 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5079, allocations: 0 / 0.57 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5079, allocations: 3.953 kB / 0.57 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.5084, allocations: 406.6 kB / 0.5704 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5084, allocations: 4 kB / 0.5704 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.5085, allocations: 15.98 kB / 0.5704 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5085, allocations: 0 / 0.5704 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.5085, allocations: 0 / 0.5704 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5085, allocations: 3.953 kB / 0.5704 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5085, allocations: 0 / 0.5704 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.5087, allocations: 209.6 kB / 0.5706 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.5088, allocations: 92.7 kB / 0.5707 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.5089, allocations: 0 / 0.5707 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.5089, allocations: 12.17 kB / 0.5707 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.509, allocations: 3.953 kB / 0.5707 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.509, allocations: 11.94 kB / 0.5707 GB, free: 6.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001689/0.5092, allocations: 203 kB / 0.5709 GB, free: 5.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5092, allocations: 0 / 0.5709 GB, free: 5.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.5094, allocations: 31.62 kB / 0.571 GB, free: 5.938 MB / 378.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 (5): * Single equations (assignments): 5 * 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.001239/0.5107, allocations: 1.018 MB / 0.5719 GB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.5109, allocations: 62.89 kB / 0.572 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5109, allocations: 0 / 0.572 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.511, allocations: 31.48 kB / 0.572 GB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.5112, allocations: 27.69 kB / 0.5721 GB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.5125, allocations: 0.8527 MB / 0.5729 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5128, allocations: 0.7228 MB / 0.5736 GB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.181e-05/0.5129, allocations: 20.16 kB / 0.5736 GB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.513, allocations: 38.91 kB / 0.5737 GB, free: 3.266 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.513, allocations: 0 / 0.5737 GB, free: 3.266 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.5268, allocations: 2.763 MB / 0.5764 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.5271, allocations: 215.5 kB / 0.5766 GB, free: 288 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.096, allocations: 0 / 0.5766 GB, free: 288 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat does not exist to compare? outputFormat=mat