Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001132/0.001132, allocations: 176.3 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.186/1.186, 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.0007991/0.0007991, allocations: 96.05 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.1968/0.1968, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.831e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4727/0.603, allocations: 89.86 MB / 0.5825 GB, free: 6.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.6034, allocations: 75.95 kB / 0.5826 GB, free: 6.426 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02548/0.629, allocations: 8.649 MB / 0.591 GB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.629, allocations: 0 / 0.591 GB, free: 13.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.6291, allocations: 7.984 kB / 0.591 GB, free: 13.78 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006858/0.6298, allocations: 0.556 MB / 0.5916 GB, free: 13.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.6298, allocations: 11.98 kB / 0.5916 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.6299, allocations: 39.53 kB / 0.5916 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.6304, allocations: 347.3 kB / 0.592 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.6305, allocations: 4 kB / 0.592 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.6305, allocations: 7.906 kB / 0.592 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001486/0.6307, allocations: 48 kB / 0.592 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.6309, allocations: 93.53 kB / 0.5921 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.6309, allocations: 224 / 0.5921 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.631, allocations: 4 kB / 0.5921 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.631, allocations: 7.938 kB / 0.5921 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.6317, allocations: 476.9 kB / 0.5926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.6318, allocations: 74.56 kB / 0.5927 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.6319, allocations: 32.86 kB / 0.5927 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.6319, allocations: 7.984 kB / 0.5927 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6319, allocations: 38.45 kB / 0.5927 GB, free: 11.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.6319, allocations: 3.938 kB / 0.5927 GB, free: 11.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007946/0.6327, allocations: 307.9 kB / 0.593 GB, free: 11.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6328, allocations: 51.41 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.6335, allocations: 477.4 kB / 0.5935 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.6335, allocations: 29.7 kB / 0.5936 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6337, allocations: 208.2 kB / 0.5938 GB, free: 10.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.6337, allocations: 51.2 kB / 0.5938 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/0.6338, allocations: 0 / 0.5938 GB, free: 10.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6339, allocations: 350.8 kB / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.634, allocations: 36 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.634, allocations: 37.41 kB / 0.5942 GB, free: 10.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.954e-05/0.6341, allocations: 53.28 kB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.6341, allocations: 0 / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002331/0.6344, allocations: 165.2 kB / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6344, allocations: 4 kB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.6344, allocations: 0 / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6344, allocations: 0 / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.6346, allocations: 39.92 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.6346, allocations: 0 / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.6347, allocations: 15.89 kB / 0.5945 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.6347, allocations: 8 kB / 0.5945 GB, free: 10.05 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 (17): * Single equations (assignments): 17 * 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.919e-05/0.6348, allocations: 105 kB / 0.5946 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002551/0.6351, allocations: 166.3 kB / 0.5947 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.6351, allocations: 43.44 kB / 0.5948 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.6355, allocations: 206.7 kB / 0.595 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6355, allocations: 4 kB / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6355, allocations: 0 / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6355, allocations: 0 / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.6363, allocations: 0.621 MB / 0.5956 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6363, allocations: 0 / 0.5956 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.6364, allocations: 35.92 kB / 0.5956 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.6364, allocations: 0 / 0.5956 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.6364, allocations: 4 kB / 0.5956 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6364, allocations: 0 / 0.5956 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6364, allocations: 4 kB / 0.5956 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.6367, allocations: 270.9 kB / 0.5959 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.6369, allocations: 148.5 kB / 0.596 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.6369, allocations: 4 kB / 0.596 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.6371, allocations: 4 kB / 0.596 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.6371, allocations: 11.98 kB / 0.5961 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.6371, allocations: 4 kB / 0.5961 GB, free: 8.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003943/0.6375, allocations: 386.9 kB / 0.5964 GB, free: 7.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6375, allocations: 3.938 kB / 0.5964 GB, free: 7.961 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003486/0.6379, allocations: 63.92 kB / 0.5965 GB, free: 7.898 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 (17): * Single equations (assignments): 17 * 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.001867/0.6398, allocations: 1.271 MB / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.64, allocations: 99.91 kB / 0.5978 GB, free: 6.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.64, allocations: 4 kB / 0.5978 GB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.6401, allocations: 61.8 kB / 0.5979 GB, free: 6.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.6406, allocations: 65.81 kB / 0.598 GB, free: 6.504 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.6417, allocations: 0.6107 MB / 0.5986 GB, free: 5.859 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.6422, allocations: 0.8023 MB / 0.5993 GB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.6424, allocations: 61.97 kB / 0.5994 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.6425, allocations: 119.4 kB / 0.5995 GB, free: 4.852 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6425, allocations: 0 / 0.5995 GB, free: 4.852 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.6714, allocations: 6.421 MB / 0.6058 GB, free: 14.44 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.6717, allocations: 160.1 kB / 0.6059 GB, free: 14.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.951, allocations: 0 / 0.6059 GB, free: 14.25 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat does not exist to compare? outputFormat=mat