Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009289/0.0009293, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.0008479, allocations: 87 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.549e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/0.6954, allocations: 90.01 MB / 0.5827 GB, free: 6.348 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.6957, allocations: 71.89 kB / 0.5827 GB, free: 6.277 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02403/0.7198, allocations: 9.446 MB / 0.592 GB, free: 12.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.7198, allocations: 0 / 0.592 GB, free: 12.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.802e-05/0.7199, allocations: 8 kB / 0.592 GB, free: 12.82 MB / 410.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.0007146/0.7206, allocations: 0.5521 MB / 0.5925 GB, free: 12.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.7206, allocations: 15.98 kB / 0.5925 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.7207, allocations: 35.53 kB / 0.5926 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.7212, allocations: 355.4 kB / 0.5929 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.7213, allocations: 8 kB / 0.5929 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.7213, allocations: 11.91 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001436/0.7215, allocations: 48 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.7216, allocations: 89.59 kB / 0.5931 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.7216, allocations: 0 / 0.5931 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.7217, allocations: 0 / 0.5931 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7217, allocations: 7.938 kB / 0.5931 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.7223, allocations: 476.8 kB / 0.5935 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.7225, allocations: 82.56 kB / 0.5936 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.522e-05/0.7225, allocations: 24.86 kB / 0.5936 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.7226, allocations: 3.984 kB / 0.5936 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.7226, allocations: 38.52 kB / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.7226, allocations: 4 kB / 0.5937 GB, free: 10.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006935/0.7233, allocations: 305.5 kB / 0.594 GB, free: 10.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.7234, allocations: 55.41 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.7239, allocations: 473.2 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.7239, allocations: 25.7 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.7241, allocations: 208.3 kB / 0.5947 GB, free: 9.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.7242, allocations: 51.14 kB / 0.5947 GB, free: 9.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.7242, allocations: 0 / 0.5947 GB, free: 9.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7243, allocations: 354.8 kB / 0.5951 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.7244, allocations: 40 kB / 0.5951 GB, free: 9.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/0.7245, allocations: 39.91 kB / 0.5951 GB, free: 9.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.211e-05/0.7245, allocations: 45.22 kB / 0.5952 GB, free: 9.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7245, allocations: 0 / 0.5952 GB, free: 9.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002278/0.7248, allocations: 162.4 kB / 0.5953 GB, free: 9.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7248, allocations: 8 kB / 0.5953 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7248, allocations: 0 / 0.5953 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.7248, allocations: 0 / 0.5953 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.725, allocations: 39.92 kB / 0.5954 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.725, allocations: 0 / 0.5954 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.177e-05/0.7251, allocations: 15.89 kB / 0.5954 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.7251, allocations: 8 kB / 0.5954 GB, free: 9.102 MB / 410.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 8.668e-05/0.7252, allocations: 105 kB / 0.5955 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00024/0.7255, allocations: 170.6 kB / 0.5957 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.7255, allocations: 39.53 kB / 0.5957 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.7259, allocations: 213.2 kB / 0.5959 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7259, allocations: 7.984 kB / 0.5959 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7259, allocations: 0 / 0.5959 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7259, allocations: 0 / 0.5959 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007257/0.7267, allocations: 0.6129 MB / 0.5965 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7267, allocations: 7.938 kB / 0.5965 GB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.7268, allocations: 31.98 kB / 0.5966 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.7268, allocations: 0 / 0.5966 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.7268, allocations: 7.938 kB / 0.5966 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7268, allocations: 0 / 0.5966 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7268, allocations: 0 / 0.5966 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.7271, allocations: 272.6 kB / 0.5968 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.7273, allocations: 144.6 kB / 0.597 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.7273, allocations: 4 kB / 0.597 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.7274, allocations: 8 kB / 0.597 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.7275, allocations: 11.98 kB / 0.597 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.7275, allocations: 4 kB / 0.597 GB, free: 7.383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004185/0.7279, allocations: 378.9 kB / 0.5973 GB, free: 7.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7279, allocations: 4 kB / 0.5974 GB, free: 7.012 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.7283, allocations: 63.92 kB / 0.5974 GB, free: 6.949 MB / 410.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.001849/0.7301, allocations: 1.278 MB / 0.5987 GB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.7303, allocations: 103.8 kB / 0.5988 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7304, allocations: 0 / 0.5988 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.7304, allocations: 63.92 kB / 0.5988 GB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.7309, allocations: 59.19 kB / 0.5989 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.732, allocations: 0.6125 MB / 0.5995 GB, free: 4.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.7325, allocations: 0.8062 MB / 0.6003 GB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.7327, allocations: 58.02 kB / 0.6003 GB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.7329, allocations: 123.4 kB / 0.6004 GB, free: 3.891 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7329, allocations: 4 kB / 0.6004 GB, free: 3.887 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.7605, allocations: 6.41 MB / 0.6067 GB, free: 13.49 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.7608, allocations: 156.1 kB / 0.6068 GB, free: 13.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.777, allocations: 0 / 0.6068 GB, free: 13.3 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat does not exist to compare? outputFormat=mat