Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7",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.002268/0.002268, allocations: 185.9 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.04/2.04, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001128/0.001128, allocations: 86.16 kB / 270.9 MB, free: 8.387 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.5669/0.5669, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007179/0.0007181, allocations: 12 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1651, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5685/0.7337, allocations: 87.12 MB / 0.5639 GB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.734, allocations: 79.95 kB / 0.564 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02974/0.7638, allocations: 7.889 MB / 0.5717 GB, free: 7.523 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7638, allocations: 4 kB / 0.5717 GB, free: 7.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.344e-05/0.7639, allocations: 4 kB / 0.5717 GB, free: 7.516 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009164/0.7648, allocations: 0.6209 MB / 0.5723 GB, free: 6.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.7649, allocations: 12.03 kB / 0.5723 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.7649, allocations: 34.56 kB / 0.5723 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/0.765, allocations: 47.09 kB / 0.5724 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.7657, allocations: 319.4 kB / 0.5727 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.7657, allocations: 12.48 kB / 0.5727 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.7658, allocations: 0 / 0.5727 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.766, allocations: 50.72 kB / 0.5728 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.766, allocations: 0 / 0.5728 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.766, allocations: 3.984 kB / 0.5728 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.766, allocations: 8.5 kB / 0.5728 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.7662, allocations: 23.98 kB / 0.5728 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.767, allocations: 436.8 kB / 0.5732 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.7672, allocations: 38.5 kB / 0.5732 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.7672, allocations: 4.062 kB / 0.5732 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.7673, allocations: 42.45 kB / 0.5733 GB, free: 5.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.7673, allocations: 0 / 0.5733 GB, free: 5.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004056/0.7677, allocations: 101.2 kB / 0.5734 GB, free: 5.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.7678, allocations: 59.34 kB / 0.5734 GB, free: 5.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.7697, allocations: 0.79 MB / 0.5742 GB, free: 4.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.7697, allocations: 25.7 kB / 0.5742 GB, free: 4.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.77, allocations: 246.7 kB / 0.5745 GB, free: 4.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.77, allocations: 7.906 kB / 0.5745 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.77, allocations: 0 / 0.5745 GB, free: 4.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7702, allocations: 314.8 kB / 0.5748 GB, free: 4.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.7703, allocations: 11.98 kB / 0.5748 GB, free: 4.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.7703, allocations: 12 kB / 0.5748 GB, free: 4.125 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.7704, allocations: 16.05 kB / 0.5748 GB, free: 4.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7705, allocations: 0 / 0.5748 GB, free: 4.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002105/0.7707, allocations: 57.69 kB / 0.5749 GB, free: 4.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7707, allocations: 8 kB / 0.5749 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7707, allocations: 0 / 0.5749 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.7708, allocations: 7.938 kB / 0.5749 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.7709, allocations: 7.938 kB / 0.5749 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7709, allocations: 4.031 kB / 0.5749 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.771, allocations: 4 kB / 0.5749 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.771, allocations: 0.875 kB / 0.5749 GB, free: 4.016 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 (2): * Single equations (assignments): 2 * 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.0002895/0.7713, allocations: 213.8 kB / 0.5751 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.7714, allocations: 39.53 kB / 0.5751 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.7718, allocations: 116.6 kB / 0.5753 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.7718, allocations: 3.953 kB / 0.5753 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7718, allocations: 0 / 0.5753 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.7718, allocations: 0.75 kB / 0.5753 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.7723, allocations: 325.4 kB / 0.5756 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7723, allocations: 4 kB / 0.5756 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.7724, allocations: 8 kB / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7724, allocations: 0 / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.7724, allocations: 0 / 0.5756 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7724, allocations: 3.938 kB / 0.5756 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7724, allocations: 3.953 kB / 0.5756 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.7728, allocations: 199 kB / 0.5758 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.7731, allocations: 164.5 kB / 0.5759 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.7732, allocations: 0 / 0.5759 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.7733, allocations: 8 kB / 0.5759 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.7733, allocations: 32 / 0.5759 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.7734, allocations: 7.953 kB / 0.5759 GB, free: 2.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001204/0.7746, allocations: 0.6432 MB / 0.5766 GB, free: 2.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7746, allocations: 0 / 0.5766 GB, free: 2.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.775, allocations: 55.94 kB / 0.5766 GB, free: 2.145 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 (2): * Single equations (assignments): 2 * 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.001598/0.7766, allocations: 0.9804 MB / 0.5776 GB, free: 1.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.7768, allocations: 35.97 kB / 0.5776 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7769, allocations: 0 / 0.5776 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.777, allocations: 12 kB / 0.5776 GB, free: 1.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.7773, allocations: 22.3 kB / 0.5777 GB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.7822, allocations: 2.307 MB / 0.5799 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.7829, allocations: 0.8262 MB / 0.5807 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.7832, allocations: 123.6 kB / 0.5808 GB, free: 13.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7832, allocations: 0 / 0.5808 GB, free: 13.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.657/3.441, allocations: 7.003 MB / 0.5877 GB, free: 6.797 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat