Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.001597/0.001597, allocations: 173 kB / 8.742 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.537/1.537, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.000932/0.0009322, allocations: 101.8 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.2239/0.2239, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.422e-05/2.425e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.6553, allocations: 87.71 MB / 0.5804 GB, free: 8.656 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.6556, allocations: 67.97 kB / 0.5805 GB, free: 8.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.6724, allocations: 7.847 MB / 0.5881 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.6724, allocations: 0 / 0.5881 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.6725, allocations: 8 kB / 0.5882 GB, free: 0.7344 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007655/0.6732, allocations: 0.5637 MB / 0.5887 GB, free: 128 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.354e-05/0.6733, allocations: 15.98 kB / 0.5887 GB, free: 112 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.6734, allocations: 39.44 kB / 0.5888 GB, free: 72 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.674, allocations: 327.3 kB / 0.5891 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.674, allocations: 0 / 0.5891 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.6741, allocations: 7.938 kB / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.65e-05/0.6742, allocations: 12 kB / 0.5891 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.6743, allocations: 45.67 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.6743, allocations: 4 kB / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.6743, allocations: 3.938 kB / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.6743, allocations: 4 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/0.675, allocations: 409.3 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.355e-05/0.6751, allocations: 30.58 kB / 0.5896 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.6752, allocations: 16.86 kB / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.6752, allocations: 0 / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.6752, allocations: 38.64 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 3.376e-06/0.6752, allocations: 0 / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006681/0.6759, allocations: 211.7 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.676, allocations: 55.41 kB / 0.5899 GB, free: 14.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.6773, allocations: 0.7473 MB / 0.5906 GB, free: 14.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.6773, allocations: 33.7 kB / 0.5906 GB, free: 14.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.6775, allocations: 216 kB / 0.5908 GB, free: 13.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.6776, allocations: 19.72 kB / 0.5909 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.6776, allocations: 0 / 0.5909 GB, free: 13.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.6779, allocations: 362.7 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.6779, allocations: 16 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.6779, allocations: 15.94 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.678, allocations: 12.23 kB / 0.5912 GB, free: 13.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.678, allocations: 0 / 0.5912 GB, free: 13.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001787/0.6782, allocations: 117.2 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.6782, allocations: 4 kB / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6782, allocations: 0 / 0.5914 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.6783, allocations: 4 kB / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.6784, allocations: 19.98 kB / 0.5914 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6784, allocations: 0 / 0.5914 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.731e-05/0.6786, allocations: 15.98 kB / 0.5914 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.6786, allocations: 4 kB / 0.5914 GB, free: 13.2 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 (7): * Single equations (assignments): 7 * 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.0001076/0.6787, allocations: 112.9 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001801/0.6789, allocations: 105.1 kB / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.679, allocations: 39.53 kB / 0.5916 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.6792, allocations: 133.4 kB / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6792, allocations: 0 / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6793, allocations: 0 / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6793, allocations: 3.953 kB / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00085/0.6801, allocations: 0.5614 MB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6801, allocations: 4 kB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.6802, allocations: 19.98 kB / 0.5923 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.6803, allocations: 3.938 kB / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.6803, allocations: 0 / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6803, allocations: 4 kB / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.6803, allocations: 3.953 kB / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.6806, allocations: 214.8 kB / 0.5926 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.6808, allocations: 160.6 kB / 0.5927 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.6808, allocations: 0 / 0.5927 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.681, allocations: 8 kB / 0.5927 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.681, allocations: 16.08 kB / 0.5927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.681, allocations: 4 kB / 0.5927 GB, free: 11.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007496/0.6818, allocations: 0.6121 MB / 0.5933 GB, free: 11.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6818, allocations: 0 / 0.5933 GB, free: 11.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.6821, allocations: 52 kB / 0.5934 GB, free: 11.07 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 (7): * Single equations (assignments): 7 * 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.00141/0.6835, allocations: 0.9863 MB / 0.5944 GB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.6837, allocations: 39.98 kB / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6837, allocations: 0 / 0.5944 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.6838, allocations: 19.94 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.6841, allocations: 26.08 kB / 0.5944 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.6855, allocations: 0.8213 MB / 0.5952 GB, free: 9.184 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.6859, allocations: 0.8302 MB / 0.596 GB, free: 8.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.441e-05/0.686, allocations: 43.95 kB / 0.5961 GB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.6862, allocations: 107.4 kB / 0.5962 GB, free: 8.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6862, allocations: 0 / 0.5962 GB, free: 8.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.7145, allocations: 5.939 MB / 0.602 GB, free: 2.23 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.7148, allocations: 164.9 kB / 0.6022 GB, free: 2.039 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.979, allocations: 0 / 0.6022 GB, free: 2.039 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat does not exist to compare? outputFormat=mat