Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001694/0.001694, 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.585/1.585, 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.0008479/0.0008478, allocations: 86.23 kB / 267.1 MB, free: 9.293 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.3664/0.3664, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.83e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5543/0.6861, allocations: 88.87 MB / 0.5597 GB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/0.6865, allocations: 72.16 kB / 0.5598 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02964/0.7162, allocations: 8.598 MB / 0.5682 GB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7163, allocations: 0 / 0.5682 GB, free: 9.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.285e-05/0.7163, allocations: 15.98 kB / 0.5682 GB, free: 9.383 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.0007604/0.7171, allocations: 0.5558 MB / 0.5687 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.7172, allocations: 12.03 kB / 0.5687 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.7172, allocations: 44.14 kB / 0.5688 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.7173, allocations: 47.44 kB / 0.5688 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.7181, allocations: 351.2 kB / 0.5692 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.7181, allocations: 7.062 kB / 0.5692 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.7182, allocations: 11.94 kB / 0.5692 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.7185, allocations: 109 kB / 0.5693 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.7185, allocations: 8 kB / 0.5693 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.7185, allocations: 7.062 kB / 0.5693 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.7186, allocations: 4 kB / 0.5693 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.7188, allocations: 81.67 kB / 0.5694 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.7199, allocations: 0.5329 MB / 0.5699 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.7201, allocations: 95.17 kB / 0.57 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.7202, allocations: 43.53 kB / 0.57 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.7203, allocations: 4 kB / 0.57 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.7203, allocations: 30.56 kB / 0.5701 GB, free: 7.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/0.7204, allocations: 0 / 0.5701 GB, free: 7.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001132/0.7215, allocations: 383.4 kB / 0.5704 GB, free: 7.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.7215, allocations: 59.3 kB / 0.5705 GB, free: 7.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007707/0.7223, allocations: 496.2 kB / 0.571 GB, free: 6.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.7224, allocations: 29.7 kB / 0.571 GB, free: 6.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.7225, allocations: 203.9 kB / 0.5712 GB, free: 6.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.7226, allocations: 55.08 kB / 0.5712 GB, free: 6.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.7226, allocations: 3.5 kB / 0.5712 GB, free: 6.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7227, allocations: 349.9 kB / 0.5716 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.7228, allocations: 59.05 kB / 0.5716 GB, free: 6.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.723, allocations: 58.41 kB / 0.5717 GB, free: 6.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.7232, allocations: 68.94 kB / 0.5718 GB, free: 6.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7232, allocations: 0 / 0.5718 GB, free: 6.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004034/0.7236, allocations: 212 kB / 0.572 GB, free: 5.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7236, allocations: 4 kB / 0.572 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.7236, allocations: 0 / 0.572 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.7237, allocations: 0 / 0.572 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.7239, allocations: 39.97 kB / 0.572 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.7239, allocations: 4 kB / 0.572 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.7241, allocations: 15.39 kB / 0.572 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.7241, allocations: 5.312 kB / 0.572 GB, free: 5.844 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 7.425e-05/0.7242, allocations: 108.8 kB / 0.5721 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.7243, allocations: 39.53 kB / 0.5722 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006213/0.7249, allocations: 265.1 kB / 0.5724 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.7249, allocations: 4 kB / 0.5724 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.725, allocations: 4 kB / 0.5724 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.725, allocations: 0 / 0.5724 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.7262, allocations: 0.7065 MB / 0.5731 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7262, allocations: 0 / 0.5731 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.7264, allocations: 39.61 kB / 0.5731 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.7264, allocations: 8 kB / 0.5732 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.7265, allocations: 3.953 kB / 0.5732 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.7265, allocations: 0 / 0.5732 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7265, allocations: 7.938 kB / 0.5732 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.727, allocations: 313.7 kB / 0.5735 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.7272, allocations: 147.5 kB / 0.5736 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.7273, allocations: 7.938 kB / 0.5736 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.7275, allocations: 23.64 kB / 0.5736 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.7276, allocations: 7.984 kB / 0.5736 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.7277, allocations: 4 kB / 0.5736 GB, free: 4.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006796/0.7283, allocations: 403.8 kB / 0.574 GB, free: 4.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7284, allocations: 0 / 0.574 GB, free: 4.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006076/0.729, allocations: 75.23 kB / 0.5741 GB, free: 3.957 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.003003/0.732, allocations: 1.368 MB / 0.5754 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.7324, allocations: 147.4 kB / 0.5756 GB, free: 2.598 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7324, allocations: 0 / 0.5756 GB, free: 2.598 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.7326, allocations: 78.86 kB / 0.5757 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.7332, allocations: 65.67 kB / 0.5757 GB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.735, allocations: 0.6654 MB / 0.5764 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.7354, allocations: 0.8202 MB / 0.5772 GB, free: 1.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.7357, allocations: 70.02 kB / 0.5772 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.7359, allocations: 127.9 kB / 0.5774 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.7359, allocations: 0 / 0.5774 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.7666, allocations: 7.144 MB / 0.5843 GB, free: 9.785 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/0.7669, allocations: 186.5 kB / 0.5845 GB, free: 9.559 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.113, allocations: 3.938 kB / 0.5845 GB, free: 9.555 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat