Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.001301/0.001301, allocations: 182.8 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.904/1.904, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0009029/0.0009029, allocations: 100.2 kB / 267.1 MB, free: 9.27 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.5484/0.5484, allocations: 43.48 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.795e-05/4.851e-05, allocations: 7.984 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1615, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5221/0.6837, allocations: 89.02 MB / 0.5599 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.6841, allocations: 76.78 kB / 0.5599 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02228/0.7064, allocations: 9.109 MB / 0.5688 GB, free: 8.766 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7064, allocations: 0 / 0.5688 GB, free: 8.766 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.786e-05/0.7065, allocations: 15.94 kB / 0.5688 GB, free: 8.75 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005895/0.7071, allocations: 0.5616 MB / 0.5694 GB, free: 8.172 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.7071, allocations: 8.031 kB / 0.5694 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.7072, allocations: 44.92 kB / 0.5694 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.7073, allocations: 43.44 kB / 0.5695 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.7078, allocations: 349.2 kB / 0.5698 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.7078, allocations: 7.438 kB / 0.5698 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.7078, allocations: 11.31 kB / 0.5698 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.7081, allocations: 115 kB / 0.5699 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.7081, allocations: 8 kB / 0.5699 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.7081, allocations: 5.375 kB / 0.5699 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.7081, allocations: 0 / 0.5699 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.7083, allocations: 84.17 kB / 0.57 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.709, allocations: 0.5374 MB / 0.5706 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.7092, allocations: 94.92 kB / 0.5706 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.7093, allocations: 34.05 kB / 0.5707 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.7093, allocations: 0 / 0.5707 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.7093, allocations: 41.98 kB / 0.5707 GB, free: 6.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.7093, allocations: 0 / 0.5707 GB, free: 6.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007656/0.7101, allocations: 378.2 kB / 0.5711 GB, free: 6.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.7102, allocations: 63.23 kB / 0.5711 GB, free: 6.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.7107, allocations: 493.6 kB / 0.5716 GB, free: 6.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.7107, allocations: 29.02 kB / 0.5716 GB, free: 6.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.7108, allocations: 205.5 kB / 0.5718 GB, free: 5.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.7109, allocations: 54.33 kB / 0.5719 GB, free: 5.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.7109, allocations: 3.75 kB / 0.5719 GB, free: 5.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.711, allocations: 353.7 kB / 0.5722 GB, free: 5.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.7111, allocations: 61.92 kB / 0.5723 GB, free: 5.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.868e-05/0.7111, allocations: 53.67 kB / 0.5723 GB, free: 5.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/0.7112, allocations: 61.75 kB / 0.5724 GB, free: 5.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.7112, allocations: 0 / 0.5724 GB, free: 5.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002499/0.7115, allocations: 209.6 kB / 0.5726 GB, free: 5.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7115, allocations: 4 kB / 0.5726 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.7115, allocations: 0 / 0.5726 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.7116, allocations: 3.984 kB / 0.5726 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.7117, allocations: 43.3 kB / 0.5726 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.7117, allocations: 8 kB / 0.5727 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.7119, allocations: 11.95 kB / 0.5727 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.7119, allocations: 11.36 kB / 0.5727 GB, free: 5.211 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 (17): * Single equations (assignments): 17 * 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 6.357e-05/0.712, allocations: 104.9 kB / 0.5728 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.712, allocations: 39.53 kB / 0.5728 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.7124, allocations: 265.7 kB / 0.5731 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7124, allocations: 4 kB / 0.5731 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7125, allocations: 4 kB / 0.5731 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7125, allocations: 7.984 kB / 0.5731 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.7132, allocations: 0.7034 MB / 0.5738 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7132, allocations: 0 / 0.5738 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.7133, allocations: 35.23 kB / 0.5738 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7133, allocations: 11.94 kB / 0.5738 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.7133, allocations: 7.938 kB / 0.5738 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7134, allocations: 0 / 0.5738 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7134, allocations: 3.938 kB / 0.5738 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.7137, allocations: 305.4 kB / 0.5741 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.7138, allocations: 146 kB / 0.5743 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.7138, allocations: 7.438 kB / 0.5743 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.714, allocations: 19.08 kB / 0.5743 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.714, allocations: 11.97 kB / 0.5743 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.714, allocations: 4 kB / 0.5743 GB, free: 3.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004054/0.7144, allocations: 402.1 kB / 0.5747 GB, free: 3.398 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7144, allocations: 0 / 0.5747 GB, free: 3.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.7148, allocations: 64.56 kB / 0.5747 GB, free: 3.344 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 (17): * Single equations (assignments): 17 * 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.001871/0.7167, allocations: 1.38 MB / 0.5761 GB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.7169, allocations: 139.9 kB / 0.5762 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7169, allocations: 0 / 0.5762 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.717, allocations: 80.92 kB / 0.5763 GB, free: 1.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.7174, allocations: 72.16 kB / 0.5764 GB, free: 1.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.7184, allocations: 0.666 MB / 0.577 GB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.7186, allocations: 0.8271 MB / 0.5778 GB, free: 412 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.7188, allocations: 70.02 kB / 0.5779 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.7189, allocations: 125.2 kB / 0.578 GB, free: 300 kB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7189, allocations: 0 / 0.578 GB, free: 300 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.7382, allocations: 7.144 MB / 0.585 GB, free: 9.152 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.7384, allocations: 186.6 kB / 0.5852 GB, free: 8.926 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.8, allocations: 0 / 0.5852 GB, free: 8.926 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat