Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001517/0.001517, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 236 MB, free: 2.984 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.001112/0.001112, allocations: 91.67 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2563/0.2563, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.069e-05, allocations: 4 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5446/0.7152, allocations: 88.94 MB / 0.5887 GB, free: 324 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.7155, allocations: 71.95 kB / 0.5887 GB, free: 252 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01832/0.7339, allocations: 4.643 MB / 0.5933 GB, free: 11.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7339, allocations: 0 / 0.5933 GB, free: 11.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.734, allocations: 11.92 kB / 0.5933 GB, free: 11.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005783/0.7345, allocations: 402.2 kB / 0.5937 GB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.7346, allocations: 8.031 kB / 0.5937 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.7347, allocations: 34.56 kB / 0.5937 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.7347, allocations: 11.91 kB / 0.5937 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.7351, allocations: 221.9 kB / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.7351, allocations: 0 / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.7352, allocations: 4 kB / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.7354, allocations: 53.69 kB / 0.594 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.7354, allocations: 4 kB / 0.594 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.7354, allocations: 4 kB / 0.594 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.7354, allocations: 0 / 0.594 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.7355, allocations: 27.98 kB / 0.594 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.7362, allocations: 324.8 kB / 0.5943 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.7365, allocations: 50.56 kB / 0.5944 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.264e-05/0.7366, allocations: 21.08 kB / 0.5944 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.7366, allocations: 3.938 kB / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.7367, allocations: 34.56 kB / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.7367, allocations: 0 / 0.5944 GB, free: 10.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.00098/0.7377, allocations: 249 kB / 0.5947 GB, free: 10 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.7377, allocations: 55.34 kB / 0.5947 GB, free: 9.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.738, allocations: 165.4 kB / 0.5949 GB, free: 9.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.738, allocations: 29.7 kB / 0.5949 GB, free: 9.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.7381, allocations: 100.1 kB / 0.595 GB, free: 9.629 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.7382, allocations: 35.45 kB / 0.595 GB, free: 9.594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.7382, allocations: 0 / 0.595 GB, free: 9.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.7384, allocations: 330.8 kB / 0.5953 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.7385, allocations: 35.98 kB / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.623e-05/0.7386, allocations: 32 kB / 0.5954 GB, free: 9.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.7387, allocations: 46.92 kB / 0.5954 GB, free: 9.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.7387, allocations: 0 / 0.5954 GB, free: 9.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003175/0.739, allocations: 133.4 kB / 0.5956 GB, free: 9.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.7391, allocations: 5.562 kB / 0.5956 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7391, allocations: 3.938 kB / 0.5956 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.7391, allocations: 7.984 kB / 0.5956 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.7393, allocations: 35.98 kB / 0.5956 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.7394, allocations: 3.953 kB / 0.5956 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.7395, allocations: 11.98 kB / 0.5956 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.7395, allocations: 4 kB / 0.5956 GB, free: 8.945 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 (11): * Single equations (assignments): 11 * 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.0001093/0.7396, allocations: 108.9 kB / 0.5957 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.7397, allocations: 15.91 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.7401, allocations: 154.2 kB / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7401, allocations: 0 / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7402, allocations: 0 / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7402, allocations: 11.88 kB / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008528/0.741, allocations: 476 kB / 0.5964 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7411, allocations: 4.062 kB / 0.5964 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.7412, allocations: 31.97 kB / 0.5964 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.7413, allocations: 3.953 kB / 0.5964 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.7413, allocations: 8 kB / 0.5964 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.7413, allocations: 3.938 kB / 0.5964 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7413, allocations: 0 / 0.5964 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.7417, allocations: 260.4 kB / 0.5967 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.7418, allocations: 93 kB / 0.5968 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.7419, allocations: 3.984 kB / 0.5968 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.742, allocations: 16 kB / 0.5968 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.7421, allocations: 11.98 kB / 0.5968 GB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.7422, allocations: 8.312 kB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.7423, allocations: 148 kB / 0.5969 GB, free: 7.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7424, allocations: 4 kB / 0.5969 GB, free: 7.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004578/0.7428, allocations: 35.98 kB / 0.597 GB, free: 7.449 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002108/0.7449, allocations: 1.243 MB / 0.5982 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.7453, allocations: 99.84 kB / 0.5983 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7453, allocations: 0 / 0.5983 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.7454, allocations: 55.92 kB / 0.5983 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.7458, allocations: 12 kB / 0.5984 GB, free: 6.125 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.7467, allocations: 289.4 kB / 0.5986 GB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.7471, allocations: 0.7199 MB / 0.5993 GB, free: 5.051 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.7472, allocations: 36.38 kB / 0.5994 GB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.7474, allocations: 43.36 kB / 0.5994 GB, free: 4.969 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7474, allocations: 0 / 0.5994 GB, free: 4.969 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.7663, allocations: 2.974 MB / 0.6023 GB, free: 2.074 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.7666, allocations: 183 kB / 0.6025 GB, free: 1.852 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.401, allocations: 0 / 0.6025 GB, free: 1.852 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat does not exist to compare? outputFormat=mat