Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19",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.001363/0.001362, allocations: 169.9 kB / 8.74 MB, free: 340 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.424/1.424, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.001279/0.001279, allocations: 96.55 kB / 281.6 MB, free: 5.328 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.2495/0.2495, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.463e-05, allocations: 4.156 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4833/0.6487, allocations: 87.49 MB / 0.5802 GB, free: 8.867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.6491, allocations: 79.94 kB / 0.5803 GB, free: 8.789 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.6597, allocations: 4.158 MB / 0.5843 GB, free: 4.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6598, allocations: 0 / 0.5843 GB, free: 4.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.6598, allocations: 4 kB / 0.5843 GB, free: 4.641 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.0003736/0.6602, allocations: 369.4 kB / 0.5847 GB, free: 4.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6603, allocations: 11.98 kB / 0.5847 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.6603, allocations: 7.906 kB / 0.5847 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.6606, allocations: 184 kB / 0.5849 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6606, allocations: 4 kB / 0.5849 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.6606, allocations: 3.938 kB / 0.5849 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.441e-05/0.6607, allocations: 19.95 kB / 0.5849 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.934e-05/0.6608, allocations: 55.41 kB / 0.585 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6608, allocations: 0 / 0.585 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6608, allocations: 0 / 0.585 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6608, allocations: 0 / 0.585 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.6612, allocations: 249.5 kB / 0.5852 GB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.6613, allocations: 50.41 kB / 0.5853 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.6614, allocations: 8.859 kB / 0.5853 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.6614, allocations: 0 / 0.5853 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.6614, allocations: 34.56 kB / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.6614, allocations: 0 / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003711/0.6618, allocations: 101.4 kB / 0.5854 GB, free: 3.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.6619, allocations: 81.11 kB / 0.5855 GB, free: 3.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.662, allocations: 118.2 kB / 0.5856 GB, free: 3.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.662, allocations: 25.7 kB / 0.5856 GB, free: 3.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.6621, allocations: 92.14 kB / 0.5857 GB, free: 3.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.6621, allocations: 15.73 kB / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.6621, allocations: 0 / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6622, allocations: 318.8 kB / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.6623, allocations: 8 kB / 0.586 GB, free: 2.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.6623, allocations: 25.72 kB / 0.586 GB, free: 2.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.6623, allocations: 11.98 kB / 0.5861 GB, free: 2.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.6623, allocations: 0 / 0.5861 GB, free: 2.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.923e-05/0.6624, allocations: 65.5 kB / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6625, allocations: 5.094 kB / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6625, allocations: 3.984 kB / 0.5861 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.6625, allocations: 0 / 0.5861 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.6626, allocations: 12 kB / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.6626, allocations: 4.031 kB / 0.5861 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.6626, allocations: 11.98 kB / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.6627, allocations: 0 / 0.5862 GB, free: 2.57 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.914e-05/0.6627, allocations: 101 kB / 0.5863 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.559e-05/0.6628, allocations: 65.55 kB / 0.5863 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.6629, allocations: 11.84 kB / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.663, allocations: 66.03 kB / 0.5864 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.663, allocations: 4.141 kB / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.663, allocations: 4.359 kB / 0.5864 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.663, allocations: 0 / 0.5864 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.6633, allocations: 307.1 kB / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6634, allocations: 0 / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.6634, allocations: 19.92 kB / 0.5867 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6634, allocations: 3.938 kB / 0.5867 GB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.6634, allocations: 4 kB / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.6634, allocations: 0 / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6635, allocations: 4 kB / 0.5867 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.6636, allocations: 159.4 kB / 0.5869 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.6636, allocations: 81.09 kB / 0.587 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.6637, allocations: 4 kB / 0.587 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.6637, allocations: 4 kB / 0.587 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.6638, allocations: 7.984 kB / 0.587 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.6638, allocations: 4 kB / 0.587 GB, free: 1.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.041e-05/0.6639, allocations: 97.03 kB / 0.5871 GB, free: 1.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6639, allocations: 0 / 0.5871 GB, free: 1.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.6641, allocations: 27.98 kB / 0.5871 GB, free: 1.516 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.001141/0.6653, allocations: 0.9707 MB / 0.588 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.6654, allocations: 27.94 kB / 0.5881 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6654, allocations: 8 kB / 0.5881 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.6654, allocations: 12 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.6657, allocations: 11.98 kB / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.6662, allocations: 145.6 kB / 0.5882 GB, free: 364 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.6665, allocations: 0.6885 MB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.61e-05/0.6666, allocations: 20.02 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.6667, allocations: 23.42 kB / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6667, allocations: 0 / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.6885, allocations: 1.94 MB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.6887, allocations: 180.4 kB / 0.591 GB, free: 13.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.243, allocations: 0 / 0.591 GB, free: 13.46 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat does not exist to compare? outputFormat=mat