Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21",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.001636/0.001636, allocations: 187.9 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.034/2.034, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001254/0.001254, allocations: 93.78 kB / 270.9 MB, free: 8.375 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.5193/0.5193, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.000489, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1382, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.6076, allocations: 88.75 MB / 0.5655 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000472/0.6082, allocations: 73.34 kB / 0.5656 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06311/0.6714, allocations: 8.908 MB / 0.5743 GB, free: 4.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.6714, allocations: 0 / 0.5743 GB, free: 4.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.242e-05/0.6715, allocations: 8 kB / 0.5743 GB, free: 4.859 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001622/0.6732, allocations: 0.6404 MB / 0.5749 GB, free: 4.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.382e-05/0.6733, allocations: 12.03 kB / 0.5749 GB, free: 4.164 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.638e-05/0.6734, allocations: 42.55 kB / 0.5749 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.6736, allocations: 39.53 kB / 0.575 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.6747, allocations: 337.2 kB / 0.5753 GB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.6748, allocations: 12 kB / 0.5753 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.6749, allocations: 16.66 kB / 0.5753 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.6754, allocations: 105.8 kB / 0.5754 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.6754, allocations: 0 / 0.5754 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.6755, allocations: 8 kB / 0.5754 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6755, allocations: 0 / 0.5754 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.676, allocations: 75.91 kB / 0.5755 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.6775, allocations: 0.5042 MB / 0.576 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.6779, allocations: 98.42 kB / 0.5761 GB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.678, allocations: 4 kB / 0.5761 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.6781, allocations: 38.56 kB / 0.5761 GB, free: 2.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 3.887e-06/0.6781, allocations: 0 / 0.5761 GB, free: 2.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002334/0.6805, allocations: 398.1 kB / 0.5765 GB, free: 2.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.6806, allocations: 51.41 kB / 0.5766 GB, free: 2.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.6822, allocations: 497 kB / 0.577 GB, free: 1.828 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.6823, allocations: 25.7 kB / 0.5771 GB, free: 1.797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.6826, allocations: 234.8 kB / 0.5773 GB, free: 1.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6827, allocations: 59.19 kB / 0.5773 GB, free: 1.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.6827, allocations: 7.938 kB / 0.5774 GB, free: 1.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6829, allocations: 318.8 kB / 0.5777 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.6833, allocations: 51.97 kB / 0.5777 GB, free: 1.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.6837, allocations: 61.44 kB / 0.5778 GB, free: 1.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.684, allocations: 59.98 kB / 0.5778 GB, free: 1.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6841, allocations: 0 / 0.5778 GB, free: 1.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008239/0.6849, allocations: 166.8 kB / 0.578 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.685, allocations: 4 kB / 0.578 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.685, allocations: 0 / 0.578 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.685, allocations: 3.984 kB / 0.578 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.6854, allocations: 43.86 kB / 0.578 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.6855, allocations: 4 kB / 0.578 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.6858, allocations: 8 kB / 0.578 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.6859, allocations: 15.94 kB / 0.5781 GB, free: 0.7656 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 (17): * Single equations (assignments): 17 * 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.0004431/0.6864, allocations: 173.7 kB / 0.5782 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.6866, allocations: 39.44 kB / 0.5783 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6879, allocations: 252.2 kB / 0.5785 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.688, allocations: 0 / 0.5785 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.688, allocations: 0 / 0.5785 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.688, allocations: 7.984 kB / 0.5785 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.6905, allocations: 0.6855 MB / 0.5792 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.6906, allocations: 0 / 0.5792 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.691, allocations: 31.98 kB / 0.5792 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.691, allocations: 0 / 0.5792 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.691, allocations: 8 kB / 0.5792 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.6911, allocations: 3.953 kB / 0.5792 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.6911, allocations: 0 / 0.5792 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.6922, allocations: 306.9 kB / 0.5795 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.6926, allocations: 148.6 kB / 0.5797 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6928, allocations: 7.938 kB / 0.5797 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.6931, allocations: 15.98 kB / 0.5797 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.6932, allocations: 15.94 kB / 0.5797 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.6933, allocations: 4 kB / 0.5797 GB, free: 14.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.6946, allocations: 395.1 kB / 0.5801 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.6946, allocations: 0 / 0.5801 GB, free: 14.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007873/0.6954, allocations: 67.92 kB / 0.5801 GB, free: 14.53 MB / 410.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 (17): * Single equations (assignments): 17 * 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.004206/0.6997, allocations: 1.452 MB / 0.5816 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008056/0.7005, allocations: 139.8 kB / 0.5817 GB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.7006, allocations: 4 kB / 0.5817 GB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.7009, allocations: 79.89 kB / 0.5818 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/0.7019, allocations: 65.47 kB / 0.5818 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.7069, allocations: 1.989 MB / 0.5838 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/0.7075, allocations: 0.8077 MB / 0.5846 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.7079, allocations: 123.4 kB / 0.5847 GB, free: 9.887 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7079, allocations: 7.938 kB / 0.5847 GB, free: 9.879 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.912/3.62, allocations: 6.306 MB / 0.5908 GB, free: 3.566 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat