Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",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.0009538/0.0009538, allocations: 173.9 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.362/1.362, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.000897/0.000897, allocations: 103.5 kB / 281.6 MB, free: 5.254 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.202/0.202, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.757e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.6032, allocations: 90.47 MB / 0.5831 GB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.6036, allocations: 71.95 kB / 0.5832 GB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0242/0.6278, allocations: 9.652 MB / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6278, allocations: 0 / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.434e-05/0.6279, allocations: 16.16 kB / 0.5926 GB, free: 12.13 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.0006514/0.6285, allocations: 0.5599 MB / 0.5932 GB, free: 11.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6286, allocations: 15.98 kB / 0.5932 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.6287, allocations: 39.44 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.6292, allocations: 359.3 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.6292, allocations: 4 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.6292, allocations: 12 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001547/0.6294, allocations: 67.97 kB / 0.5936 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.6296, allocations: 101.6 kB / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6296, allocations: 4 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.6296, allocations: 0 / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6296, allocations: 0 / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.6304, allocations: 0.5084 MB / 0.5942 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.6305, allocations: 98.53 kB / 0.5943 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.6306, allocations: 28.86 kB / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.6306, allocations: 0 / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.6307, allocations: 42.5 kB / 0.5944 GB, free: 10.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.6307, allocations: 4 kB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007421/0.6314, allocations: 357.5 kB / 0.5948 GB, free: 9.789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.6315, allocations: 51.41 kB / 0.5948 GB, free: 9.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.6321, allocations: 481.2 kB / 0.5953 GB, free: 9.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.6321, allocations: 25.7 kB / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.6322, allocations: 204.3 kB / 0.5955 GB, free: 9.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.6323, allocations: 51.2 kB / 0.5955 GB, free: 8.969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-06/0.6323, allocations: 0 / 0.5955 GB, free: 8.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6325, allocations: 354.8 kB / 0.5959 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.6325, allocations: 63.81 kB / 0.5959 GB, free: 8.551 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.6326, allocations: 55.98 kB / 0.596 GB, free: 8.496 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.919e-05/0.6327, allocations: 57.22 kB / 0.596 GB, free: 8.441 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6327, allocations: 0 / 0.596 GB, free: 8.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002697/0.633, allocations: 210.2 kB / 0.5962 GB, free: 8.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.633, allocations: 4 kB / 0.5962 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.633, allocations: 0 / 0.5962 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.6331, allocations: 0 / 0.5962 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.6332, allocations: 43.91 kB / 0.5963 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6332, allocations: 4 kB / 0.5963 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.6333, allocations: 4 kB / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.6333, allocations: 8 kB / 0.5963 GB, free: 8.168 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.557e-05/0.6334, allocations: 101 kB / 0.5964 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002776/0.6337, allocations: 206.6 kB / 0.5966 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.6338, allocations: 39.53 kB / 0.5966 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.6342, allocations: 257.1 kB / 0.5969 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.6342, allocations: 0 / 0.5969 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6342, allocations: 4 kB / 0.5969 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6342, allocations: 3.984 kB / 0.5969 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.6351, allocations: 0.6637 MB / 0.5975 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6351, allocations: 4 kB / 0.5975 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.6352, allocations: 31.98 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.6353, allocations: 4 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6353, allocations: 7.984 kB / 0.5976 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6353, allocations: 0 / 0.5976 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6353, allocations: 3.938 kB / 0.5976 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.6356, allocations: 304.4 kB / 0.5979 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.6358, allocations: 148.6 kB / 0.598 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.6358, allocations: 0 / 0.598 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.636, allocations: 11.98 kB / 0.598 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.6361, allocations: 11.98 kB / 0.598 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.6361, allocations: 8 kB / 0.598 GB, free: 6.281 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004681/0.6366, allocations: 382.9 kB / 0.5984 GB, free: 5.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6366, allocations: 0 / 0.5984 GB, free: 5.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.6369, allocations: 59.94 kB / 0.5985 GB, free: 5.852 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.002166/0.6391, allocations: 1.318 MB / 0.5998 GB, free: 4.633 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.6394, allocations: 139.8 kB / 0.5999 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6394, allocations: 0 / 0.5999 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.6395, allocations: 79.92 kB / 0.6 GB, free: 4.418 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.64, allocations: 57.81 kB / 0.6 GB, free: 4.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.6412, allocations: 0.6458 MB / 0.6006 GB, free: 3.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.6417, allocations: 0.8257 MB / 0.6015 GB, free: 2.828 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.6418, allocations: 77.98 kB / 0.6015 GB, free: 2.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.642, allocations: 119.4 kB / 0.6016 GB, free: 2.633 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.642, allocations: 4 kB / 0.6016 GB, free: 2.629 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.6703, allocations: 6.638 MB / 0.6081 GB, free: 12.01 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.6706, allocations: 164.2 kB / 0.6083 GB, free: 11.81 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.708, allocations: 0 / 0.6083 GB, free: 11.81 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat