Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") [: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.001368/0.001368, allocations: 175 kB / 8.517 MB, free: 1.859 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.236/1.236, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.0009826/0.0009826, allocations: 95.8 kB / 281.2 MB, free: 5.469 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.1848/0.1848, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.085e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4443, allocations: 87.25 MB / 0.5793 GB, free: 9.484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4446, allocations: 73.83 kB / 0.5794 GB, free: 9.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009944/0.4546, allocations: 3.367 MB / 0.5826 GB, free: 6.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4546, allocations: 0 / 0.5826 GB, free: 6.16 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.000372/0.455, allocations: 370.2 kB / 0.583 GB, free: 5.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4551, allocations: 13.47 kB / 0.583 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.4551, allocations: 7.906 kB / 0.583 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.4553, allocations: 190.9 kB / 0.5832 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4554, allocations: 0 / 0.5832 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.4554, allocations: 4 kB / 0.5832 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.7e-05/0.4555, allocations: 15.94 kB / 0.5832 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.467e-05/0.4556, allocations: 45.69 kB / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4556, allocations: 0 / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.4556, allocations: 0 / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4556, allocations: 0 / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.456, allocations: 269.4 kB / 0.5835 GB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.4562, allocations: 33.64 kB / 0.5836 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.4562, allocations: 12.86 kB / 0.5836 GB, free: 5.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4562, allocations: 4 kB / 0.5836 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4563, allocations: 38.47 kB / 0.5836 GB, free: 5.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.4563, allocations: 3.938 kB / 0.5836 GB, free: 5.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000406/0.4567, allocations: 109.4 kB / 0.5837 GB, free: 4.914 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.4567, allocations: 51.41 kB / 0.5838 GB, free: 4.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4569, allocations: 135.5 kB / 0.5839 GB, free: 4.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.4569, allocations: 29.7 kB / 0.5839 GB, free: 4.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.4569, allocations: 88.14 kB / 0.584 GB, free: 4.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.457, allocations: 19.67 kB / 0.584 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.457, allocations: 0.8438 kB / 0.584 GB, free: 4.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4571, allocations: 318.8 kB / 0.5843 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.4571, allocations: 15.98 kB / 0.5843 GB, free: 4.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.4572, allocations: 8 kB / 0.5844 GB, free: 4.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.4572, allocations: 15.91 kB / 0.5844 GB, free: 4.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.4572, allocations: 0 / 0.5844 GB, free: 4.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001015/0.4573, allocations: 73.59 kB / 0.5844 GB, free: 4.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.4573, allocations: 4 kB / 0.5844 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4573, allocations: 0 / 0.5844 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4574, allocations: 8.062 kB / 0.5845 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.4574, allocations: 12 kB / 0.5845 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4575, allocations: 4 kB / 0.5845 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.4575, allocations: 11.98 kB / 0.5845 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.4575, allocations: 3.984 kB / 0.5845 GB, free: 4.086 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.743e-05/0.4576, allocations: 108.9 kB / 0.5846 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.4576, allocations: 7.812 kB / 0.5846 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.4578, allocations: 77.86 kB / 0.5847 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4578, allocations: 0 / 0.5847 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4578, allocations: 0 / 0.5847 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4578, allocations: 0 / 0.5847 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.4582, allocations: 319.3 kB / 0.585 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4582, allocations: 4.062 kB / 0.585 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.4582, allocations: 15.98 kB / 0.585 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4582, allocations: 0 / 0.585 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.4583, allocations: 0 / 0.585 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4583, allocations: 3.984 kB / 0.585 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4583, allocations: 4 kB / 0.585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000136/0.4584, allocations: 163.4 kB / 0.5852 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.4585, allocations: 88.95 kB / 0.5852 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.4585, allocations: 7.906 kB / 0.5852 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.4586, allocations: 7.984 kB / 0.5853 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.4586, allocations: 4 kB / 0.5853 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.4586, allocations: 4 kB / 0.5853 GB, free: 3.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.99e-05/0.4587, allocations: 117.6 kB / 0.5854 GB, free: 3.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.459, allocations: 19.98 kB / 0.5854 GB, free: 3.062 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.0006513/0.4597, allocations: 298.7 kB / 0.5857 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.552e-05/0.4598, allocations: 31.98 kB / 0.5857 GB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4598, allocations: 0 / 0.5857 GB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.4598, allocations: 19.94 kB / 0.5857 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.4601, allocations: 22.17 kB / 0.5857 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.4604, allocations: 115.7 kB / 0.5859 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.4607, allocations: 0.7114 MB / 0.5866 GB, free: 1.887 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4607, allocations: 0 / 0.5866 GB, free: 1.887 MB / 394.7 MB Notification: Performance of Templates: time 0.003365/0.4641, allocations: 1.121 MB / 0.5876 GB, free: 0.7734 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches