Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.001666/0.001666, allocations: 172.3 kB / 8.741 MB, free: 344 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.562/1.562, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0009678/0.0009681, allocations: 104.2 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.226/0.226, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.006e-05, allocations: 4.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3718/0.5184, allocations: 86.72 MB / 0.5795 GB, free: 9.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.5186, allocations: 71.95 kB / 0.5795 GB, free: 9.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006089/0.5247, allocations: 2.924 MB / 0.5824 GB, free: 6.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5247, allocations: 0 / 0.5824 GB, free: 6.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.5247, allocations: 4 kB / 0.5824 GB, free: 6.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002272/0.525, allocations: 354.3 kB / 0.5827 GB, free: 6.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.525, allocations: 15.98 kB / 0.5827 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.525, allocations: 10.86 kB / 0.5827 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.5252, allocations: 171.3 kB / 0.5829 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5252, allocations: 7.953 kB / 0.5829 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.5252, allocations: 4 kB / 0.5829 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.865e-05/0.5253, allocations: 35.92 kB / 0.583 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5254, allocations: 173.9 kB / 0.5831 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5254, allocations: 3.938 kB / 0.5831 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.5255, allocations: 4 kB / 0.5831 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.5255, allocations: 11.98 kB / 0.5831 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/0.5262, allocations: 1.678 MB / 0.5848 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.5263, allocations: 177 kB / 0.5849 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.5263, allocations: 80.14 kB / 0.585 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.5263, allocations: 75.28 kB / 0.5851 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5263, allocations: 117.8 kB / 0.5852 GB, free: 3.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5264, allocations: 0 / 0.5852 GB, free: 3.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 5.967e-05/0.5264, allocations: 33.61 kB / 0.5852 GB, free: 3.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.5264, allocations: 51.41 kB / 0.5853 GB, free: 3.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.5266, allocations: 169.2 kB / 0.5854 GB, free: 3.328 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.5266, allocations: 25.7 kB / 0.5855 GB, free: 3.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.5267, allocations: 143.2 kB / 0.5856 GB, free: 3.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.708e-06/0.5267, allocations: 3.984 kB / 0.5856 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.5267, allocations: 3.938 kB / 0.5856 GB, free: 3.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.5268, allocations: 322.8 kB / 0.5859 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.5268, allocations: 31.94 kB / 0.586 GB, free: 2.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.5269, allocations: 149.2 kB / 0.5861 GB, free: 2.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.299e-05/0.527, allocations: 63.72 kB / 0.5862 GB, free: 2.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.527, allocations: 4 kB / 0.5862 GB, free: 2.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002205/0.5272, allocations: 165.2 kB / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5273, allocations: 5.406 kB / 0.5863 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.5273, allocations: 8.625 kB / 0.5863 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5273, allocations: 8 kB / 0.5863 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.5274, allocations: 35.92 kB / 0.5864 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5274, allocations: 12.64 kB / 0.5864 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.5275, allocations: 19.75 kB / 0.5864 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.5275, allocations: 15.95 kB / 0.5864 GB, free: 2.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.494e-05/0.5276, allocations: 188.1 kB / 0.5866 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.291e-05/0.5277, allocations: 146.5 kB / 0.5867 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.5277, allocations: 108.9 kB / 0.5868 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.5278, allocations: 124.7 kB / 0.587 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-05/0.5278, allocations: 180.2 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.344e-05/0.5279, allocations: 180.2 kB / 0.5873 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/0.5279, allocations: 180.8 kB / 0.5875 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.5281, allocations: 401.7 kB / 0.5879 GB, free: 0.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/0.5281, allocations: 109 kB / 0.588 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.5282, allocations: 105 kB / 0.5881 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.426e-05/0.5282, allocations: 184.2 kB / 0.5882 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.5283, allocations: 176.3 kB / 0.5884 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.759e-05/0.5283, allocations: 188.3 kB / 0.5886 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.174e-05/0.5284, allocations: 181.6 kB / 0.5888 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.949e-05/0.5285, allocations: 307.7 kB / 0.5891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.5286, allocations: 193.9 kB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.5286, allocations: 180.3 kB / 0.5894 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.5287, allocations: 112.9 kB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.5288, allocations: 184.2 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.5288, allocations: 105 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.317e-05/0.5289, allocations: 119.3 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5289, allocations: 0 / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.5291, allocations: 12 kB / 0.5899 GB, free: 14.43 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 (0): * Single equations (assignments): 0 * 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.0005572/0.5297, allocations: 0.8975 MB / 0.5908 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.5298, allocations: 68.91 kB / 0.5909 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5298, allocations: 3.938 kB / 0.5909 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.5298, allocations: 192 / 0.5909 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.5301, allocations: 0.5263 MB / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.5305, allocations: 241.4 kB / 0.5916 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5307, allocations: 0.7006 MB / 0.5923 GB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.5308, allocations: 53.14 kB / 0.5923 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.5308, allocations: 19.44 kB / 0.5924 GB, free: 11.86 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5309, allocations: 4 kB / 0.5924 GB, free: 11.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.5491, allocations: 1.636 MB / 0.594 GB, free: 10.24 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.5493, allocations: 161.3 kB / 0.5941 GB, free: 10.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.114, allocations: 3.938 kB / 0.5941 GB, free: 10.04 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat does not exist to compare? outputFormat=mat