Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") [: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.001662/0.001662, allocations: 184.3 kB / 8.522 MB, free: 1.852 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.284/1.284, allocations: 221.4 MB / 230.3 MB, free: 7.738 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.0009238/0.000924, allocations: 98.02 kB / 281.2 MB, free: 5.52 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.171/0.171, allocations: 44.14 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.094e-06/7.113e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 61.91 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4565, allocations: 87.58 MB / 0.5796 GB, free: 9.223 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4568, allocations: 75.8 kB / 0.5797 GB, free: 9.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01668/0.4735, allocations: 5.938 MB / 0.5855 GB, free: 3.277 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4735, allocations: 0 / 0.5855 GB, free: 3.277 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.0004429/0.474, allocations: 402.2 kB / 0.5859 GB, free: 2.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.474, allocations: 17.47 kB / 0.5859 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.474, allocations: 3.906 kB / 0.5859 GB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.4743, allocations: 191 kB / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4743, allocations: 0 / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.4743, allocations: 0 / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.183e-05/0.4744, allocations: 16 kB / 0.5861 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.4745, allocations: 55.31 kB / 0.5861 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4745, allocations: 3.938 kB / 0.5861 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4745, allocations: 4 kB / 0.5862 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4745, allocations: 4 kB / 0.5862 GB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.4749, allocations: 269.3 kB / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.4751, allocations: 29.72 kB / 0.5864 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.4751, allocations: 12.86 kB / 0.5865 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.4751, allocations: 4.078 kB / 0.5865 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4752, allocations: 38.56 kB / 0.5865 GB, free: 2.094 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4752, allocations: 0 / 0.5865 GB, free: 2.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003804/0.4755, allocations: 101.4 kB / 0.5866 GB, free: 1.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.4756, allocations: 81.02 kB / 0.5867 GB, free: 1.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.4757, allocations: 125 kB / 0.5868 GB, free: 1.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4758, allocations: 25.7 kB / 0.5868 GB, free: 1.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.4758, allocations: 84.14 kB / 0.5869 GB, free: 1.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.4758, allocations: 19.69 kB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.4758, allocations: 0 / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.476, allocations: 318.8 kB / 0.5872 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.476, allocations: 8 kB / 0.5872 GB, free: 1.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.476, allocations: 33.7 kB / 0.5873 GB, free: 1.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.4761, allocations: 12 kB / 0.5873 GB, free: 1.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4761, allocations: 0 / 0.5873 GB, free: 1.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001015/0.4762, allocations: 69.53 kB / 0.5873 GB, free: 1.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4762, allocations: 4 kB / 0.5873 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4762, allocations: 0 / 0.5873 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4762, allocations: 3.906 kB / 0.5873 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.4763, allocations: 15.98 kB / 0.5874 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4763, allocations: 15.95 kB / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.4764, allocations: 4 kB / 0.5874 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.4764, allocations: 3.984 kB / 0.5874 GB, free: 1.125 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 7.443e-05/0.4765, allocations: 105 kB / 0.5875 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4765, allocations: 3.906 kB / 0.5875 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.4767, allocations: 77.67 kB / 0.5876 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4767, allocations: 4 kB / 0.5876 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4767, allocations: 4 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4767, allocations: 0 / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.477, allocations: 307.1 kB / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.477, allocations: 384 / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.4771, allocations: 15.98 kB / 0.5879 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4771, allocations: 4 kB / 0.5879 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4771, allocations: 3.938 kB / 0.5879 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4771, allocations: 4 kB / 0.5879 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.4771, allocations: 3.906 kB / 0.5879 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001392/0.4773, allocations: 159.5 kB / 0.588 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.4773, allocations: 93.14 kB / 0.5881 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4774, allocations: 0 / 0.5881 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.4774, allocations: 4 kB / 0.5881 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.4775, allocations: 15.97 kB / 0.5881 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4775, allocations: 0 / 0.5881 GB, free: 248 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.885e-05/0.4776, allocations: 105.6 kB / 0.5882 GB, free: 144 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.4779, allocations: 27.94 kB / 0.5883 GB, free: 116 kB / 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.0007479/0.4786, allocations: 343.1 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.942e-05/0.4787, allocations: 35.98 kB / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4787, allocations: 0 / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.4788, allocations: 16 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.479, allocations: 19.12 kB / 0.5887 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.4793, allocations: 103.8 kB / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.4796, allocations: 0.7114 MB / 0.5895 GB, free: 14.91 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4796, allocations: 0 / 0.5895 GB, free: 14.91 MB / 410.7 MB Notification: Performance of Templates: time 0.003581/0.4832, allocations: 1.344 MB / 0.5908 GB, free: 13.57 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches