Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") [: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.001102/0.001102, allocations: 171.6 kB / 8.516 MB, free: 1.84 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.226/1.226, allocations: 221.4 MB / 230.3 MB, free: 7.785 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.0009721/0.0009721, allocations: 95.17 kB / 281.2 MB, free: 5.539 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.1855/0.1855, allocations: 44.15 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.891e-06, allocations: 224 / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 61.91 MB / 0.4941 GB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4605, allocations: 87.14 MB / 0.5792 GB, free: 9.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4609, allocations: 74.25 kB / 0.5793 GB, free: 9.609 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009059/0.4699, allocations: 3.296 MB / 0.5825 GB, free: 6.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.47, allocations: 8 kB / 0.5825 GB, free: 6.367 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.0003158/0.4703, allocations: 369.2 kB / 0.5828 GB, free: 5.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.4704, allocations: 17.47 kB / 0.5828 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.4704, allocations: 7.906 kB / 0.5829 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.4706, allocations: 193.7 kB / 0.583 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.4706, allocations: 0 / 0.583 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.4706, allocations: 7.906 kB / 0.583 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.399e-05/0.4707, allocations: 12 kB / 0.5831 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.416e-05/0.4708, allocations: 41.62 kB / 0.5831 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4708, allocations: 0 / 0.5831 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.4708, allocations: 0 / 0.5831 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4708, allocations: 4 kB / 0.5831 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.4711, allocations: 253.4 kB / 0.5833 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.4712, allocations: 25.72 kB / 0.5834 GB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.4712, allocations: 8.859 kB / 0.5834 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4713, allocations: 0 / 0.5834 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4713, allocations: 42.5 kB / 0.5834 GB, free: 5.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4713, allocations: 0 / 0.5834 GB, free: 5.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003411/0.4716, allocations: 101.5 kB / 0.5835 GB, free: 5.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.4717, allocations: 51.41 kB / 0.5836 GB, free: 5.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4718, allocations: 133.1 kB / 0.5837 GB, free: 4.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.4718, allocations: 25.7 kB / 0.5837 GB, free: 4.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.4719, allocations: 84.14 kB / 0.5838 GB, free: 4.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.4719, allocations: 19.7 kB / 0.5838 GB, free: 4.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.4719, allocations: 4 kB / 0.5838 GB, free: 4.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.472, allocations: 314.8 kB / 0.5841 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.472, allocations: 12.84 kB / 0.5841 GB, free: 4.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.472, allocations: 11.92 kB / 0.5841 GB, free: 4.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.4721, allocations: 8 kB / 0.5841 GB, free: 4.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.4721, allocations: 0 / 0.5841 GB, free: 4.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.664e-05/0.4722, allocations: 61.59 kB / 0.5842 GB, free: 4.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.4722, allocations: 4 kB / 0.5842 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.4722, allocations: 0 / 0.5842 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.4722, allocations: 0 / 0.5842 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.4723, allocations: 16 kB / 0.5842 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4723, allocations: 7.938 kB / 0.5842 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.4723, allocations: 7.984 kB / 0.5842 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.4723, allocations: 0 / 0.5842 GB, free: 4.367 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 5.736e-05/0.4724, allocations: 104.9 kB / 0.5843 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.4724, allocations: 11.91 kB / 0.5844 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.4726, allocations: 77.78 kB / 0.5844 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4726, allocations: 4 kB / 0.5844 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4726, allocations: 0 / 0.5844 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4726, allocations: 0 / 0.5844 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.4729, allocations: 299.1 kB / 0.5847 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4729, allocations: 0 / 0.5847 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.4729, allocations: 27.92 kB / 0.5847 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.473, allocations: 0 / 0.5847 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.473, allocations: 384 / 0.5847 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.473, allocations: 0 / 0.5847 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.473, allocations: 4 kB / 0.5847 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001084/0.4731, allocations: 151.5 kB / 0.5849 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.4731, allocations: 89 kB / 0.585 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.4732, allocations: 3.906 kB / 0.585 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.4732, allocations: 8.141 kB / 0.585 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.4733, allocations: 19.91 kB / 0.585 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.4733, allocations: 0 / 0.585 GB, free: 3.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.08e-05/0.4734, allocations: 106.2 kB / 0.5851 GB, free: 3.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.4736, allocations: 15.94 kB / 0.5851 GB, free: 3.371 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 (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.0005607/0.4742, allocations: 300.3 kB / 0.5854 GB, free: 3.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.4743, allocations: 24 kB / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.4743, allocations: 4 kB / 0.5854 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.4743, allocations: 12.19 kB / 0.5854 GB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.4745, allocations: 16.11 kB / 0.5855 GB, free: 3.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.4748, allocations: 103.6 kB / 0.5856 GB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.475, allocations: 0.7075 MB / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.475, allocations: 0 / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of Templates: time 0.002898/0.4779, allocations: 1.08 MB / 0.5873 GB, free: 1.148 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches