Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",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.001626/0.001626, allocations: 180.3 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.643/1.643, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009192/0.0009189, allocations: 91.97 kB / 287 MB, free: 244 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.226/0.226, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.82e-05, allocations: 8.156 kB / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.146, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.568, allocations: 88.48 MB / 0.5882 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5683, allocations: 71.97 kB / 0.5883 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01238/0.5807, allocations: 4.729 MB / 0.5929 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5808, allocations: 2.953 kB / 0.5929 GB, free: 11.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.5808, allocations: 0 / 0.5929 GB, free: 11.98 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.0005213/0.5813, allocations: 402.2 kB / 0.5933 GB, free: 11.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.5814, allocations: 8.031 kB / 0.5933 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.5814, allocations: 42.48 kB / 0.5933 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.5815, allocations: 15.81 kB / 0.5933 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.5818, allocations: 207.5 kB / 0.5935 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.5818, allocations: 0 / 0.5935 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.5819, allocations: 4 kB / 0.5935 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.582, allocations: 53.69 kB / 0.5936 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5821, allocations: 3.984 kB / 0.5936 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.5821, allocations: 4 kB / 0.5936 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5821, allocations: 3.938 kB / 0.5936 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.632e-05/0.5822, allocations: 16 kB / 0.5936 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.5827, allocations: 320.7 kB / 0.5939 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.5829, allocations: 50.59 kB / 0.594 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.583, allocations: 16.98 kB / 0.594 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.583, allocations: 0 / 0.594 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.583, allocations: 34.56 kB / 0.594 GB, free: 10.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.583, allocations: 0 / 0.594 GB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006732/0.5837, allocations: 220.9 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.5838, allocations: 51.41 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.5841, allocations: 195.7 kB / 0.5945 GB, free: 10.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.5841, allocations: 25.7 kB / 0.5945 GB, free: 10.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.5842, allocations: 104.1 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.5842, allocations: 39.44 kB / 0.5946 GB, free: 9.984 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.5842, allocations: 4 kB / 0.5946 GB, free: 9.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5844, allocations: 330.8 kB / 0.595 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.5845, allocations: 20 kB / 0.595 GB, free: 9.629 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.5845, allocations: 30.41 kB / 0.595 GB, free: 9.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.174e-05/0.5846, allocations: 23.98 kB / 0.595 GB, free: 9.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5846, allocations: 4 kB / 0.595 GB, free: 9.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001697/0.5848, allocations: 113.4 kB / 0.5951 GB, free: 9.457 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5848, allocations: 8 kB / 0.5951 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5848, allocations: 384 / 0.5951 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5848, allocations: 0 / 0.5951 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.585, allocations: 35.91 kB / 0.5952 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.585, allocations: 3.953 kB / 0.5952 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.5851, allocations: 23.98 kB / 0.5952 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.5851, allocations: 0 / 0.5952 GB, free: 9.387 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 8.361e-05/0.5852, allocations: 109 kB / 0.5953 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.5852, allocations: 7.906 kB / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.5855, allocations: 131.1 kB / 0.5954 GB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5855, allocations: 4 kB / 0.5954 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5855, allocations: 0 / 0.5954 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5856, allocations: 3.953 kB / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.5861, allocations: 452 kB / 0.5959 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5861, allocations: 0 / 0.5959 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.5862, allocations: 35.91 kB / 0.5959 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.5863, allocations: 7.953 kB / 0.5959 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.5863, allocations: 0 / 0.5959 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5863, allocations: 8.062 kB / 0.5959 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5863, allocations: 0 / 0.5959 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.5865, allocations: 244.9 kB / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.5866, allocations: 89.02 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.5867, allocations: 15.98 kB / 0.5963 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5868, allocations: 12 kB / 0.5963 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.5868, allocations: 7.984 kB / 0.5963 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.5869, allocations: 8 kB / 0.5963 GB, free: 8.145 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.587, allocations: 152.9 kB / 0.5964 GB, free: 7.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.587, allocations: 0 / 0.5964 GB, free: 7.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000252/0.5873, allocations: 39.94 kB / 0.5965 GB, free: 7.957 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.001755/0.589, allocations: 1.235 MB / 0.5977 GB, free: 6.805 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.5892, allocations: 75.94 kB / 0.5978 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5893, allocations: 0 / 0.5978 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.5893, allocations: 35.94 kB / 0.5978 GB, free: 6.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.5896, allocations: 24.11 kB / 0.5978 GB, free: 6.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.5903, allocations: 281.4 kB / 0.5981 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.5906, allocations: 0.7199 MB / 0.5988 GB, free: 5.613 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.5907, allocations: 20.53 kB / 0.5988 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.5908, allocations: 39.42 kB / 0.5988 GB, free: 5.555 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5908, allocations: 0 / 0.5988 GB, free: 5.555 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.6069, allocations: 2.998 MB / 0.6018 GB, free: 2.633 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/0.6072, allocations: 189.1 kB / 0.6019 GB, free: 2.406 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.261, allocations: 3.938 kB / 0.602 GB, free: 2.402 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat does not exist to compare? outputFormat=mat