Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001401/0.001401, allocations: 183.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000847/0.0008472, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2153/0.2153, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004278, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 58.84 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5546, allocations: 87.26 MB / 0.5641 GB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/0.5551, allocations: 73.97 kB / 0.5641 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01671/0.5718, allocations: 7.818 MB / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.379e-06/0.5718, allocations: 0 / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.5719, allocations: 11.94 kB / 0.5718 GB, free: 5.371 MB / 378.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.0007157/0.5726, allocations: 0.6316 MB / 0.5724 GB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5726, allocations: 12.03 kB / 0.5724 GB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.5727, allocations: 38.23 kB / 0.5724 GB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.5727, allocations: 47.39 kB / 0.5725 GB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.5732, allocations: 329.5 kB / 0.5728 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.5733, allocations: 3.375 kB / 0.5728 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.5733, allocations: 4 kB / 0.5728 GB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.5734, allocations: 52.44 kB / 0.5729 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5735, allocations: 0 / 0.5729 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5735, allocations: 3.984 kB / 0.5729 GB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.5735, allocations: 15.83 kB / 0.5729 GB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.759e-05/0.5736, allocations: 31.23 kB / 0.5729 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.5743, allocations: 436.6 kB / 0.5733 GB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.5745, allocations: 65.36 kB / 0.5734 GB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.5745, allocations: 0 / 0.5734 GB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.5745, allocations: 34.52 kB / 0.5734 GB, free: 3.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.5745, allocations: 0 / 0.5734 GB, free: 3.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006438/0.5752, allocations: 261.8 kB / 0.5737 GB, free: 3.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.5752, allocations: 51.41 kB / 0.5737 GB, free: 3.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.5764, allocations: 0.7825 MB / 0.5745 GB, free: 2.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5764, allocations: 26.27 kB / 0.5745 GB, free: 2.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.5766, allocations: 228.8 kB / 0.5747 GB, free: 2.555 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.5767, allocations: 15.73 kB / 0.5747 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.5767, allocations: 0 / 0.5747 GB, free: 2.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5768, allocations: 361.6 kB / 0.5751 GB, free: 2.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.5769, allocations: 27.61 kB / 0.5751 GB, free: 2.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.577, allocations: 23.92 kB / 0.5751 GB, free: 2.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.341e-05/0.5771, allocations: 31.53 kB / 0.5752 GB, free: 2.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5771, allocations: 0 / 0.5752 GB, free: 2.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002225/0.5773, allocations: 128.1 kB / 0.5753 GB, free: 2.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.5773, allocations: 11.39 kB / 0.5753 GB, free: 2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5774, allocations: 4 kB / 0.5753 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5774, allocations: 4 kB / 0.5753 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.5774, allocations: 15.86 kB / 0.5753 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5775, allocations: 4 kB / 0.5753 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.5775, allocations: 4 kB / 0.5753 GB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5776, allocations: 0 / 0.5753 GB, free: 1.973 MB / 378.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.0002064/0.5778, allocations: 220.7 kB / 0.5755 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.5778, allocations: 43.44 kB / 0.5756 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.5782, allocations: 156.5 kB / 0.5757 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5782, allocations: 4 kB / 0.5757 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5782, allocations: 0 / 0.5757 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5782, allocations: 0 / 0.5757 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.5791, allocations: 0.5998 MB / 0.5763 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5791, allocations: 3.953 kB / 0.5763 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.5792, allocations: 15.98 kB / 0.5763 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5792, allocations: 0 / 0.5763 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5792, allocations: 4 kB / 0.5763 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.5792, allocations: 11.88 kB / 0.5764 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5792, allocations: 0 / 0.5764 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.5796, allocations: 226.4 kB / 0.5766 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.5798, allocations: 164.3 kB / 0.5767 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.5799, allocations: 7.938 kB / 0.5767 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.58, allocations: 4 kB / 0.5767 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.58, allocations: 11.8 kB / 0.5768 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.58, allocations: 0 / 0.5768 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006045/0.5806, allocations: 0.6415 MB / 0.5774 GB, free: 88 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5806, allocations: 0 / 0.5774 GB, free: 88 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000294/0.5809, allocations: 55.98 kB / 0.5774 GB, free: 32 kB / 378.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.00143/0.5824, allocations: 1.057 MB / 0.5785 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.5826, allocations: 63.77 kB / 0.5785 GB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5826, allocations: 0 / 0.5785 GB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.5827, allocations: 35.8 kB / 0.5786 GB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.583, allocations: 29.42 kB / 0.5786 GB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.5859, allocations: 2.34 MB / 0.5809 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.5864, allocations: 0.8409 MB / 0.5817 GB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.5865, allocations: 43.97 kB / 0.5817 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.5866, allocations: 115.9 kB / 0.5818 GB, free: 11.83 MB / 394.7 MB Notification: Performance of SimCode: time 4.5e-07/0.5867, allocations: 0 / 0.5818 GB, free: 11.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.6061, allocations: 6.465 MB / 0.5882 GB, free: 5.371 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.6063, allocations: 215.5 kB / 0.5884 GB, free: 5.125 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.598, allocations: 4 kB / 0.5884 GB, free: 5.121 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat