Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.001182/0.001182, allocations: 179 kB / 8.517 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.304/1.304, allocations: 221.4 MB / 230.3 MB, free: 7.734 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.000901/0.000901, allocations: 84.8 kB / 281.2 MB, free: 5.484 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.1879/0.1879, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.41e-06/5.41e-06, allocations: 224 / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 61.91 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.4804, allocations: 87.48 MB / 0.5795 GB, free: 9.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4806, allocations: 70.7 kB / 0.5796 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01639/0.497, allocations: 5.923 MB / 0.5854 GB, free: 3.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4971, allocations: 0 / 0.5854 GB, free: 3.375 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.0004749/0.4976, allocations: 398.2 kB / 0.5857 GB, free: 2.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4976, allocations: 17.47 kB / 0.5858 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.4977, allocations: 3.906 kB / 0.5858 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.4979, allocations: 193.1 kB / 0.5859 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.4979, allocations: 0 / 0.5859 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.498, allocations: 0 / 0.5859 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.22e-05/0.4981, allocations: 12 kB / 0.586 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.4982, allocations: 71.25 kB / 0.586 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4982, allocations: 0 / 0.586 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4982, allocations: 4 kB / 0.586 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4982, allocations: 0 / 0.586 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.4986, allocations: 249.4 kB / 0.5863 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.4988, allocations: 29.7 kB / 0.5863 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.4988, allocations: 12.86 kB / 0.5863 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4988, allocations: 0 / 0.5863 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.4989, allocations: 42.5 kB / 0.5864 GB, free: 2.215 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.4989, allocations: 0 / 0.5864 GB, free: 2.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000391/0.4993, allocations: 93.56 kB / 0.5864 GB, free: 2.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.4994, allocations: 81.02 kB / 0.5865 GB, free: 2.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4995, allocations: 117 kB / 0.5866 GB, free: 1.898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4995, allocations: 29.7 kB / 0.5867 GB, free: 1.863 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.4996, allocations: 92.06 kB / 0.5867 GB, free: 1.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.4996, allocations: 15.75 kB / 0.5868 GB, free: 1.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.4996, allocations: 0 / 0.5868 GB, free: 1.754 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4997, allocations: 318.8 kB / 0.5871 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.4998, allocations: 12 kB / 0.5871 GB, free: 1.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.4998, allocations: 21.66 kB / 0.5871 GB, free: 1.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.4998, allocations: 12 kB / 0.5871 GB, free: 1.383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.4998, allocations: 4.031 kB / 0.5871 GB, free: 1.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.942e-05/0.4999, allocations: 57.59 kB / 0.5872 GB, free: 1.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5, allocations: 11.94 kB / 0.5872 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5, allocations: 0 / 0.5872 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5, allocations: 3.906 kB / 0.5872 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.5001, allocations: 15.98 kB / 0.5872 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5001, allocations: 0 / 0.5872 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.5001, allocations: 8 kB / 0.5872 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.5002, allocations: 7.984 kB / 0.5872 GB, free: 1.27 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.66e-05/0.5002, allocations: 104.9 kB / 0.5873 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.5003, allocations: 7.906 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.5004, allocations: 69.73 kB / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5004, allocations: 0 / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5005, allocations: 0 / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5005, allocations: 0 / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.5008, allocations: 311.3 kB / 0.5877 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5008, allocations: 0 / 0.5877 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.5009, allocations: 15.98 kB / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5009, allocations: 0 / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.5009, allocations: 0 / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5009, allocations: 0 / 0.5877 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5009, allocations: 4.047 kB / 0.5877 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001459/0.501, allocations: 159.5 kB / 0.5879 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.5011, allocations: 89 kB / 0.5879 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.5011, allocations: 0 / 0.5879 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.5012, allocations: 7.984 kB / 0.5879 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.5013, allocations: 4 kB / 0.588 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.5013, allocations: 0 / 0.588 GB, free: 428 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.175e-05/0.5014, allocations: 113.1 kB / 0.5881 GB, free: 316 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.5016, allocations: 23.94 kB / 0.5881 GB, free: 292 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.0006875/0.5023, allocations: 342.2 kB / 0.5884 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.5025, allocations: 32.06 kB / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5025, allocations: 0 / 0.5884 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.5025, allocations: 15.94 kB / 0.5885 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.5027, allocations: 15.91 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.503, allocations: 87.81 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.5033, allocations: 0.7114 MB / 0.5892 GB, free: 15.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5033, allocations: 0 / 0.5892 GB, free: 15.1 MB / 410.7 MB Notification: Performance of Templates: time 0.003394/0.5067, allocations: 1.325 MB / 0.5905 GB, free: 13.79 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches