Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6",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.002255/0.002254, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.269/2.269, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001181/0.001181, allocations: 91.55 kB / 270.9 MB, free: 8.363 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.6913/0.6913, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007263/0.0007263, allocations: 12 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1835, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5666/0.7501, allocations: 86.79 MB / 0.5636 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/0.7505, allocations: 74.19 kB / 0.5637 GB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03853/0.7891, allocations: 7.754 MB / 0.5712 GB, free: 7.883 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7892, allocations: 0 / 0.5712 GB, free: 7.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.7892, allocations: 4 kB / 0.5712 GB, free: 7.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001346/0.7906, allocations: 0.6446 MB / 0.5719 GB, free: 7.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.7906, allocations: 12.97 kB / 0.5719 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.7907, allocations: 35.31 kB / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.7909, allocations: 43.44 kB / 0.572 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.7918, allocations: 327.3 kB / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.7918, allocations: 4 kB / 0.5723 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.7919, allocations: 0 / 0.5723 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.7922, allocations: 62.7 kB / 0.5723 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.7922, allocations: 7.906 kB / 0.5723 GB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.7923, allocations: 3.984 kB / 0.5723 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.7923, allocations: 6.703 kB / 0.5723 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.7926, allocations: 47.06 kB / 0.5724 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.7938, allocations: 432.7 kB / 0.5728 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.794, allocations: 46.56 kB / 0.5728 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.7941, allocations: 4 kB / 0.5729 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.7942, allocations: 34.52 kB / 0.5729 GB, free: 6.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.776e-06/0.7942, allocations: 0 / 0.5729 GB, free: 6.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001869/0.7961, allocations: 324 kB / 0.5732 GB, free: 5.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.7962, allocations: 55.41 kB / 0.5732 GB, free: 5.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.799, allocations: 0.7823 MB / 0.574 GB, free: 4.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.7991, allocations: 29.7 kB / 0.574 GB, free: 4.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.7993, allocations: 234.5 kB / 0.5743 GB, free: 4.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.7994, allocations: 23.64 kB / 0.5743 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.7994, allocations: 0 / 0.5743 GB, free: 4.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.7996, allocations: 318.8 kB / 0.5746 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.8, allocations: 39.97 kB / 0.5746 GB, free: 4.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.8003, allocations: 43.91 kB / 0.5747 GB, free: 4.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.8006, allocations: 36.2 kB / 0.5747 GB, free: 4.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8006, allocations: 4 kB / 0.5747 GB, free: 4.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007186/0.8014, allocations: 117.6 kB / 0.5748 GB, free: 3.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.8014, allocations: 19.89 kB / 0.5748 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8014, allocations: 0 / 0.5748 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8015, allocations: 0 / 0.5748 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.8018, allocations: 27.98 kB / 0.5749 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8018, allocations: 0.7031 kB / 0.5749 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.8021, allocations: 11.98 kB / 0.5749 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.8021, allocations: 4 kB / 0.5749 GB, free: 3.934 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 (7): * Single equations (assignments): 7 * 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.00044/0.8026, allocations: 225.7 kB / 0.5751 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.8028, allocations: 43.44 kB / 0.5751 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.8037, allocations: 182.2 kB / 0.5753 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.8037, allocations: 0 / 0.5753 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8037, allocations: 0 / 0.5753 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8037, allocations: 3.984 kB / 0.5753 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.8058, allocations: 0.635 MB / 0.5759 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8058, allocations: 4.609 kB / 0.5759 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.806, allocations: 27.98 kB / 0.576 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.8061, allocations: 0 / 0.576 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.8061, allocations: 4 kB / 0.576 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.8061, allocations: 0 / 0.576 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8061, allocations: 3.5 kB / 0.576 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008216/0.807, allocations: 262.9 kB / 0.5762 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.8074, allocations: 169.7 kB / 0.5764 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.8074, allocations: 0 / 0.5764 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.8078, allocations: 12 kB / 0.5764 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.8079, allocations: 7.984 kB / 0.5764 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.8079, allocations: 4 kB / 0.5764 GB, free: 2.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001853/0.8098, allocations: 0.6432 MB / 0.577 GB, free: 1.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.8098, allocations: 0 / 0.577 GB, free: 1.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007485/0.8105, allocations: 63.94 kB / 0.5771 GB, free: 1.562 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 (7): * Single equations (assignments): 7 * 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.00293/0.8135, allocations: 1.108 MB / 0.5782 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006612/0.8142, allocations: 91.94 kB / 0.5783 GB, free: 452 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8142, allocations: 0 / 0.5783 GB, free: 452 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.8146, allocations: 59.91 kB / 0.5783 GB, free: 392 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.8151, allocations: 17.97 kB / 0.5783 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/0.8223, allocations: 2.409 MB / 0.5807 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.8231, allocations: 0.8379 MB / 0.5815 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.8236, allocations: 111.7 kB / 0.5816 GB, free: 12.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.123e-06/0.8236, allocations: 0 / 0.5816 GB, free: 12.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.866/3.69, allocations: 7.331 MB / 0.5888 GB, free: 5.566 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat