Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [: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.0009878/0.0009879, allocations: 176.4 kB / 8.521 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.232/1.232, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0008978/0.0008978, allocations: 94.41 kB / 281.2 MB, free: 5.438 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.2156/0.2156, allocations: 44.15 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.737e-06/8.767e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 61.92 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4817, allocations: 88.49 MB / 0.5805 GB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.482, allocations: 67.97 kB / 0.5806 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0146/0.4966, allocations: 5.137 MB / 0.5856 GB, free: 3.176 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.4966, allocations: 4 kB / 0.5856 GB, free: 3.172 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004393/0.4971, allocations: 398 kB / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4971, allocations: 13.22 kB / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.4972, allocations: 7.906 kB / 0.586 GB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.4975, allocations: 215.6 kB / 0.5862 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4975, allocations: 0 / 0.5862 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.4976, allocations: 8 kB / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.391e-05/0.4976, allocations: 15.98 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.4977, allocations: 53.67 kB / 0.5863 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4978, allocations: 3.938 kB / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4978, allocations: 3.938 kB / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4978, allocations: 4 kB / 0.5863 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.4981, allocations: 257.4 kB / 0.5865 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4982, allocations: 58.69 kB / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.4983, allocations: 16.98 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.4983, allocations: 0.75 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.995e-05/0.4984, allocations: 67.34 kB / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.4984, allocations: 0 / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004011/0.4988, allocations: 125.3 kB / 0.5868 GB, free: 1.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.4989, allocations: 55.41 kB / 0.5868 GB, free: 1.727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.499, allocations: 155.4 kB / 0.587 GB, free: 1.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4991, allocations: 25.7 kB / 0.587 GB, free: 1.539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.4991, allocations: 96.03 kB / 0.5871 GB, free: 1.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.4991, allocations: 31.58 kB / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.4992, allocations: 0 / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4993, allocations: 322.8 kB / 0.5874 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.4993, allocations: 19.94 kB / 0.5875 GB, free: 1.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-05/0.4994, allocations: 37.72 kB / 0.5875 GB, free: 1.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.4994, allocations: 15.98 kB / 0.5875 GB, free: 1.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4994, allocations: 0 / 0.5875 GB, free: 1.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001485/0.4996, allocations: 93.58 kB / 0.5876 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4996, allocations: 4 kB / 0.5876 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4996, allocations: 0 / 0.5876 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4996, allocations: 7.906 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.4997, allocations: 19.92 kB / 0.5876 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.4997, allocations: 32 / 0.5876 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.4998, allocations: 8 kB / 0.5876 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.4998, allocations: 4 kB / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.506e-05/0.4999, allocations: 101 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.4999, allocations: 15.8 kB / 0.5878 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.5001, allocations: 102.1 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5002, allocations: 4 kB / 0.5879 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5002, allocations: 0 / 0.5879 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5002, allocations: 7.984 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.5005, allocations: 359.8 kB / 0.5882 GB, free: 236 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5006, allocations: 3.984 kB / 0.5882 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.5006, allocations: 15.94 kB / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5006, allocations: 0 / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.5006, allocations: 0 / 0.5882 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5006, allocations: 4 kB / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5006, allocations: 240 / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002131/0.5009, allocations: 214.3 kB / 0.5884 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.5009, allocations: 100.9 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.501, allocations: 0 / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.501, allocations: 4 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.5011, allocations: 3.984 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5011, allocations: 4.188 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000113/0.5012, allocations: 134.3 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.5015, allocations: 31.92 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006718/0.5022, allocations: 339.6 kB / 0.589 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.5023, allocations: 55.94 kB / 0.5891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5023, allocations: 0 / 0.5891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.5024, allocations: 35.92 kB / 0.5891 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.5027, allocations: 31.12 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.503, allocations: 144.5 kB / 0.5893 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.5034, allocations: 0.7271 MB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5034, allocations: 0 / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of Templates: time 0.004001/0.5074, allocations: 1.624 MB / 0.5916 GB, free: 12.78 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches