Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.0009606/0.0009602, 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.42/1.42, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009121/0.0009122, allocations: 93.98 kB / 281.6 MB, free: 5.32 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.24/0.24, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.254e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.6298, allocations: 87.5 MB / 0.5802 GB, free: 8.879 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.6301, allocations: 71.97 kB / 0.5803 GB, free: 8.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01071/0.6408, allocations: 4.166 MB / 0.5843 GB, free: 4.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6408, allocations: 0 / 0.5843 GB, free: 4.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.6409, allocations: 0 / 0.5843 GB, free: 4.664 MB / 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.0003539/0.6412, allocations: 365 kB / 0.5847 GB, free: 4.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.6413, allocations: 11.98 kB / 0.5847 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.6413, allocations: 7.906 kB / 0.5847 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.6415, allocations: 189.2 kB / 0.5849 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.6416, allocations: 4 kB / 0.5849 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.6416, allocations: 0 / 0.5849 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.9e-05/0.6417, allocations: 27.88 kB / 0.5849 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.6418, allocations: 47.42 kB / 0.585 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6418, allocations: 0 / 0.585 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.6418, allocations: 0 / 0.585 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.6418, allocations: 4 kB / 0.585 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.6421, allocations: 249.5 kB / 0.5852 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.6423, allocations: 50.39 kB / 0.5853 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.6423, allocations: 8.859 kB / 0.5853 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.6423, allocations: 0 / 0.5853 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.6424, allocations: 34.56 kB / 0.5853 GB, free: 3.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.6424, allocations: 0 / 0.5853 GB, free: 3.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003797/0.6428, allocations: 97.42 kB / 0.5854 GB, free: 3.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.6428, allocations: 81.11 kB / 0.5855 GB, free: 3.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.6429, allocations: 117 kB / 0.5856 GB, free: 3.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.643, allocations: 25.7 kB / 0.5856 GB, free: 3.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.643, allocations: 96.12 kB / 0.5857 GB, free: 3.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.643, allocations: 15.75 kB / 0.5857 GB, free: 3.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.643, allocations: 0 / 0.5857 GB, free: 3.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6432, allocations: 318.8 kB / 0.586 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.6432, allocations: 8 kB / 0.586 GB, free: 2.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.6432, allocations: 25.72 kB / 0.5861 GB, free: 2.711 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.6433, allocations: 12.19 kB / 0.5861 GB, free: 2.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.6433, allocations: 0 / 0.5861 GB, free: 2.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.932e-05/0.6434, allocations: 61.55 kB / 0.5861 GB, free: 2.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6434, allocations: 4 kB / 0.5861 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6434, allocations: 0 / 0.5861 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6434, allocations: 7.938 kB / 0.5861 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.6435, allocations: 16.12 kB / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6435, allocations: 8.031 kB / 0.5862 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.6436, allocations: 4 kB / 0.5862 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.6436, allocations: 3.938 kB / 0.5862 GB, free: 2.59 MB / 394.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 (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 6.691e-05/0.6436, allocations: 105 kB / 0.5863 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.91e-05/0.6437, allocations: 61.55 kB / 0.5863 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.6438, allocations: 11.89 kB / 0.5863 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.6439, allocations: 70.02 kB / 0.5864 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6439, allocations: 4 kB / 0.5864 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6439, allocations: 0 / 0.5864 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6439, allocations: 0 / 0.5864 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.6442, allocations: 303.1 kB / 0.5867 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6443, allocations: 0 / 0.5867 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.6443, allocations: 12 kB / 0.5867 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6443, allocations: 11.86 kB / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.6443, allocations: 0 / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6444, allocations: 4.25 kB / 0.5867 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6444, allocations: 0 / 0.5867 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.6445, allocations: 159.4 kB / 0.5869 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.6445, allocations: 85.11 kB / 0.587 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.6446, allocations: 0 / 0.587 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.6446, allocations: 7.984 kB / 0.587 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.6447, allocations: 4 kB / 0.587 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.6447, allocations: 4 kB / 0.587 GB, free: 1.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.6448, allocations: 105 kB / 0.5871 GB, free: 1.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6448, allocations: 0 / 0.5871 GB, free: 1.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.645, allocations: 20 kB / 0.5871 GB, free: 1.543 MB / 394.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 (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.001105/0.6461, allocations: 0.9678 MB / 0.588 GB, free: 0.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.6462, allocations: 31.98 kB / 0.5881 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6463, allocations: 4 kB / 0.5881 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.683e-05/0.6463, allocations: 15.94 kB / 0.5881 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.6465, allocations: 8 kB / 0.5881 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.6469, allocations: 145.6 kB / 0.5882 GB, free: 392 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.6472, allocations: 0.6924 MB / 0.5889 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.6472, allocations: 19.77 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.6473, allocations: 19.42 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6473, allocations: 0 / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.6702, allocations: 1.956 MB / 0.5909 GB, free: 13.68 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.6705, allocations: 172.5 kB / 0.591 GB, free: 13.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/2.092, allocations: 0 / 0.591 GB, free: 13.48 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat