Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.001133/0.001133, allocations: 182.3 kB / 8.52 MB, free: 1.832 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.287/1.287, allocations: 221.4 MB / 230.3 MB, free: 7.727 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.0008561/0.000856, allocations: 86.16 kB / 281.2 MB, free: 5.473 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.233/0.233, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.648e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 61.9 MB / 0.4941 GB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3299/0.4585, allocations: 87.14 MB / 0.5792 GB, free: 9.633 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4587, allocations: 75.27 kB / 0.5793 GB, free: 9.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009182/0.4679, allocations: 3.387 MB / 0.5826 GB, free: 6.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.468, allocations: 8 kB / 0.5826 GB, free: 6.246 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.0003136/0.4683, allocations: 377.2 kB / 0.5829 GB, free: 5.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.4683, allocations: 13.47 kB / 0.5829 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.4684, allocations: 7.906 kB / 0.5829 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.4686, allocations: 194.9 kB / 0.5831 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.4686, allocations: 4 kB / 0.5831 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.4686, allocations: 0 / 0.5831 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.907e-05/0.4687, allocations: 15.94 kB / 0.5832 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.297e-05/0.4688, allocations: 45.69 kB / 0.5832 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4688, allocations: 0 / 0.5832 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.4688, allocations: 3.906 kB / 0.5832 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4688, allocations: 0 / 0.5832 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.4691, allocations: 241.5 kB / 0.5834 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.4692, allocations: 33.61 kB / 0.5835 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.4693, allocations: 20.8 kB / 0.5835 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4693, allocations: 0 / 0.5835 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.4693, allocations: 34.56 kB / 0.5835 GB, free: 5.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.4693, allocations: 0 / 0.5835 GB, free: 5.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003468/0.4697, allocations: 101.4 kB / 0.5836 GB, free: 5.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.4697, allocations: 55.41 kB / 0.5837 GB, free: 4.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4699, allocations: 147.3 kB / 0.5838 GB, free: 4.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.4699, allocations: 25.7 kB / 0.5838 GB, free: 4.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.4699, allocations: 96.06 kB / 0.5839 GB, free: 4.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.4699, allocations: 11.72 kB / 0.5839 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-06/0.47, allocations: 0 / 0.5839 GB, free: 4.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.47, allocations: 326.8 kB / 0.5842 GB, free: 4.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.4701, allocations: 8 kB / 0.5843 GB, free: 4.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.4701, allocations: 16.06 kB / 0.5843 GB, free: 4.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.4701, allocations: 15.98 kB / 0.5843 GB, free: 4.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4701, allocations: 0.75 kB / 0.5843 GB, free: 4.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.962e-05/0.4702, allocations: 53.61 kB / 0.5843 GB, free: 4.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.4702, allocations: 4 kB / 0.5843 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4703, allocations: 0 / 0.5843 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.4703, allocations: 0 / 0.5843 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.4703, allocations: 15.98 kB / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-06/0.4704, allocations: 0 / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.4704, allocations: 15.98 kB / 0.5844 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4704, allocations: 7.938 kB / 0.5844 GB, free: 4.203 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.505e-05/0.4705, allocations: 108.8 kB / 0.5845 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.4705, allocations: 7.906 kB / 0.5845 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.4707, allocations: 65.88 kB / 0.5846 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4707, allocations: 0 / 0.5846 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4707, allocations: 0 / 0.5846 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4707, allocations: 8.125 kB / 0.5846 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.471, allocations: 319 kB / 0.5849 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.471, allocations: 0 / 0.5849 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.471, allocations: 12 kB / 0.5849 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4711, allocations: 0 / 0.5849 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.4711, allocations: 0 / 0.5849 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4711, allocations: 0 / 0.5849 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4711, allocations: 8 kB / 0.5849 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001198/0.4712, allocations: 167.7 kB / 0.585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.4713, allocations: 89 kB / 0.5851 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4713, allocations: 3.938 kB / 0.5851 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.4714, allocations: 4 kB / 0.5851 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.4714, allocations: 7.984 kB / 0.5851 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4714, allocations: 4 kB / 0.5851 GB, free: 3.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.537e-05/0.4715, allocations: 125.7 kB / 0.5853 GB, free: 3.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.4717, allocations: 23.83 kB / 0.5853 GB, free: 3.18 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.0005518/0.4723, allocations: 288.9 kB / 0.5856 GB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.4724, allocations: 27.98 kB / 0.5856 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.4724, allocations: 0 / 0.5856 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.4724, allocations: 23.94 kB / 0.5856 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.4726, allocations: 8 kB / 0.5856 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.473, allocations: 123.6 kB / 0.5857 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.4733, allocations: 0.7075 MB / 0.5864 GB, free: 2.023 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4733, allocations: 0 / 0.5864 GB, free: 2.023 MB / 394.7 MB Notification: Performance of Templates: time 0.003129/0.4764, allocations: 1.129 MB / 0.5875 GB, free: 0.8984 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches