Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") [: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.0009625/0.0009626, allocations: 181 kB / 8.518 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.294/1.294, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0009668/0.0009667, allocations: 82.61 kB / 281.2 MB, free: 5.457 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.1816/0.1816, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.332e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.486, allocations: 87.24 MB / 0.5793 GB, free: 9.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.4863, allocations: 75.33 kB / 0.5794 GB, free: 9.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0099/0.4962, allocations: 3.403 MB / 0.5827 GB, free: 6.137 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4963, allocations: 15.77 kB / 0.5827 GB, free: 6.125 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.0003459/0.4967, allocations: 374.2 kB / 0.5831 GB, free: 5.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4967, allocations: 13.47 kB / 0.5831 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.4967, allocations: 7.906 kB / 0.5831 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.497, allocations: 190.9 kB / 0.5833 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.497, allocations: 4 kB / 0.5833 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.4971, allocations: 0 / 0.5833 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.791e-05/0.4971, allocations: 16 kB / 0.5833 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.4972, allocations: 41.69 kB / 0.5833 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4973, allocations: 0 / 0.5833 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.4973, allocations: 3.906 kB / 0.5833 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4973, allocations: 7.938 kB / 0.5833 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.4977, allocations: 257.5 kB / 0.5836 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.4979, allocations: 41.61 kB / 0.5836 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.4979, allocations: 12.86 kB / 0.5836 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.498, allocations: 0 / 0.5836 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.498, allocations: 38.56 kB / 0.5837 GB, free: 4.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.498, allocations: 0 / 0.5837 GB, free: 4.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004284/0.4984, allocations: 113.4 kB / 0.5838 GB, free: 4.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.4985, allocations: 51.41 kB / 0.5838 GB, free: 4.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.4986, allocations: 155.3 kB / 0.584 GB, free: 4.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4986, allocations: 25.7 kB / 0.584 GB, free: 4.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.4987, allocations: 96.06 kB / 0.5841 GB, free: 4.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4987, allocations: 19.72 kB / 0.5841 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.4987, allocations: 0 / 0.5841 GB, free: 4.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4989, allocations: 326.8 kB / 0.5844 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.4989, allocations: 8 kB / 0.5844 GB, free: 4.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.437e-05/0.4989, allocations: 8 kB / 0.5844 GB, free: 4.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.499, allocations: 19.98 kB / 0.5844 GB, free: 4.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.499, allocations: 0 / 0.5844 GB, free: 4.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001404/0.4991, allocations: 65.53 kB / 0.5845 GB, free: 4.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.4991, allocations: 8 kB / 0.5845 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4992, allocations: 0 / 0.5845 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.4992, allocations: 0 / 0.5845 GB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.4993, allocations: 19.98 kB / 0.5845 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.4993, allocations: 0 / 0.5845 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.4993, allocations: 4 kB / 0.5845 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4993, allocations: 4 kB / 0.5845 GB, free: 4.039 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 6.985e-05/0.4994, allocations: 104.9 kB / 0.5846 GB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.4994, allocations: 7.906 kB / 0.5846 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.4996, allocations: 85.78 kB / 0.5847 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4996, allocations: 4 kB / 0.5847 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4996, allocations: 3.938 kB / 0.5847 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4996, allocations: 0 / 0.5847 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.5, allocations: 319 kB / 0.585 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5, allocations: 0 / 0.585 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.5, allocations: 15.98 kB / 0.5851 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5001, allocations: 4 kB / 0.5851 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.5001, allocations: 4.375 kB / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5001, allocations: 0 / 0.5851 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5001, allocations: 4 kB / 0.5851 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001322/0.5002, allocations: 163.3 kB / 0.5852 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.5003, allocations: 93 kB / 0.5853 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.5003, allocations: 0 / 0.5853 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.5004, allocations: 8 kB / 0.5853 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.5004, allocations: 11.92 kB / 0.5853 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.5005, allocations: 0 / 0.5853 GB, free: 3.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.179e-05/0.5005, allocations: 123.3 kB / 0.5854 GB, free: 3.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.5008, allocations: 19.84 kB / 0.5855 GB, free: 2.996 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.0006519/0.5014, allocations: 295 kB / 0.5857 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.5016, allocations: 39.92 kB / 0.5858 GB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5016, allocations: 0 / 0.5858 GB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.5016, allocations: 20.19 kB / 0.5858 GB, free: 2.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.5018, allocations: 12.11 kB / 0.5858 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.5022, allocations: 127.6 kB / 0.5859 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.5025, allocations: 0.7191 MB / 0.5866 GB, free: 1.812 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5025, allocations: 4 kB / 0.5866 GB, free: 1.809 MB / 394.7 MB Notification: Performance of Templates: time 0.003345/0.5059, allocations: 1.139 MB / 0.5878 GB, free: 0.6719 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches