Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") [: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.001417/0.001417, allocations: 178.6 kB / 8.52 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.208/1.208, 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.0009079/0.0009078, allocations: 85.86 kB / 281.2 MB, free: 5.465 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.1744/0.1744, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.361e-05, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1547, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.5045, allocations: 88.48 MB / 0.5805 GB, free: 8.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5048, allocations: 75.95 kB / 0.5806 GB, free: 8.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01494/0.5198, allocations: 5.177 MB / 0.5856 GB, free: 3.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5198, allocations: 4 kB / 0.5856 GB, free: 3.184 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.0004428/0.5203, allocations: 394.1 kB / 0.586 GB, free: 2.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5203, allocations: 13.22 kB / 0.586 GB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.5204, allocations: 7.906 kB / 0.586 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5207, allocations: 218.7 kB / 0.5862 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.5207, allocations: 7.938 kB / 0.5862 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.5207, allocations: 4 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.64e-05/0.5208, allocations: 15.98 kB / 0.5863 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/0.5209, allocations: 49.69 kB / 0.5863 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5209, allocations: 4 kB / 0.5863 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.521, allocations: 7.844 kB / 0.5863 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.521, allocations: 3.938 kB / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.5214, allocations: 261.5 kB / 0.5866 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.5215, allocations: 54.69 kB / 0.5866 GB, free: 2.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.5215, allocations: 20.89 kB / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.5215, allocations: 0 / 0.5867 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.5217, allocations: 63.34 kB / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.5217, allocations: 0 / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000437/0.5221, allocations: 141.2 kB / 0.5868 GB, free: 1.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.5221, allocations: 55.41 kB / 0.5869 GB, free: 1.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.5223, allocations: 161.4 kB / 0.5871 GB, free: 1.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5224, allocations: 33.69 kB / 0.5871 GB, free: 1.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.5224, allocations: 84.14 kB / 0.5872 GB, free: 1.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.5225, allocations: 19.7 kB / 0.5872 GB, free: 1.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.5225, allocations: 0 / 0.5872 GB, free: 1.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5227, allocations: 326.8 kB / 0.5875 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.022e-05/0.5227, allocations: 20 kB / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.649e-05/0.5228, allocations: 33.66 kB / 0.5875 GB, free: 1.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.492e-05/0.5228, allocations: 28.05 kB / 0.5876 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5229, allocations: 0 / 0.5876 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001623/0.523, allocations: 89.5 kB / 0.5877 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.5231, allocations: 9.094 kB / 0.5877 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5231, allocations: 0 / 0.5877 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5231, allocations: 0 / 0.5877 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5232, allocations: 19.95 kB / 0.5877 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5232, allocations: 8 kB / 0.5877 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.5233, allocations: 3.938 kB / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.5233, allocations: 4 kB / 0.5877 GB, free: 0.8555 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 0.0001182/0.5234, allocations: 112.9 kB / 0.5878 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.5235, allocations: 7.906 kB / 0.5878 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.5237, allocations: 110.1 kB / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.5238, allocations: 0 / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5238, allocations: 4 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5238, allocations: 7.969 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.5243, allocations: 363.8 kB / 0.5883 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5243, allocations: 4 kB / 0.5883 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.5243, allocations: 8 kB / 0.5883 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5244, allocations: 3.938 kB / 0.5883 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.5244, allocations: 7.984 kB / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5244, allocations: 4 kB / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5244, allocations: 32 / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002104/0.5246, allocations: 206 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.5247, allocations: 92.92 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.5247, allocations: 0 / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.5248, allocations: 7.984 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.5249, allocations: 12 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5249, allocations: 0 / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001094/0.525, allocations: 141 kB / 0.5887 GB, free: 15.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.5253, allocations: 24 kB / 0.5888 GB, free: 15.66 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.0008444/0.5261, allocations: 360.5 kB / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.5263, allocations: 55.92 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5263, allocations: 0 / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.5264, allocations: 28 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.5267, allocations: 27.97 kB / 0.5892 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.5271, allocations: 160.3 kB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.5275, allocations: 0.7271 MB / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5275, allocations: 0 / 0.5901 GB, free: 14.34 MB / 410.7 MB Notification: Performance of Templates: time 0.004441/0.532, allocations: 1.63 MB / 0.5917 GB, free: 12.72 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches