Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [: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.001188/0.001188, allocations: 179.8 kB / 8.521 MB, free: 1.844 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.312/1.312, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0009722/0.0009722, allocations: 90.11 kB / 281.2 MB, free: 5.438 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.1951/0.1951, allocations: 44.14 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.121e-06/6.241e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.4575, allocations: 87.69 MB / 0.5797 GB, free: 9.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4578, allocations: 70.53 kB / 0.5798 GB, free: 9.035 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01625/0.474, allocations: 7.378 MB / 0.587 GB, free: 1.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.4741, allocations: 4 kB / 0.587 GB, free: 1.652 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005361/0.4746, allocations: 0.5547 MB / 0.5875 GB, free: 1.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4747, allocations: 17.47 kB / 0.5876 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.4748, allocations: 39.44 kB / 0.5876 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.4752, allocations: 323.3 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4752, allocations: 4 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.4752, allocations: 0 / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.431e-05/0.4753, allocations: 12 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.501e-05/0.4754, allocations: 53.62 kB / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4754, allocations: 0 / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.4754, allocations: 0 / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4754, allocations: 0 / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.4759, allocations: 417.1 kB / 0.5884 GB, free: 128 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.4761, allocations: 29.7 kB / 0.5884 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.4761, allocations: 12.86 kB / 0.5884 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4761, allocations: 0 / 0.5884 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.4762, allocations: 38.5 kB / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.4762, allocations: 0 / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004527/0.4766, allocations: 176.3 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.4767, allocations: 59.41 kB / 0.5887 GB, free: 15.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.4778, allocations: 0.7512 MB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.4778, allocations: 25.7 kB / 0.5894 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.4778, allocations: 132 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.4779, allocations: 23.73 kB / 0.5896 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.4779, allocations: 3.828 kB / 0.5896 GB, free: 14.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.478, allocations: 354.8 kB / 0.5899 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.478, allocations: 8 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.4781, allocations: 8 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.4781, allocations: 19.94 kB / 0.59 GB, free: 14.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.4781, allocations: 0 / 0.59 GB, free: 14.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001325/0.4782, allocations: 93.12 kB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.4782, allocations: 8 kB / 0.59 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.4783, allocations: 0 / 0.59 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.4783, allocations: 0 / 0.59 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/0.4783, allocations: 15.98 kB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.4784, allocations: 0 / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.4784, allocations: 8 kB / 0.5901 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.4785, allocations: 4.25 kB / 0.5901 GB, free: 14.3 MB / 410.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.101e-05/0.4785, allocations: 108.9 kB / 0.5902 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.4786, allocations: 43.44 kB / 0.5902 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.4788, allocations: 121 kB / 0.5903 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4788, allocations: 4 kB / 0.5903 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4788, allocations: 4 kB / 0.5903 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4788, allocations: 0 / 0.5903 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.4794, allocations: 0.534 MB / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4794, allocations: 0 / 0.5909 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.4795, allocations: 19.92 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4795, allocations: 144 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.4795, allocations: 0 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4795, allocations: 4 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4795, allocations: 0 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001818/0.4797, allocations: 195 kB / 0.5911 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.4799, allocations: 160.5 kB / 0.5912 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.48, allocations: 0 / 0.5912 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4801, allocations: 8 kB / 0.5912 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.4801, allocations: 7.984 kB / 0.5912 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.4801, allocations: 4 kB / 0.5912 GB, free: 13.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005964/0.4807, allocations: 0.6082 MB / 0.5918 GB, free: 12.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.481, allocations: 59.94 kB / 0.5919 GB, free: 12.34 MB / 410.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.0005551/0.4816, allocations: 301.2 kB / 0.5922 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.765e-05/0.4817, allocations: 24 kB / 0.5922 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4817, allocations: 4 kB / 0.5922 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.811e-05/0.4817, allocations: 16 kB / 0.5922 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.482, allocations: 21.86 kB / 0.5922 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.483, allocations: 0.6996 MB / 0.5929 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.4834, allocations: 0.845 MB / 0.5938 GB, free: 10.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4835, allocations: 0 / 0.5938 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Templates: time 0.005205/0.4887, allocations: 2.175 MB / 0.5959 GB, free: 8.273 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches