Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009138/0.0009137, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.3 MB / 236 MB, free: 2.98 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.000856/0.0008562, allocations: 101.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1732/0.1732, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.866e-05, allocations: 8.203 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.4802, allocations: 87.59 MB / 0.5872 GB, free: 1.742 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4805, allocations: 75.95 kB / 0.5873 GB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006708/0.4873, allocations: 3.036 MB / 0.5903 GB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4873, allocations: 0 / 0.5903 GB, free: 14.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.4873, allocations: 8 kB / 0.5903 GB, free: 14.62 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002504/0.4876, allocations: 354.5 kB / 0.5906 GB, free: 14.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4876, allocations: 10.98 kB / 0.5906 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.4876, allocations: 7.906 kB / 0.5906 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4878, allocations: 183.2 kB / 0.5908 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4878, allocations: 11.95 kB / 0.5908 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4878, allocations: 4 kB / 0.5908 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.488, allocations: 181.2 kB / 0.591 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.488, allocations: 7.938 kB / 0.591 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4881, allocations: 8 kB / 0.591 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.4881, allocations: 11.98 kB / 0.591 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.4882, allocations: 51.8 kB / 0.5911 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.489, allocations: 1.705 MB / 0.5927 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.4891, allocations: 169.1 kB / 0.5929 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.4891, allocations: 84.14 kB / 0.593 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.4891, allocations: 79.22 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.4892, allocations: 105.8 kB / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4892, allocations: 0 / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.863e-05/0.4893, allocations: 33.61 kB / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4893, allocations: 126.7 kB / 0.5933 GB, free: 11.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4895, allocations: 177.2 kB / 0.5935 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.4895, allocations: 25.7 kB / 0.5935 GB, free: 11.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.4896, allocations: 147.1 kB / 0.5937 GB, free: 10.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-06/0.4896, allocations: 4 kB / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.4896, allocations: 0 / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.4897, allocations: 326.8 kB / 0.594 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.123e-05/0.4897, allocations: 28 kB / 0.594 GB, free: 10.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4899, allocations: 160.9 kB / 0.5941 GB, free: 10.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.4899, allocations: 67.91 kB / 0.5942 GB, free: 10.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.49, allocations: 3.938 kB / 0.5942 GB, free: 10.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002634/0.4902, allocations: 189.1 kB / 0.5944 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4902, allocations: 11.98 kB / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4903, allocations: 4 kB / 0.5944 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4903, allocations: 8 kB / 0.5944 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4904, allocations: 40.55 kB / 0.5945 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4904, allocations: 16.58 kB / 0.5945 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.4905, allocations: 19.75 kB / 0.5945 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.4905, allocations: 12 kB / 0.5945 GB, free: 9.922 MB / 410.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.667e-05/0.4906, allocations: 192.1 kB / 0.5947 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.4907, allocations: 112.8 kB / 0.5948 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.4907, allocations: 119.1 kB / 0.5949 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/0.4908, allocations: 188.3 kB / 0.5951 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.357e-05/0.4908, allocations: 184.2 kB / 0.5953 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/0.4909, allocations: 180.2 kB / 0.5954 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.4911, allocations: 429.2 kB / 0.5958 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/0.4911, allocations: 101 kB / 0.5959 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.4912, allocations: 109 kB / 0.596 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.016e-05/0.4912, allocations: 184.2 kB / 0.5962 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/0.4913, allocations: 176.3 kB / 0.5964 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.929e-05/0.4914, allocations: 184.2 kB / 0.5966 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.547e-05/0.4914, allocations: 180.3 kB / 0.5967 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.4915, allocations: 315.6 kB / 0.597 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.4916, allocations: 190 kB / 0.5972 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.4917, allocations: 180.2 kB / 0.5974 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.4918, allocations: 109 kB / 0.5975 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.4918, allocations: 180.2 kB / 0.5977 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4919, allocations: 101 kB / 0.5978 GB, free: 6.352 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.909e-05/0.492, allocations: 140.1 kB / 0.5979 GB, free: 6.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.492, allocations: 0 / 0.5979 GB, free: 6.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.4922, allocations: 12 kB / 0.5979 GB, free: 6.203 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.0004079/0.4926, allocations: 268.5 kB / 0.5982 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.4928, allocations: 76.42 kB / 0.5982 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4928, allocations: 0 / 0.5982 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.4928, allocations: 352 / 0.5982 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.493, allocations: 0.534 MB / 0.5988 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.4933, allocations: 198.1 kB / 0.5989 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.4935, allocations: 0.7009 MB / 0.5996 GB, free: 4.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.4937, allocations: 49.14 kB / 0.5997 GB, free: 4.371 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.4937, allocations: 15.44 kB / 0.5997 GB, free: 4.355 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4937, allocations: 0 / 0.5997 GB, free: 4.355 MB / 410.7 MB Notification: Performance of Templates: time 0.002582/0.4963, allocations: 0.7213 MB / 0.6004 GB, free: 3.645 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches