Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [: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.00103/0.00103, allocations: 183 kB / 8.52 MB, free: 1.848 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.295/1.295, allocations: 221.4 MB / 230.3 MB, free: 7.633 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.0009897/0.0009897, allocations: 95.16 kB / 281.2 MB, free: 5.434 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.1734/0.1734, allocations: 44.15 MB / 376.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.729e-06/4.768e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 61.91 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4464, allocations: 87.58 MB / 0.5796 GB, free: 9.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4467, allocations: 70.75 kB / 0.5797 GB, free: 9.125 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01629/0.463, allocations: 5.946 MB / 0.5855 GB, free: 3.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4631, allocations: 0 / 0.5855 GB, free: 3.211 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004715/0.4636, allocations: 394.2 kB / 0.5859 GB, free: 2.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.4636, allocations: 17.45 kB / 0.5859 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.4637, allocations: 7.906 kB / 0.5859 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.464, allocations: 189.2 kB / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.464, allocations: 4 kB / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.4641, allocations: 0 / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.262e-05/0.4641, allocations: 15.98 kB / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.4643, allocations: 63.3 kB / 0.5862 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4643, allocations: 4 kB / 0.5862 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4643, allocations: 4 kB / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4643, allocations: 0 / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.4648, allocations: 269.3 kB / 0.5864 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.465, allocations: 33.7 kB / 0.5864 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.465, allocations: 16.86 kB / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.4651, allocations: 0 / 0.5865 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4651, allocations: 30.56 kB / 0.5865 GB, free: 2.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4651, allocations: 0 / 0.5865 GB, free: 2.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004178/0.4655, allocations: 105.5 kB / 0.5866 GB, free: 1.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4656, allocations: 81.02 kB / 0.5867 GB, free: 1.828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4657, allocations: 125 kB / 0.5868 GB, free: 1.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4658, allocations: 25.7 kB / 0.5868 GB, free: 1.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.4658, allocations: 84.14 kB / 0.5869 GB, free: 1.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.4658, allocations: 23.67 kB / 0.5869 GB, free: 1.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.4658, allocations: 0 / 0.5869 GB, free: 1.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.466, allocations: 314.8 kB / 0.5872 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.466, allocations: 15.98 kB / 0.5872 GB, free: 1.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.4661, allocations: 25.72 kB / 0.5873 GB, free: 1.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.4661, allocations: 15.98 kB / 0.5873 GB, free: 1.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.4661, allocations: 0 / 0.5873 GB, free: 1.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.4662, allocations: 69.53 kB / 0.5873 GB, free: 1.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4663, allocations: 4 kB / 0.5873 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4663, allocations: 0 / 0.5873 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4663, allocations: 3.906 kB / 0.5873 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.4664, allocations: 12 kB / 0.5874 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4664, allocations: 7.969 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.4664, allocations: 11.98 kB / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4665, allocations: 4 kB / 0.5874 GB, free: 1.062 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 (5): * Single equations (assignments): 5 * 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.68e-05/0.4665, allocations: 101 kB / 0.5875 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.4666, allocations: 7.906 kB / 0.5875 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.4668, allocations: 77.72 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4668, allocations: 0 / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4668, allocations: 4 kB / 0.5876 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4668, allocations: 7.938 kB / 0.5876 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.4671, allocations: 307.4 kB / 0.5879 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4671, allocations: 4 kB / 0.5879 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.4672, allocations: 12.06 kB / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4672, allocations: 4 kB / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.4672, allocations: 0 / 0.5879 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4672, allocations: 4 kB / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.4672, allocations: 7.891 kB / 0.5879 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001468/0.4674, allocations: 163.4 kB / 0.588 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.4675, allocations: 85.02 kB / 0.5881 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.4675, allocations: 0 / 0.5881 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.4676, allocations: 7.984 kB / 0.5881 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.4676, allocations: 8 kB / 0.5881 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4676, allocations: 0 / 0.5881 GB, free: 188 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.064e-05/0.4677, allocations: 104.4 kB / 0.5882 GB, free: 84 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.468, allocations: 31.92 kB / 0.5883 GB, free: 52 kB / 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 (5): * Single equations (assignments): 5 * 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.0007739/0.4688, allocations: 338.9 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.4689, allocations: 35.94 kB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4689, allocations: 0 / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.4689, allocations: 16 kB / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.4692, allocations: 15.89 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.4695, allocations: 95.81 kB / 0.5888 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.4699, allocations: 0.7114 MB / 0.5894 GB, free: 14.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4699, allocations: 3.938 kB / 0.5895 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003821/0.4737, allocations: 1.35 MB / 0.5908 GB, free: 13.52 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches