Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.001304/0.001304, allocations: 169 kB / 8.742 MB, free: 344 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.376/1.376, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.000834/0.0008341, allocations: 90.23 kB / 281.6 MB, free: 5.324 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.2124/0.2124, allocations: 44.13 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.843e-05, allocations: 12.16 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1599, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5114/0.6713, allocations: 87.77 MB / 0.5805 GB, free: 8.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.6716, allocations: 71.97 kB / 0.5805 GB, free: 8.535 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01757/0.6892, allocations: 7.788 MB / 0.5881 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6892, allocations: 2.953 kB / 0.5881 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.6892, allocations: 8 kB / 0.5882 GB, free: 0.7344 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005884/0.6898, allocations: 0.552 MB / 0.5887 GB, free: 140 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.6899, allocations: 11.98 kB / 0.5887 GB, free: 128 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.69, allocations: 43.44 kB / 0.5887 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.6905, allocations: 335.3 kB / 0.5891 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.6905, allocations: 0 / 0.5891 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.6905, allocations: 4 kB / 0.5891 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.369e-05/0.6906, allocations: 12 kB / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.109e-05/0.6907, allocations: 41.69 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.6907, allocations: 0 / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.6907, allocations: 0 / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6907, allocations: 0 / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.6913, allocations: 417.2 kB / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.6915, allocations: 38.56 kB / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.6915, allocations: 8.859 kB / 0.5896 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.6915, allocations: 4.844 kB / 0.5896 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.6916, allocations: 30.56 kB / 0.5896 GB, free: 15.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6916, allocations: 3.938 kB / 0.5896 GB, free: 15.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004511/0.692, allocations: 184.2 kB / 0.5898 GB, free: 14.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.6921, allocations: 51.41 kB / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.6932, allocations: 0.7473 MB / 0.5906 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6933, allocations: 29.53 kB / 0.5906 GB, free: 14.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.6934, allocations: 220 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.6935, allocations: 15.75 kB / 0.5908 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.6935, allocations: 3.938 kB / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6936, allocations: 366.8 kB / 0.5912 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.6937, allocations: 4 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.6937, allocations: 11.94 kB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.6937, allocations: 15.98 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6937, allocations: 0 / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001324/0.6939, allocations: 93.14 kB / 0.5913 GB, free: 13.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6939, allocations: 7.984 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6939, allocations: 0 / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6939, allocations: 0 / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.694, allocations: 16 kB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.694, allocations: 0 / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.6941, allocations: 11.98 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.6941, allocations: 0 / 0.5913 GB, free: 13.29 MB / 410.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 7.565e-05/0.6942, allocations: 107.2 kB / 0.5914 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001465/0.6943, allocations: 97.16 kB / 0.5915 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.6944, allocations: 43.75 kB / 0.5916 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.6946, allocations: 121.4 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6947, allocations: 0 / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6947, allocations: 4 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6947, allocations: 3.953 kB / 0.5917 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.6953, allocations: 0.5341 MB / 0.5922 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6953, allocations: 4 kB / 0.5922 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.741e-05/0.6954, allocations: 11.98 kB / 0.5922 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6954, allocations: 4 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.6954, allocations: 4 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6955, allocations: 0 / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6955, allocations: 3.953 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.6956, allocations: 187 kB / 0.5924 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.6958, allocations: 168.5 kB / 0.5926 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.6959, allocations: 0 / 0.5926 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.696, allocations: 11.98 kB / 0.5926 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.696, allocations: 11.89 kB / 0.5926 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.6961, allocations: 4 kB / 0.5926 GB, free: 11.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006619/0.6967, allocations: 0.6082 MB / 0.5932 GB, free: 11.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6967, allocations: 0 / 0.5932 GB, free: 11.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.6971, allocations: 55.94 kB / 0.5932 GB, free: 11.23 MB / 410.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.00131/0.6984, allocations: 0.9534 MB / 0.5942 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.6985, allocations: 31.94 kB / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6985, allocations: 0 / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.6986, allocations: 12 kB / 0.5942 GB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.6989, allocations: 26.08 kB / 0.5942 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.7003, allocations: 0.8135 MB / 0.595 GB, free: 9.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.7007, allocations: 0.834 MB / 0.5958 GB, free: 8.543 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.038e-05/0.7008, allocations: 35.78 kB / 0.5959 GB, free: 8.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.701, allocations: 111.4 kB / 0.596 GB, free: 8.398 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.701, allocations: 0 / 0.596 GB, free: 8.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.7291, allocations: 5.798 MB / 0.6016 GB, free: 2.59 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.7294, allocations: 164.9 kB / 0.6018 GB, free: 2.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.95, allocations: 4 kB / 0.6018 GB, free: 2.395 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat does not exist to compare? outputFormat=mat