Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002354/0.002354, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 88.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5512/0.5512, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004836, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.6206, allocations: 88.42 MB / 0.5652 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.621, allocations: 69.25 kB / 0.5652 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03606/0.6571, allocations: 8.255 MB / 0.5733 GB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.6572, allocations: 0 / 0.5733 GB, free: 5.836 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.651e-05/0.6572, allocations: 12.66 kB / 0.5733 GB, free: 5.824 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001009/0.6583, allocations: 0.6099 MB / 0.5739 GB, free: 5.172 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.6583, allocations: 12.03 kB / 0.5739 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.6584, allocations: 38.55 kB / 0.574 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/0.6585, allocations: 35.53 kB / 0.574 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.6592, allocations: 334 kB / 0.5743 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.6593, allocations: 4 kB / 0.5743 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.6593, allocations: 8 kB / 0.5743 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.6596, allocations: 74.69 kB / 0.5744 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6596, allocations: 4 kB / 0.5744 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.6596, allocations: 8 kB / 0.5744 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.6596, allocations: 3.938 kB / 0.5744 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.6599, allocations: 59.91 kB / 0.5745 GB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.6607, allocations: 452.5 kB / 0.5749 GB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.6609, allocations: 66.48 kB / 0.575 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.661, allocations: 4 kB / 0.575 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.661, allocations: 34.5 kB / 0.575 GB, free: 3.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.374e-06/0.661, allocations: 0 / 0.575 GB, free: 3.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004954/0.6615, allocations: 137.6 kB / 0.5751 GB, free: 3.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.6616, allocations: 51.41 kB / 0.5752 GB, free: 3.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.6625, allocations: 497.1 kB / 0.5756 GB, free: 3.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.6626, allocations: 25.7 kB / 0.5757 GB, free: 3.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.6628, allocations: 230.6 kB / 0.5759 GB, free: 2.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.6628, allocations: 23.64 kB / 0.5759 GB, free: 2.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.6628, allocations: 0 / 0.5759 GB, free: 2.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.663, allocations: 318.8 kB / 0.5762 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.6631, allocations: 23.98 kB / 0.5762 GB, free: 2.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.627e-05/0.6632, allocations: 24 kB / 0.5763 GB, free: 2.586 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.6633, allocations: 23.98 kB / 0.5763 GB, free: 2.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6633, allocations: 0 / 0.5763 GB, free: 2.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000273/0.6636, allocations: 85.62 kB / 0.5764 GB, free: 2.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.6637, allocations: 12 kB / 0.5764 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6637, allocations: 0 / 0.5764 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.6637, allocations: 0 / 0.5764 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.6638, allocations: 15.98 kB / 0.5764 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.6639, allocations: 3.984 kB / 0.5764 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.664, allocations: 4 kB / 0.5764 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.664, allocations: 4 kB / 0.5764 GB, free: 2.434 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0002284/0.6643, allocations: 165.7 kB / 0.5766 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6644, allocations: 43.48 kB / 0.5766 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.6648, allocations: 136.9 kB / 0.5767 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6648, allocations: 0 / 0.5767 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6648, allocations: 0 / 0.5767 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6648, allocations: 0 / 0.5767 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.6653, allocations: 297.3 kB / 0.577 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6653, allocations: 0 / 0.577 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.6654, allocations: 15.94 kB / 0.577 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6654, allocations: 4 kB / 0.577 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.6655, allocations: 7.953 kB / 0.577 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6655, allocations: 4 kB / 0.577 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6655, allocations: 0 / 0.577 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.6659, allocations: 207.3 kB / 0.5772 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.6661, allocations: 140.6 kB / 0.5774 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.6662, allocations: 8.062 kB / 0.5774 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.6663, allocations: 15.95 kB / 0.5774 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.6664, allocations: 3.984 kB / 0.5774 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.6664, allocations: 7.938 kB / 0.5774 GB, free: 1.301 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007562/0.6672, allocations: 391.1 kB / 0.5778 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6672, allocations: 0 / 0.5778 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.6676, allocations: 59.83 kB / 0.5778 GB, free: 0.8633 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.00241/0.67, allocations: 1.251 MB / 0.5791 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.6704, allocations: 51.92 kB / 0.5791 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6705, allocations: 4 kB / 0.5791 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.6706, allocations: 27.92 kB / 0.5791 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.6713, allocations: 61.47 kB / 0.5792 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.6753, allocations: 1.759 MB / 0.5809 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.6758, allocations: 0.7907 MB / 0.5817 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.6761, allocations: 107.4 kB / 0.5818 GB, free: 12.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6762, allocations: 0 / 0.5818 GB, free: 12.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.825/3.501, allocations: 5.481 MB / 0.5871 GB, free: 7.348 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat does not exist to compare? outputFormat=mat