Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001464/0.001464, allocations: 174.4 kB / 8.74 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.654/1.654, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009762/0.0009767, allocations: 90.59 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.2174/0.2174, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.488e-05, allocations: 7.938 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 61.91 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.496, allocations: 87.21 MB / 0.5799 GB, free: 9.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4963, allocations: 71.95 kB / 0.58 GB, free: 9.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009845/0.5062, allocations: 3.693 MB / 0.5836 GB, free: 5.375 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5062, allocations: 4 kB / 0.5836 GB, free: 5.371 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.5062, allocations: 0 / 0.5836 GB, free: 5.371 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003382/0.5066, allocations: 378.3 kB / 0.584 GB, free: 4.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.5066, allocations: 11.98 kB / 0.584 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.5067, allocations: 4 kB / 0.584 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.5069, allocations: 188 kB / 0.5842 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.5069, allocations: 0 / 0.5842 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.5069, allocations: 7.844 kB / 0.5842 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.734e-05/0.507, allocations: 19.95 kB / 0.5842 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.932e-05/0.5071, allocations: 41.69 kB / 0.5842 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5071, allocations: 0 / 0.5842 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5071, allocations: 0 / 0.5842 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.5071, allocations: 3.938 kB / 0.5842 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.5074, allocations: 245.5 kB / 0.5845 GB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.5075, allocations: 46.45 kB / 0.5845 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.5076, allocations: 8.859 kB / 0.5845 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.5076, allocations: 3.984 kB / 0.5845 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.5076, allocations: 38.56 kB / 0.5846 GB, free: 4.246 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5076, allocations: 0 / 0.5846 GB, free: 4.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003568/0.508, allocations: 101.3 kB / 0.5847 GB, free: 4.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.508, allocations: 51.41 kB / 0.5847 GB, free: 4.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.5082, allocations: 138.6 kB / 0.5848 GB, free: 3.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.5082, allocations: 25.7 kB / 0.5849 GB, free: 3.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.5082, allocations: 96.12 kB / 0.585 GB, free: 3.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.5083, allocations: 15.75 kB / 0.585 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.5083, allocations: 0 / 0.585 GB, free: 3.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5084, allocations: 318.8 kB / 0.5853 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.5084, allocations: 12 kB / 0.5853 GB, free: 3.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.5084, allocations: 8 kB / 0.5853 GB, free: 3.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.5085, allocations: 12.84 kB / 0.5853 GB, free: 3.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5085, allocations: 0 / 0.5853 GB, free: 3.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.013e-05/0.5086, allocations: 61.73 kB / 0.5854 GB, free: 3.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5086, allocations: 4 kB / 0.5854 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5086, allocations: 4.062 kB / 0.5854 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5086, allocations: 4.141 kB / 0.5854 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.5087, allocations: 15.92 kB / 0.5854 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5087, allocations: 7.984 kB / 0.5854 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.5088, allocations: 7.984 kB / 0.5854 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5088, allocations: 11.94 kB / 0.5854 GB, free: 3.316 MB / 394.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 6.291e-05/0.5089, allocations: 101 kB / 0.5855 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.166e-05/0.509, allocations: 65.55 kB / 0.5856 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.509, allocations: 7.906 kB / 0.5856 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.5091, allocations: 70.02 kB / 0.5857 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.5092, allocations: 0 / 0.5857 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5092, allocations: 0 / 0.5857 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5092, allocations: 0 / 0.5857 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.5095, allocations: 315 kB / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5095, allocations: 3.938 kB / 0.586 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.5096, allocations: 12 kB / 0.586 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5096, allocations: 0 / 0.586 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.5096, allocations: 0 / 0.586 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5096, allocations: 0 / 0.586 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5096, allocations: 7.922 kB / 0.586 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.5097, allocations: 155.7 kB / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.5098, allocations: 89 kB / 0.5862 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.5098, allocations: 8.062 kB / 0.5862 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.5099, allocations: 4 kB / 0.5862 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.5099, allocations: 3.984 kB / 0.5862 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.5099, allocations: 4 kB / 0.5862 GB, free: 2.391 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.51, allocations: 116.6 kB / 0.5863 GB, free: 2.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.51, allocations: 0 / 0.5863 GB, free: 2.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.5102, allocations: 20 kB / 0.5864 GB, free: 2.258 MB / 394.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.0009283/0.5112, allocations: 0.9207 MB / 0.5873 GB, free: 1.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.297e-05/0.5113, allocations: 32 kB / 0.5873 GB, free: 1.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5113, allocations: 0 / 0.5873 GB, free: 1.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/0.5113, allocations: 19.92 kB / 0.5873 GB, free: 1.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.5115, allocations: 14.25 kB / 0.5873 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.5119, allocations: 161.2 kB / 0.5875 GB, free: 1.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.5122, allocations: 0.7002 MB / 0.5882 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.905e-05/0.5122, allocations: 8.188 kB / 0.5882 GB, free: 400 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.5123, allocations: 23.42 kB / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5123, allocations: 0 / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.5324, allocations: 1.776 MB / 0.5899 GB, free: 14.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.5327, allocations: 160.1 kB / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.058, allocations: 0 / 0.5901 GB, free: 14.41 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat does not exist to compare? outputFormat=mat