Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001118/0.001118, allocations: 168.1 kB / 8.738 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.35/1.35, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0008528/0.0008529, allocations: 93.5 kB / 281.6 MB, free: 5.266 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.2157/0.2157, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.453e-05/2.41e-05, allocations: 8.156 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1595, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5405/0.7001, allocations: 87.76 MB / 0.5805 GB, free: 8.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/0.7005, allocations: 75.95 kB / 0.5805 GB, free: 8.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0256/0.7262, allocations: 7.791 MB / 0.5881 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7263, allocations: 4 kB / 0.5882 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.7263, allocations: 4 kB / 0.5882 GB, free: 0.7227 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.0009393/0.7272, allocations: 0.552 MB / 0.5887 GB, free: 128 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.41e-05/0.7273, allocations: 15.98 kB / 0.5887 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.7274, allocations: 39.44 kB / 0.5887 GB, free: 72 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.7282, allocations: 331.3 kB / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.7282, allocations: 0 / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.7283, allocations: 4 kB / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001093/0.7284, allocations: 12 kB / 0.5891 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.7286, allocations: 49.66 kB / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.7286, allocations: 0 / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.7286, allocations: 0 / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.7286, allocations: 0 / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.7295, allocations: 417.2 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.7297, allocations: 34.56 kB / 0.5896 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.7298, allocations: 12.86 kB / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.7298, allocations: 4 kB / 0.5896 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.7299, allocations: 30.56 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 4.208e-06/0.7299, allocations: 0 / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006809/0.7306, allocations: 184.1 kB / 0.5898 GB, free: 14.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.7307, allocations: 51.41 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.7324, allocations: 0.7512 MB / 0.5906 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.7324, allocations: 25.7 kB / 0.5906 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.7327, allocations: 212 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.7327, allocations: 23.73 kB / 0.5908 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.7327, allocations: 0.8438 kB / 0.5908 GB, free: 13.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.733, allocations: 362.8 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.733, allocations: 8 kB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.7331, allocations: 18.89 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.7331, allocations: 8 kB / 0.5912 GB, free: 13.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.7331, allocations: 0 / 0.5912 GB, free: 13.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001892/0.7333, allocations: 97.12 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7333, allocations: 5.25 kB / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7334, allocations: 0 / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7334, allocations: 4.188 kB / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/0.7335, allocations: 19.98 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.7335, allocations: 4 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.7336, allocations: 8 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.7337, allocations: 3.984 kB / 0.5913 GB, free: 13.27 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 9.032e-05/0.7338, allocations: 104.9 kB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000205/0.734, allocations: 93.17 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.7341, allocations: 43.44 kB / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.7344, allocations: 117.4 kB / 0.5917 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7344, allocations: 4 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7344, allocations: 0 / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.7344, allocations: 7.938 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/0.7354, allocations: 0.5301 MB / 0.5922 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7354, allocations: 0 / 0.5922 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.23e-05/0.7355, allocations: 12 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.7355, allocations: 3.984 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7355, allocations: 4 kB / 0.5922 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7355, allocations: 0 / 0.5922 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.7355, allocations: 3.953 kB / 0.5922 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.7358, allocations: 191 kB / 0.5924 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.7361, allocations: 160.5 kB / 0.5926 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.7361, allocations: 8.125 kB / 0.5926 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.7363, allocations: 8 kB / 0.5926 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.7364, allocations: 15.94 kB / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.7364, allocations: 8 kB / 0.5926 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009537/0.7374, allocations: 0.6043 MB / 0.5932 GB, free: 11.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7374, allocations: 0 / 0.5932 GB, free: 11.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000488/0.7379, allocations: 59.94 kB / 0.5932 GB, free: 11.21 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.001637/0.7395, allocations: 0.9589 MB / 0.5942 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.7397, allocations: 27.94 kB / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7397, allocations: 0 / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.7397, allocations: 12 kB / 0.5942 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.7401, allocations: 22.08 kB / 0.5942 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.742, allocations: 0.8098 MB / 0.595 GB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.7426, allocations: 0.8379 MB / 0.5958 GB, free: 8.531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.7427, allocations: 43.78 kB / 0.5959 GB, free: 8.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.743, allocations: 111.4 kB / 0.596 GB, free: 8.379 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.743, allocations: 0 / 0.596 GB, free: 8.379 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.7751, allocations: 5.79 MB / 0.6016 GB, free: 2.578 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003401/0.7756, allocations: 168.8 kB / 0.6018 GB, free: 2.383 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.74, allocations: 4 kB / 0.6018 GB, free: 2.379 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat does not exist to compare? outputFormat=mat