Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.001811/0.001811, allocations: 180.4 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.51/1.51, allocations: 221.3 MB / 236 MB, free: 2.945 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.0008904/0.0008903, allocations: 99.8 kB / 287 MB, free: 236 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.2484/0.2484, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.119e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.6234, allocations: 89.45 MB / 0.5892 GB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.6237, allocations: 71.97 kB / 0.5892 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02427/0.648, allocations: 9.3 MB / 0.5983 GB, free: 6.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.648, allocations: 0 / 0.5983 GB, free: 6.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.6481, allocations: 12 kB / 0.5983 GB, free: 6.297 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008413/0.6489, allocations: 0.6415 MB / 0.5989 GB, free: 5.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.649, allocations: 8.031 kB / 0.5989 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.649, allocations: 46.55 kB / 0.599 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.6491, allocations: 59.25 kB / 0.599 GB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.6499, allocations: 471 kB / 0.5995 GB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6499, allocations: 8 kB / 0.5995 GB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6499, allocations: 12 kB / 0.5995 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.6502, allocations: 134.4 kB / 0.5996 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.6502, allocations: 0 / 0.5996 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.6502, allocations: 4 kB / 0.5996 GB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6503, allocations: 11.94 kB / 0.5997 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.6504, allocations: 67.97 kB / 0.5997 GB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.6515, allocations: 0.7307 MB / 0.6004 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.6517, allocations: 105.2 kB / 0.6005 GB, free: 3.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.6518, allocations: 45.83 kB / 0.6006 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.6518, allocations: 4 kB / 0.6006 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.6519, allocations: 38.56 kB / 0.6006 GB, free: 3.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.6519, allocations: 0 / 0.6006 GB, free: 3.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001367/0.6532, allocations: 0.5409 MB / 0.6012 GB, free: 3.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.6533, allocations: 77.11 kB / 0.6012 GB, free: 3.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.6543, allocations: 0.7822 MB / 0.602 GB, free: 2.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.6543, allocations: 29.7 kB / 0.602 GB, free: 2.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.6545, allocations: 260.3 kB / 0.6023 GB, free: 2.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.6546, allocations: 63.23 kB / 0.6023 GB, free: 1.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.6546, allocations: 4 kB / 0.6023 GB, free: 1.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.6548, allocations: 378.7 kB / 0.6027 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.655, allocations: 56 kB / 0.6027 GB, free: 1.508 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.6551, allocations: 75.77 kB / 0.6028 GB, free: 1.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.6552, allocations: 67.91 kB / 0.6029 GB, free: 1.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.6552, allocations: 0 / 0.6029 GB, free: 1.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003668/0.6556, allocations: 224.9 kB / 0.6031 GB, free: 1.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6556, allocations: 5.094 kB / 0.6031 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6557, allocations: 4 kB / 0.6031 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6557, allocations: 0 / 0.6031 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.656, allocations: 67.88 kB / 0.6032 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.656, allocations: 4 kB / 0.6032 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.6562, allocations: 32.12 kB / 0.6032 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.6562, allocations: 11.98 kB / 0.6032 GB, free: 1.016 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001067/0.6563, allocations: 116.9 kB / 0.6033 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.6565, allocations: 59.25 kB / 0.6034 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005511/0.657, allocations: 290.1 kB / 0.6037 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.657, allocations: 0 / 0.6037 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.657, allocations: 0 / 0.6037 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.6571, allocations: 4 kB / 0.6037 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.6584, allocations: 0.8957 MB / 0.6045 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6584, allocations: 384 / 0.6045 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.6587, allocations: 59.95 kB / 0.6046 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6587, allocations: 8 kB / 0.6046 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.6587, allocations: 11.94 kB / 0.6046 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6587, allocations: 0 / 0.6046 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6587, allocations: 0 / 0.6046 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.6593, allocations: 423.6 kB / 0.605 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.6596, allocations: 184.8 kB / 0.6052 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.6596, allocations: 7.984 kB / 0.6052 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.6599, allocations: 35.94 kB / 0.6052 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.66, allocations: 15.97 kB / 0.6053 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.66, allocations: 15.92 kB / 0.6053 GB, free: 14.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007571/0.6608, allocations: 0.6146 MB / 0.6059 GB, free: 14.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6608, allocations: 0 / 0.6059 GB, free: 14.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.6612, allocations: 87.92 kB / 0.606 GB, free: 14.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001709/0.6629, allocations: 1.287 MB / 0.6072 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.6633, allocations: 163.8 kB / 0.6074 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6633, allocations: 0 / 0.6074 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.6634, allocations: 95.84 kB / 0.6075 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.6639, allocations: 62.95 kB / 0.6075 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.6655, allocations: 0.8555 MB / 0.6084 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.666, allocations: 0.8775 MB / 0.6092 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002275/0.6663, allocations: 94.84 kB / 0.6093 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.6665, allocations: 179.3 kB / 0.6095 GB, free: 10.5 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6666, allocations: 0 / 0.6095 GB, free: 10.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.6895, allocations: 9.315 MB / 0.6186 GB, free: 1.27 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.6897, allocations: 192.5 kB / 0.6187 GB, free: 1.043 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.892, allocations: 0 / 0.6187 GB, free: 1.043 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat does not exist to compare? outputFormat=mat