Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29",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.002248/0.002247, allocations: 185.2 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.198/2.198, 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.001221/0.00122, allocations: 93.53 kB / 270.9 MB, free: 8.371 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.529/0.529, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004854, allocations: 8 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.6001, allocations: 87.23 MB / 0.564 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.6005, allocations: 79.16 kB / 0.5641 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01916/0.6197, allocations: 4.416 MB / 0.5684 GB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6197, allocations: 0 / 0.5684 GB, free: 10.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.6197, allocations: 11.75 kB / 0.5684 GB, free: 10.71 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.0006266/0.6204, allocations: 426.6 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6204, allocations: 8.031 kB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.6205, allocations: 38.55 kB / 0.5689 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.6206, allocations: 19.19 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.6209, allocations: 203.6 kB / 0.5691 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.6209, allocations: 4 kB / 0.5691 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.621, allocations: 4 kB / 0.5691 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.6212, allocations: 61.67 kB / 0.5691 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6212, allocations: 0 / 0.5691 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.6213, allocations: 1.031 kB / 0.5691 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.6213, allocations: 4 kB / 0.5691 GB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.6215, allocations: 55.94 kB / 0.5692 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.6222, allocations: 324.7 kB / 0.5695 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.6224, allocations: 54.56 kB / 0.5696 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.6224, allocations: 0 / 0.5696 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.6225, allocations: 30.56 kB / 0.5696 GB, free: 9.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.6225, allocations: 0 / 0.5696 GB, free: 9.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001317/0.6238, allocations: 273.2 kB / 0.5698 GB, free: 9.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6239, allocations: 51.41 kB / 0.5699 GB, free: 8.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.6242, allocations: 194 kB / 0.5701 GB, free: 8.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.6242, allocations: 29.7 kB / 0.5701 GB, free: 8.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.6243, allocations: 174.4 kB / 0.5703 GB, free: 8.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.6244, allocations: 27.72 kB / 0.5703 GB, free: 8.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.6244, allocations: 4 kB / 0.5703 GB, free: 8.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6246, allocations: 318.8 kB / 0.5706 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.6248, allocations: 43.97 kB / 0.5706 GB, free: 8.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.625, allocations: 43.97 kB / 0.5707 GB, free: 8.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.6253, allocations: 51.97 kB / 0.5707 GB, free: 8.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6253, allocations: 3.938 kB / 0.5707 GB, free: 8.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006745/0.626, allocations: 133.6 kB / 0.5709 GB, free: 7.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.6261, allocations: 4 kB / 0.5709 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6261, allocations: 0.7812 kB / 0.5709 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.6261, allocations: 3.953 kB / 0.5709 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.6264, allocations: 28.73 kB / 0.5709 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6265, allocations: 3.938 kB / 0.5709 GB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.6267, allocations: 11.98 kB / 0.5709 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.6267, allocations: 4 kB / 0.5709 GB, free: 7.91 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.0002135/0.6269, allocations: 133.8 kB / 0.5711 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-05/0.627, allocations: 7.906 kB / 0.5711 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/0.628, allocations: 164 kB / 0.5712 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.628, allocations: 7.953 kB / 0.5712 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.628, allocations: 8 kB / 0.5712 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.628, allocations: 0 / 0.5712 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.6294, allocations: 446.4 kB / 0.5717 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6295, allocations: 4 kB / 0.5717 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.6297, allocations: 23.98 kB / 0.5717 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.6298, allocations: 3.953 kB / 0.5717 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.6298, allocations: 7.938 kB / 0.5717 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.6298, allocations: 0 / 0.5717 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6299, allocations: 0 / 0.5717 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.6307, allocations: 243.3 kB / 0.5719 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.6308, allocations: 96.91 kB / 0.572 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.6309, allocations: 11.95 kB / 0.572 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.6311, allocations: 8 kB / 0.572 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.6312, allocations: 8.266 kB / 0.572 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.6312, allocations: 0 / 0.572 GB, free: 6.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.6316, allocations: 163.7 kB / 0.5722 GB, free: 6.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.6316, allocations: 0 / 0.5722 GB, free: 6.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006073/0.6322, allocations: 27.94 kB / 0.5722 GB, free: 6.469 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.002801/0.635, allocations: 1.084 MB / 0.5733 GB, free: 5.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.6358, allocations: 103.9 kB / 0.5734 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6359, allocations: 0 / 0.5734 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.6362, allocations: 59.89 kB / 0.5734 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.6367, allocations: 18.2 kB / 0.5735 GB, free: 5.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.6398, allocations: 0.8802 MB / 0.5743 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.6403, allocations: 0.7199 MB / 0.575 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.6405, allocations: 31.42 kB / 0.5751 GB, free: 3.578 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6405, allocations: 0 / 0.5751 GB, free: 3.578 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.746/3.387, allocations: 2.438 MB / 0.5774 GB, free: 1.141 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat does not exist to compare? outputFormat=mat