Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",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.001062/0.001062, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.829/1.829, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009347/0.000935, allocations: 84.52 kB / 267 MB, free: 9.266 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.4503/0.4503, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.165e-05/4.177e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1622, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5276/0.6899, allocations: 86.78 MB / 0.5576 GB, free: 16.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.6902, allocations: 76.62 kB / 0.5577 GB, free: 16.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.7069, allocations: 7.69 MB / 0.5652 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.707, allocations: 4 kB / 0.5652 GB, free: 11.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.707, allocations: 8 kB / 0.5652 GB, free: 11.77 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.0005525/0.7076, allocations: 0.5583 MB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.7077, allocations: 12.03 kB / 0.5658 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.7077, allocations: 34.12 kB / 0.5658 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.7078, allocations: 43.44 kB / 0.5659 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.7082, allocations: 318.8 kB / 0.5662 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.7083, allocations: 0 / 0.5662 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.7083, allocations: 9.188 kB / 0.5662 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.7084, allocations: 55.56 kB / 0.5662 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.7085, allocations: 0 / 0.5662 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.7085, allocations: 0 / 0.5662 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.7085, allocations: 3.953 kB / 0.5662 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.7085, allocations: 19.12 kB / 0.5663 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.7091, allocations: 435.1 kB / 0.5667 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.7093, allocations: 42.19 kB / 0.5667 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.7094, allocations: 16.8 kB / 0.5667 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.7094, allocations: 7.953 kB / 0.5667 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.7094, allocations: 30.56 kB / 0.5668 GB, free: 10.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.7094, allocations: 0 / 0.5668 GB, free: 10.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004591/0.7099, allocations: 186 kB / 0.5669 GB, free: 9.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.7099, allocations: 51.41 kB / 0.567 GB, free: 9.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.711, allocations: 0.7784 MB / 0.5678 GB, free: 9.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.711, allocations: 29.7 kB / 0.5678 GB, free: 9.277 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.7112, allocations: 227.1 kB / 0.568 GB, free: 9.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.7112, allocations: 16.5 kB / 0.568 GB, free: 9.133 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.7112, allocations: 7.562 kB / 0.568 GB, free: 9.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7113, allocations: 356.7 kB / 0.5684 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.7114, allocations: 7.688 kB / 0.5684 GB, free: 8.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.7114, allocations: 13.91 kB / 0.5684 GB, free: 8.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.7114, allocations: 7.688 kB / 0.5684 GB, free: 8.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7114, allocations: 0 / 0.5684 GB, free: 8.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001178/0.7116, allocations: 111.8 kB / 0.5685 GB, free: 8.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7116, allocations: 8 kB / 0.5685 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7116, allocations: 0 / 0.5685 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.7116, allocations: 0 / 0.5685 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.7117, allocations: 15.98 kB / 0.5685 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.7117, allocations: 0 / 0.5685 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.7118, allocations: 8 kB / 0.5685 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.7118, allocations: 0 / 0.5685 GB, free: 8.637 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 () * 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 5.918e-05/0.7119, allocations: 113.9 kB / 0.5686 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.7119, allocations: 43.48 kB / 0.5687 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.7121, allocations: 126.3 kB / 0.5688 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7121, allocations: 0 / 0.5688 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7121, allocations: 0 / 0.5688 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.7122, allocations: 4.141 kB / 0.5688 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.7127, allocations: 0.5545 MB / 0.5693 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7128, allocations: 3.984 kB / 0.5693 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.7128, allocations: 23.92 kB / 0.5694 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7128, allocations: 0 / 0.5694 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.7128, allocations: 0.75 kB / 0.5694 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7129, allocations: 4 kB / 0.5694 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7129, allocations: 0 / 0.5694 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.713, allocations: 189.9 kB / 0.5696 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.7132, allocations: 168.8 kB / 0.5697 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.7132, allocations: 4 kB / 0.5697 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.7133, allocations: 11.98 kB / 0.5697 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.7134, allocations: 7.625 kB / 0.5697 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.7134, allocations: 0 / 0.5697 GB, free: 7.426 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000596/0.714, allocations: 0.6347 MB / 0.5704 GB, free: 6.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.714, allocations: 0 / 0.5704 GB, free: 6.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.7143, allocations: 59.92 kB / 0.5704 GB, free: 6.91 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 () * 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.001316/0.7156, allocations: 1.007 MB / 0.5714 GB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.7158, allocations: 29.31 kB / 0.5714 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7158, allocations: 4 kB / 0.5714 GB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.7158, allocations: 10.88 kB / 0.5714 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.7161, allocations: 28.72 kB / 0.5715 GB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.7172, allocations: 0.808 MB / 0.5723 GB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.7175, allocations: 0.8312 MB / 0.5731 GB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.182e-05/0.7176, allocations: 44.22 kB / 0.5731 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.7177, allocations: 108.7 kB / 0.5732 GB, free: 4.25 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7177, allocations: 3.938 kB / 0.5732 GB, free: 4.246 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.7379, allocations: 6.418 MB / 0.5795 GB, free: 13.85 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.7382, allocations: 184.3 kB / 0.5797 GB, free: 13.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.762, allocations: 0 / 0.5797 GB, free: 13.62 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat