Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1",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.002372/0.002372, allocations: 185.5 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.338/2.338, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001219/0.001219, allocations: 96.36 kB / 270.9 MB, free: 8.391 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.5646/0.5646, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000792/0.000792, allocations: 15.98 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1525, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.6307, allocations: 86.91 MB / 0.5637 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.631, allocations: 75.97 kB / 0.5638 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03097/0.662, allocations: 7.988 MB / 0.5716 GB, free: 7.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6621, allocations: 0 / 0.5716 GB, free: 7.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.6621, allocations: 4 kB / 0.5716 GB, free: 7.641 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.0009922/0.6631, allocations: 0.6358 MB / 0.5722 GB, free: 6.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6632, allocations: 8.031 kB / 0.5722 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.6632, allocations: 38.55 kB / 0.5722 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.6634, allocations: 43.44 kB / 0.5723 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.664, allocations: 327.4 kB / 0.5726 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.6641, allocations: 4 kB / 0.5726 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.6641, allocations: 4 kB / 0.5726 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.6643, allocations: 54.7 kB / 0.5727 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6643, allocations: 0 / 0.5727 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6643, allocations: 0 / 0.5727 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6644, allocations: 3.953 kB / 0.5727 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.6645, allocations: 31.92 kB / 0.5727 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.6654, allocations: 436.7 kB / 0.5731 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.6657, allocations: 42.56 kB / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.6657, allocations: 5.438 kB / 0.5731 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.6658, allocations: 38.58 kB / 0.5732 GB, free: 5.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.6658, allocations: 0.7656 kB / 0.5732 GB, free: 5.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009897/0.6668, allocations: 252 kB / 0.5734 GB, free: 5.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.6669, allocations: 55.39 kB / 0.5735 GB, free: 5.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.6689, allocations: 0.7785 MB / 0.5742 GB, free: 4.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.669, allocations: 25.7 kB / 0.5743 GB, free: 4.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.6692, allocations: 242.5 kB / 0.5745 GB, free: 4.449 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.6692, allocations: 20.59 kB / 0.5745 GB, free: 4.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.6693, allocations: 0 / 0.5745 GB, free: 4.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6694, allocations: 310.8 kB / 0.5748 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.6696, allocations: 27.98 kB / 0.5748 GB, free: 4.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.6697, allocations: 19.98 kB / 0.5749 GB, free: 4.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.6699, allocations: 23.98 kB / 0.5749 GB, free: 4.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6699, allocations: 0 / 0.5749 GB, free: 4.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003452/0.6703, allocations: 86.3 kB / 0.575 GB, free: 3.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.6703, allocations: 14.05 kB / 0.575 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6703, allocations: 3.938 kB / 0.575 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6703, allocations: 4 kB / 0.575 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.6705, allocations: 16.23 kB / 0.575 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.6705, allocations: 0 / 0.575 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.6707, allocations: 19.92 kB / 0.575 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.6707, allocations: 0 / 0.575 GB, free: 3.902 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 (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 0.0003361/0.6711, allocations: 213.8 kB / 0.5752 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6712, allocations: 43.44 kB / 0.5753 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.6717, allocations: 145 kB / 0.5754 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6717, allocations: 4 kB / 0.5754 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6717, allocations: 3.938 kB / 0.5754 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6717, allocations: 0 / 0.5754 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.673, allocations: 0.5844 MB / 0.576 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6731, allocations: 7.953 kB / 0.576 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6732, allocations: 16.27 kB / 0.576 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6732, allocations: 0 / 0.576 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.6732, allocations: 4 kB / 0.576 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.6732, allocations: 0 / 0.576 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6732, allocations: 0 / 0.576 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.6738, allocations: 226.9 kB / 0.5762 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.6741, allocations: 160.6 kB / 0.5764 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.6742, allocations: 7.984 kB / 0.5764 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6744, allocations: 4.75 kB / 0.5764 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.6744, allocations: 8 kB / 0.5764 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6744, allocations: 3.984 kB / 0.5764 GB, free: 2.379 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001242/0.6757, allocations: 0.6394 MB / 0.577 GB, free: 1.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6757, allocations: 4 kB / 0.577 GB, free: 1.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.6762, allocations: 48 kB / 0.5771 GB, free: 1.691 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 (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.001995/0.6782, allocations: 1.072 MB / 0.5781 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00037/0.6786, allocations: 55.95 kB / 0.5782 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6786, allocations: 0 / 0.5782 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.6788, allocations: 35.92 kB / 0.5782 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.6792, allocations: 17.97 kB / 0.5782 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.6843, allocations: 2.343 MB / 0.5805 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.6849, allocations: 0.8262 MB / 0.5813 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.6852, allocations: 111.7 kB / 0.5814 GB, free: 13.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6852, allocations: 3.938 kB / 0.5814 GB, free: 13.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.697/3.382, allocations: 7.21 MB / 0.5885 GB, free: 5.98 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat