Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001064/0.001064, allocations: 185.2 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.391/1.391, 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.0007802/0.0007803, allocations: 82.89 kB / 270.2 MB, free: 13.37 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.1988/0.1988, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.4727, allocations: 87.3 MB / 0.5641 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.4731, allocations: 72.47 kB / 0.5642 GB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.4902, allocations: 8.09 MB / 0.5721 GB, free: 5.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.4903, allocations: 3.938 kB / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.4903, allocations: 11.94 kB / 0.5721 GB, free: 5.102 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.0006807/0.491, allocations: 0.632 MB / 0.5727 GB, free: 4.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.491, allocations: 12.03 kB / 0.5727 GB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.4911, allocations: 37.73 kB / 0.5728 GB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.4912, allocations: 47.39 kB / 0.5728 GB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.4917, allocations: 333.4 kB / 0.5731 GB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.4917, allocations: 0 / 0.5731 GB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4917, allocations: 7.984 kB / 0.5731 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.4919, allocations: 60.56 kB / 0.5732 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4919, allocations: 0 / 0.5732 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4919, allocations: 0 / 0.5732 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4919, allocations: 7.953 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4921, allocations: 34.91 kB / 0.5732 GB, free: 3.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.4927, allocations: 434.4 kB / 0.5736 GB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.4929, allocations: 65.42 kB / 0.5737 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.4929, allocations: 0 / 0.5737 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.493, allocations: 34.58 kB / 0.5737 GB, free: 3.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.493, allocations: 0 / 0.5737 GB, free: 3.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006091/0.4936, allocations: 265 kB / 0.574 GB, free: 3.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.4936, allocations: 51.41 kB / 0.574 GB, free: 3.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.4948, allocations: 0.7831 MB / 0.5748 GB, free: 2.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4948, allocations: 25.7 kB / 0.5748 GB, free: 2.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.495, allocations: 227.7 kB / 0.575 GB, free: 2.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.495, allocations: 19 kB / 0.5751 GB, free: 2.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.495, allocations: 0 / 0.5751 GB, free: 2.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4952, allocations: 365.9 kB / 0.5754 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.4952, allocations: 23.3 kB / 0.5754 GB, free: 1.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.905e-05/0.4953, allocations: 23.17 kB / 0.5754 GB, free: 1.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.737e-05/0.4954, allocations: 29.92 kB / 0.5755 GB, free: 1.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4954, allocations: 0 / 0.5755 GB, free: 1.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002294/0.4956, allocations: 134.2 kB / 0.5756 GB, free: 1.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4956, allocations: 11.39 kB / 0.5756 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4957, allocations: 4 kB / 0.5756 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4957, allocations: 4 kB / 0.5756 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.4957, allocations: 11.98 kB / 0.5756 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4958, allocations: 4 kB / 0.5756 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.4958, allocations: 4.25 kB / 0.5756 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.4958, allocations: 0 / 0.5756 GB, free: 1.695 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.0001835/0.496, allocations: 221.8 kB / 0.5759 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.4961, allocations: 43.44 kB / 0.5759 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.4964, allocations: 163.2 kB / 0.5761 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4964, allocations: 0 / 0.5761 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4964, allocations: 0 / 0.5761 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4964, allocations: 0 / 0.5761 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.4973, allocations: 0.5934 MB / 0.5766 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4973, allocations: 3.953 kB / 0.5766 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.4974, allocations: 19.92 kB / 0.5767 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4974, allocations: 0 / 0.5767 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4974, allocations: 4 kB / 0.5767 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4974, allocations: 7.938 kB / 0.5767 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4974, allocations: 3.938 kB / 0.5767 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.4977, allocations: 221.3 kB / 0.5769 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.4979, allocations: 167.7 kB / 0.577 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.498, allocations: 4.281 kB / 0.577 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.4981, allocations: 4 kB / 0.577 GB, free: 296 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.4981, allocations: 7.984 kB / 0.5771 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4981, allocations: 0 / 0.5771 GB, free: 288 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006919/0.4988, allocations: 0.6411 MB / 0.5777 GB, free: 15.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4988, allocations: 0 / 0.5777 GB, free: 15.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.4991, allocations: 59.5 kB / 0.5777 GB, free: 15.76 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 (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.001377/0.5005, allocations: 1.07 MB / 0.5788 GB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.5007, allocations: 61.89 kB / 0.5788 GB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5007, allocations: 0 / 0.5788 GB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.5008, allocations: 34.05 kB / 0.5789 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.5011, allocations: 23.23 kB / 0.5789 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.504, allocations: 2.34 MB / 0.5812 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.5045, allocations: 0.8335 MB / 0.582 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.934e-05/0.5047, allocations: 47.97 kB / 0.582 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.5048, allocations: 122 kB / 0.5822 GB, free: 11.56 MB / 394.7 MB Notification: Performance of SimCode: time 5.82e-07/0.5048, allocations: 0 / 0.5822 GB, free: 11.56 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.5251, allocations: 6.46 MB / 0.5885 GB, free: 5.105 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.5254, allocations: 219.5 kB / 0.5887 GB, free: 4.855 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.653, allocations: 3.938 kB / 0.5887 GB, free: 4.852 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat