Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") [: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.0009984/0.0009985, allocations: 174.8 kB / 8.518 MB, free: 1.832 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.271/1.271, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.0009144/0.0009144, allocations: 98.03 kB / 281.2 MB, free: 5.473 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.1772/0.1772, allocations: 44.15 MB / 376.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.396e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 61.92 MB / 0.4941 GB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.4292, allocations: 87.97 MB / 0.58 GB, free: 8.883 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4295, allocations: 67.97 kB / 0.5801 GB, free: 8.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01693/0.4464, allocations: 6.097 MB / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4465, allocations: 3.938 kB / 0.586 GB, free: 2.723 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.0005018/0.447, allocations: 410.2 kB / 0.5864 GB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4471, allocations: 13.47 kB / 0.5864 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.4471, allocations: 11.91 kB / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.4474, allocations: 197.8 kB / 0.5866 GB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4474, allocations: 3.906 kB / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.4474, allocations: 4 kB / 0.5866 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.998e-05/0.4475, allocations: 12 kB / 0.5866 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4476, allocations: 67.38 kB / 0.5867 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4477, allocations: 4 kB / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4477, allocations: 0 / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4477, allocations: 0 / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.448, allocations: 261.3 kB / 0.587 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.4481, allocations: 34.58 kB / 0.587 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.4482, allocations: 16.84 kB / 0.587 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.4482, allocations: 4 kB / 0.587 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.4482, allocations: 34.56 kB / 0.5871 GB, free: 1.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4482, allocations: 0 / 0.5871 GB, free: 1.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000492/0.4487, allocations: 137.3 kB / 0.5872 GB, free: 1.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.4488, allocations: 77.11 kB / 0.5873 GB, free: 1.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4489, allocations: 129.2 kB / 0.5874 GB, free: 1.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4489, allocations: 25.7 kB / 0.5874 GB, free: 1.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.449, allocations: 84.14 kB / 0.5875 GB, free: 1.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.449, allocations: 23.7 kB / 0.5875 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.449, allocations: 0 / 0.5875 GB, free: 1.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4492, allocations: 318.8 kB / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.4492, allocations: 23.94 kB / 0.5878 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.993e-05/0.4493, allocations: 25.78 kB / 0.5879 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.4493, allocations: 16 kB / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4493, allocations: 3.906 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001195/0.4494, allocations: 73.53 kB / 0.5879 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4495, allocations: 7.938 kB / 0.588 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4495, allocations: 0 / 0.588 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4495, allocations: 0 / 0.588 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.4496, allocations: 28.02 kB / 0.588 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4497, allocations: 0 / 0.588 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.4497, allocations: 19.92 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4498, allocations: 8 kB / 0.588 GB, free: 484 kB / 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 8.201e-05/0.4498, allocations: 105 kB / 0.5881 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.4499, allocations: 11.89 kB / 0.5881 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.4501, allocations: 78.34 kB / 0.5882 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4501, allocations: 7.984 kB / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4501, allocations: 0 / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4501, allocations: 0 / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.4505, allocations: 331.1 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4505, allocations: 4 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.732e-05/0.4506, allocations: 23.98 kB / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4506, allocations: 0 / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4506, allocations: 0 / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4506, allocations: 0 / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4506, allocations: 3.938 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001404/0.4508, allocations: 167.5 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.4508, allocations: 93 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4509, allocations: 3.906 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.451, allocations: 19.98 kB / 0.5888 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.451, allocations: 11.98 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.451, allocations: 0 / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.346e-05/0.4511, allocations: 110.4 kB / 0.5889 GB, free: 15.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.4514, allocations: 31.98 kB / 0.589 GB, free: 15.4 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.0007508/0.4522, allocations: 344.7 kB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.4523, allocations: 40.14 kB / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4523, allocations: 0 / 0.5893 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.4524, allocations: 24 kB / 0.5894 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.4526, allocations: 11.92 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.4529, allocations: 107.5 kB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.4533, allocations: 0.7231 MB / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4533, allocations: 0 / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of Templates: time 0.003849/0.4571, allocations: 1.507 MB / 0.5916 GB, free: 12.69 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches