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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 180.5 kB / 8.52 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.4 MB / 230.3 MB, free: 7.617 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.0009894/0.0009894, allocations: 91.36 kB / 281.2 MB, free: 5.43 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.1762/0.1762, allocations: 44.15 MB / 376.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.827e-06/8.847e-06, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3194/0.4483, allocations: 86.9 MB / 0.5789 GB, free: 9.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4485, allocations: 76.14 kB / 0.579 GB, free: 9.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01122/0.4598, allocations: 4.195 MB / 0.5831 GB, free: 5.605 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.4598, allocations: 4 kB / 0.5831 GB, free: 5.602 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.0003377/0.4602, allocations: 382.2 kB / 0.5835 GB, free: 5.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4602, allocations: 15.97 kB / 0.5835 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.4602, allocations: 15.81 kB / 0.5835 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4604, allocations: 175 kB / 0.5837 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4604, allocations: 4 kB / 0.5837 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.4604, allocations: 7.984 kB / 0.5837 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.791e-05/0.4605, allocations: 27.98 kB / 0.5837 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4607, allocations: 179.2 kB / 0.5839 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.4607, allocations: 3.938 kB / 0.5839 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4608, allocations: 4 kB / 0.5839 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.4608, allocations: 19.92 kB / 0.5839 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.4616, allocations: 1.67 MB / 0.5856 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.044e-05/0.4617, allocations: 173.1 kB / 0.5857 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.4617, allocations: 84.05 kB / 0.5858 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.4617, allocations: 75.28 kB / 0.5859 GB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.4618, allocations: 113.8 kB / 0.586 GB, free: 2.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4618, allocations: 0 / 0.586 GB, free: 2.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.486e-05/0.4618, allocations: 33.61 kB / 0.586 GB, free: 2.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.4619, allocations: 51.41 kB / 0.5861 GB, free: 2.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.462, allocations: 169.2 kB / 0.5862 GB, free: 2.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.462, allocations: 25.7 kB / 0.5862 GB, free: 2.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.4621, allocations: 147.1 kB / 0.5864 GB, free: 1.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.4621, allocations: 4 kB / 0.5864 GB, free: 1.965 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.4621, allocations: 0 / 0.5864 GB, free: 1.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4622, allocations: 330.8 kB / 0.5867 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.982e-05/0.4623, allocations: 24 kB / 0.5867 GB, free: 1.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.981e-05/0.4624, allocations: 147.7 kB / 0.5869 GB, free: 1.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.151e-05/0.4625, allocations: 63.91 kB / 0.5869 GB, free: 1.344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4625, allocations: 0 / 0.5869 GB, free: 1.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002461/0.4627, allocations: 165.2 kB / 0.5871 GB, free: 1.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.4628, allocations: 8.625 kB / 0.5871 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4628, allocations: 4 kB / 0.5871 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4628, allocations: 12 kB / 0.5871 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.4629, allocations: 39.86 kB / 0.5871 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4629, allocations: 12.55 kB / 0.5872 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.932e-05/0.463, allocations: 19.75 kB / 0.5872 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.463, allocations: 16 kB / 0.5872 GB, free: 1.066 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 8.241e-05/0.4631, allocations: 184.1 kB / 0.5874 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.4632, allocations: 112.8 kB / 0.5875 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.4633, allocations: 128.3 kB / 0.5876 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/0.4633, allocations: 180.2 kB / 0.5878 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.384e-05/0.4634, allocations: 178.6 kB / 0.5879 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-05/0.4635, allocations: 180.2 kB / 0.5881 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4637, allocations: 405.8 kB / 0.5885 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.4637, allocations: 101 kB / 0.5886 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.4637, allocations: 112.9 kB / 0.5887 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.721e-05/0.4638, allocations: 176.3 kB / 0.5889 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.4638, allocations: 180.2 kB / 0.589 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.013e-05/0.4639, allocations: 184.2 kB / 0.5892 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.197e-05/0.464, allocations: 180.3 kB / 0.5894 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001135/0.4641, allocations: 311.7 kB / 0.5897 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.4642, allocations: 194 kB / 0.5899 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.4642, allocations: 184.4 kB / 0.59 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.4643, allocations: 104.9 kB / 0.5901 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.4644, allocations: 184.3 kB / 0.5903 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.4644, allocations: 109 kB / 0.5904 GB, free: 13.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.993e-05/0.4645, allocations: 123.2 kB / 0.5905 GB, free: 13.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000264/0.4648, allocations: 12 kB / 0.5906 GB, free: 13.41 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.0003643/0.4652, allocations: 248.2 kB / 0.5908 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.4653, allocations: 64.8 kB / 0.5909 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4653, allocations: 0 / 0.5909 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.4653, allocations: 320 / 0.5909 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4656, allocations: 0.5263 MB / 0.5914 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.4658, allocations: 190.7 kB / 0.5916 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.4661, allocations: 0.7157 MB / 0.5923 GB, free: 11.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/0.4661, allocations: 4 kB / 0.5923 GB, free: 11.64 MB / 410.7 MB Notification: Performance of Templates: time 0.002575/0.4687, allocations: 0.7252 MB / 0.593 GB, free: 10.91 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