Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") [: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.0009504/0.0009505, allocations: 174.8 kB / 8.518 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.248/1.248, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.0009666/0.0009667, allocations: 92.61 kB / 281.2 MB, free: 5.48 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.1988/0.1988, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.027e-06, allocations: 224 / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1619, allocations: 61.91 MB / 0.4941 GB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.4992, allocations: 87.24 MB / 0.5793 GB, free: 9.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4994, allocations: 72.5 kB / 0.5794 GB, free: 9.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009795/0.5092, allocations: 3.408 MB / 0.5827 GB, free: 6.172 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.5093, allocations: 7.828 kB / 0.5827 GB, free: 6.168 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.0004574/0.5098, allocations: 374.2 kB / 0.5831 GB, free: 5.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.5098, allocations: 13.47 kB / 0.5831 GB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.5099, allocations: 7.906 kB / 0.5831 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.5102, allocations: 198.8 kB / 0.5833 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5103, allocations: 4 kB / 0.5833 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.5103, allocations: 0 / 0.5833 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.627e-05/0.5104, allocations: 12 kB / 0.5833 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.5105, allocations: 41.69 kB / 0.5833 GB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5105, allocations: 4 kB / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5105, allocations: 3.906 kB / 0.5833 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.5105, allocations: 0 / 0.5833 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.511, allocations: 261.5 kB / 0.5836 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.5112, allocations: 41.61 kB / 0.5836 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.5112, allocations: 12.86 kB / 0.5836 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.5112, allocations: 0 / 0.5836 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5113, allocations: 30.56 kB / 0.5837 GB, free: 5.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.5113, allocations: 0 / 0.5837 GB, free: 5.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004186/0.5117, allocations: 109.4 kB / 0.5838 GB, free: 4.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.5118, allocations: 55.41 kB / 0.5838 GB, free: 4.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.5119, allocations: 155.4 kB / 0.584 GB, free: 4.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5119, allocations: 26.45 kB / 0.584 GB, free: 4.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.512, allocations: 96.06 kB / 0.5841 GB, free: 4.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.512, allocations: 15.72 kB / 0.5841 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.512, allocations: 0 / 0.5841 GB, free: 4.559 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5121, allocations: 318.8 kB / 0.5844 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.5122, allocations: 12 kB / 0.5844 GB, free: 4.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.5122, allocations: 16 kB / 0.5844 GB, free: 4.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.5122, allocations: 15.98 kB / 0.5844 GB, free: 4.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5122, allocations: 3.938 kB / 0.5844 GB, free: 4.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.5123, allocations: 65.59 kB / 0.5845 GB, free: 4.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5124, allocations: 8 kB / 0.5845 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5124, allocations: 0 / 0.5845 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5124, allocations: 0 / 0.5845 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.5125, allocations: 19.92 kB / 0.5845 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5125, allocations: 4 kB / 0.5845 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.5125, allocations: 4 kB / 0.5845 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.5126, allocations: 4 kB / 0.5845 GB, free: 4.082 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.561e-05/0.5126, allocations: 104.9 kB / 0.5846 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.5127, allocations: 7.906 kB / 0.5847 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.5129, allocations: 74.11 kB / 0.5847 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5129, allocations: 64 / 0.5847 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5129, allocations: 8 kB / 0.5847 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5129, allocations: 4 kB / 0.5847 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.5132, allocations: 319 kB / 0.585 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5132, allocations: 0 / 0.585 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.5133, allocations: 16.12 kB / 0.5851 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5133, allocations: 0 / 0.5851 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5133, allocations: 3.984 kB / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5133, allocations: 4 kB / 0.5851 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5134, allocations: 4 kB / 0.5851 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001349/0.5135, allocations: 171.3 kB / 0.5852 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.5135, allocations: 93 kB / 0.5853 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.5136, allocations: 0 / 0.5853 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.5137, allocations: 4 kB / 0.5853 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.5137, allocations: 15.92 kB / 0.5853 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.5137, allocations: 0 / 0.5853 GB, free: 3.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.352e-05/0.5138, allocations: 121.7 kB / 0.5855 GB, free: 3.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.5141, allocations: 23.84 kB / 0.5855 GB, free: 3.039 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.0006426/0.5147, allocations: 295.2 kB / 0.5858 GB, free: 2.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.5148, allocations: 31.98 kB / 0.5858 GB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5148, allocations: 4 kB / 0.5858 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.5149, allocations: 19.94 kB / 0.5858 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.5151, allocations: 11.98 kB / 0.5858 GB, free: 2.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.5154, allocations: 127.6 kB / 0.5859 GB, free: 2.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5157, allocations: 0.7153 MB / 0.5866 GB, free: 1.855 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5157, allocations: 0 / 0.5866 GB, free: 1.855 MB / 394.7 MB Notification: Performance of Templates: time 0.003316/0.5191, allocations: 1.149 MB / 0.5878 GB, free: 0.7109 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches