Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [: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.001084/0.001084, allocations: 183.6 kB / 8.52 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.352/1.352, 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.0009639/0.000964, allocations: 80.75 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.1776/0.1776, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.833e-06, allocations: 4 kB / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 61.91 MB / 0.4941 GB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4721, allocations: 87.14 MB / 0.5792 GB, free: 9.625 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4724, allocations: 69.72 kB / 0.5792 GB, free: 9.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009464/0.4819, allocations: 3.309 MB / 0.5825 GB, free: 6.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.998e-05/0.482, allocations: 8 kB / 0.5825 GB, free: 6.332 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.0003663/0.4824, allocations: 370.2 kB / 0.5828 GB, free: 5.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4824, allocations: 17.45 kB / 0.5829 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.4825, allocations: 7.906 kB / 0.5829 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4827, allocations: 187.6 kB / 0.583 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.4827, allocations: 0 / 0.583 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.4828, allocations: 7.906 kB / 0.5831 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.645e-05/0.4828, allocations: 15.98 kB / 0.5831 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.013e-05/0.4829, allocations: 33.7 kB / 0.5831 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4829, allocations: 0 / 0.5831 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.483, allocations: 7.984 kB / 0.5831 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.483, allocations: 7.875 kB / 0.5831 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.4833, allocations: 245.5 kB / 0.5833 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.4835, allocations: 33.69 kB / 0.5834 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.4835, allocations: 12.86 kB / 0.5834 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.4835, allocations: 0 / 0.5834 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.4835, allocations: 34.56 kB / 0.5834 GB, free: 5.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.4836, allocations: 0 / 0.5834 GB, free: 5.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003773/0.4839, allocations: 105.4 kB / 0.5835 GB, free: 5.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.484, allocations: 51.41 kB / 0.5836 GB, free: 5.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4841, allocations: 128.2 kB / 0.5837 GB, free: 4.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.4841, allocations: 25.7 kB / 0.5837 GB, free: 4.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.4842, allocations: 88.12 kB / 0.5838 GB, free: 4.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.4842, allocations: 15.72 kB / 0.5838 GB, free: 4.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.4842, allocations: 0 / 0.5838 GB, free: 4.785 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4843, allocations: 322.8 kB / 0.5841 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.4844, allocations: 12 kB / 0.5841 GB, free: 4.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.614e-05/0.4844, allocations: 8 kB / 0.5841 GB, free: 4.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.4844, allocations: 8.188 kB / 0.5842 GB, free: 4.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.4844, allocations: 0 / 0.5842 GB, free: 4.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.608e-05/0.4845, allocations: 69.53 kB / 0.5842 GB, free: 4.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4845, allocations: 4 kB / 0.5842 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.4846, allocations: 0 / 0.5842 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4846, allocations: 0 / 0.5842 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.4847, allocations: 19.98 kB / 0.5842 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.4847, allocations: 4 kB / 0.5842 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.4847, allocations: 4 kB / 0.5843 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.4847, allocations: 0 / 0.5843 GB, free: 4.328 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.228e-05/0.4848, allocations: 112.9 kB / 0.5844 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.4848, allocations: 3.906 kB / 0.5844 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.485, allocations: 73.8 kB / 0.5844 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.485, allocations: 4 kB / 0.5844 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.485, allocations: 0 / 0.5844 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.485, allocations: 0 / 0.5844 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.4853, allocations: 307 kB / 0.5847 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4853, allocations: 0 / 0.5847 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/0.4854, allocations: 15.98 kB / 0.5847 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4854, allocations: 4 kB / 0.5847 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.4854, allocations: 0 / 0.5847 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4854, allocations: 0 / 0.5847 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4854, allocations: 0 / 0.5847 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001348/0.4856, allocations: 155.4 kB / 0.5849 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.4856, allocations: 89.27 kB / 0.585 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4857, allocations: 11.78 kB / 0.585 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.4858, allocations: 19.98 kB / 0.585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.4858, allocations: 0 / 0.585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.4858, allocations: 0 / 0.585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.875e-05/0.4859, allocations: 107.3 kB / 0.5851 GB, free: 3.348 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.4861, allocations: 15.94 kB / 0.5851 GB, free: 3.332 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.0006348/0.4867, allocations: 297.2 kB / 0.5854 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.972e-05/0.4868, allocations: 31.94 kB / 0.5854 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4869, allocations: 0 / 0.5854 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.4869, allocations: 12 kB / 0.5855 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.4871, allocations: 15.92 kB / 0.5855 GB, free: 3.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.4874, allocations: 103.7 kB / 0.5856 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.4877, allocations: 0.7074 MB / 0.5863 GB, free: 2.188 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4878, allocations: 4 kB / 0.5863 GB, free: 2.184 MB / 394.7 MB Notification: Performance of Templates: time 0.003118/0.4909, allocations: 1.081 MB / 0.5873 GB, free: 1.109 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches