Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001143, allocations: 169.7 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.401/1.401, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.001019/0.001019, allocations: 99.12 kB / 281.6 MB, free: 5.336 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.2156/0.2156, allocations: 44.15 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.33e-05, allocations: 4.219 kB / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 61.92 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4421/0.5716, allocations: 87.98 MB / 0.5806 GB, free: 8.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.5719, allocations: 75.95 kB / 0.5807 GB, free: 8.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01092/0.5828, allocations: 4.314 MB / 0.5849 GB, free: 4.195 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5828, allocations: 0 / 0.5849 GB, free: 4.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.5828, allocations: 0 / 0.5849 GB, free: 4.195 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.0003688/0.5832, allocations: 390.4 kB / 0.5853 GB, free: 3.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5833, allocations: 11.98 kB / 0.5853 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.5833, allocations: 7.906 kB / 0.5853 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.5835, allocations: 190.8 kB / 0.5855 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.5835, allocations: 7.953 kB / 0.5855 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.5836, allocations: 0 / 0.5855 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.776e-05/0.5836, allocations: 16 kB / 0.5855 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.074e-05/0.5837, allocations: 59.41 kB / 0.5855 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5837, allocations: 4 kB / 0.5855 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.5838, allocations: 0 / 0.5855 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.5838, allocations: 0 / 0.5855 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.5841, allocations: 269.2 kB / 0.5858 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.5842, allocations: 38.58 kB / 0.5858 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.5842, allocations: 12.86 kB / 0.5859 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.5842, allocations: 0 / 0.5859 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.5842, allocations: 34.56 kB / 0.5859 GB, free: 3.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.5843, allocations: 0 / 0.5859 GB, free: 3.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004245/0.5847, allocations: 125.4 kB / 0.586 GB, free: 2.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.5847, allocations: 85.11 kB / 0.5861 GB, free: 2.789 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.5849, allocations: 127.2 kB / 0.5862 GB, free: 2.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.5849, allocations: 25.7 kB / 0.5862 GB, free: 2.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.5849, allocations: 92.89 kB / 0.5863 GB, free: 2.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.585, allocations: 23.7 kB / 0.5863 GB, free: 2.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/0.585, allocations: 0 / 0.5863 GB, free: 2.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5851, allocations: 322.8 kB / 0.5867 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.5851, allocations: 12 kB / 0.5867 GB, free: 2.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.5852, allocations: 37.66 kB / 0.5867 GB, free: 2.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.5852, allocations: 15.19 kB / 0.5867 GB, free: 2.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5852, allocations: 0 / 0.5867 GB, free: 2.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001073/0.5853, allocations: 81.58 kB / 0.5868 GB, free: 2.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5853, allocations: 4 kB / 0.5868 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5854, allocations: 4 kB / 0.5868 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5854, allocations: 0 / 0.5868 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.5855, allocations: 24.02 kB / 0.5868 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.5855, allocations: 0 / 0.5868 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.5856, allocations: 19.92 kB / 0.5868 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.5856, allocations: 0 / 0.5868 GB, free: 1.98 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 (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 7.156e-05/0.5857, allocations: 112.9 kB / 0.5869 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.5857, allocations: 7.906 kB / 0.587 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.5859, allocations: 78.44 kB / 0.587 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5859, allocations: 7.984 kB / 0.587 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5859, allocations: 7.984 kB / 0.587 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.5859, allocations: 0 / 0.587 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.5863, allocations: 327 kB / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.5863, allocations: 0 / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.5864, allocations: 19.98 kB / 0.5874 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5864, allocations: 4 kB / 0.5874 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.5864, allocations: 4 kB / 0.5874 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5864, allocations: 0 / 0.5874 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5864, allocations: 0 / 0.5874 GB, free: 1.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.5866, allocations: 171.4 kB / 0.5875 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.5866, allocations: 89 kB / 0.5876 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.5867, allocations: 4 kB / 0.5876 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.5868, allocations: 19.92 kB / 0.5877 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.5868, allocations: 7.984 kB / 0.5877 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.5868, allocations: 0 / 0.5877 GB, free: 1.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.748e-05/0.5869, allocations: 113.5 kB / 0.5878 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5869, allocations: 4 kB / 0.5878 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.5872, allocations: 20 kB / 0.5878 GB, free: 0.9102 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 (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.0007898/0.588, allocations: 383.5 kB / 0.5882 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.5881, allocations: 39.98 kB / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5881, allocations: 0 / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.5881, allocations: 31.94 kB / 0.5882 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.5884, allocations: 15.94 kB / 0.5882 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.5886, allocations: 116.3 kB / 0.5884 GB, free: 396 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.5889, allocations: 0.6963 MB / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.836e-05/0.589, allocations: 19.94 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.5891, allocations: 11.44 kB / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5891, allocations: 0 / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of Templates: time 0.003567/0.5926, allocations: 1.389 MB / 0.5904 GB, free: 14.25 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches