Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") [: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.001079/0.001079, allocations: 175.6 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.181/1.181, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0008845/0.0008845, allocations: 90.11 kB / 281.2 MB, free: 5.512 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.179/0.179, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.915e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 61.9 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4626, allocations: 88.42 MB / 0.5804 GB, free: 8.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4629, allocations: 81.5 kB / 0.5805 GB, free: 8.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01649/0.4794, allocations: 6.194 MB / 0.5866 GB, free: 2.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.4795, allocations: 0 / 0.5866 GB, free: 2.121 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.000399/0.4799, allocations: 418.2 kB / 0.587 GB, free: 1.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4799, allocations: 13.47 kB / 0.587 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.48, allocations: 11.81 kB / 0.587 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.4802, allocations: 198.9 kB / 0.5872 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-06/0.4802, allocations: 0 / 0.5872 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.4803, allocations: 0 / 0.5872 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.931e-05/0.4803, allocations: 20 kB / 0.5872 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.4804, allocations: 75.31 kB / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4805, allocations: 0 / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.4805, allocations: 0 / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.4805, allocations: 0 / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.4809, allocations: 285.3 kB / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.844e-05/0.481, allocations: 34.58 kB / 0.5876 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.481, allocations: 16.94 kB / 0.5876 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.481, allocations: 7.906 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.4811, allocations: 42.5 kB / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4811, allocations: 3.938 kB / 0.5876 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004685/0.4815, allocations: 145.4 kB / 0.5878 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.4816, allocations: 77.11 kB / 0.5878 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4817, allocations: 135.4 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.4817, allocations: 25.7 kB / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.4818, allocations: 95.97 kB / 0.5881 GB, free: 360 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4818, allocations: 23.7 kB / 0.5881 GB, free: 336 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.4818, allocations: 0 / 0.5881 GB, free: 336 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.4819, allocations: 318.8 kB / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.482, allocations: 19.98 kB / 0.5884 GB, free: 15.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.482, allocations: 33.66 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/0.4821, allocations: 28.02 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.4821, allocations: 0 / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001265/0.4822, allocations: 85.58 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.4822, allocations: 8 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4822, allocations: 0 / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4823, allocations: 3.938 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.4824, allocations: 27.98 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.4824, allocations: 0 / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.4825, allocations: 15.98 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4825, allocations: 0 / 0.5886 GB, free: 15.78 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 (7): * Single equations (assignments): 7 * 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.176e-05/0.4826, allocations: 112.8 kB / 0.5887 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.4826, allocations: 11.91 kB / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.4828, allocations: 102.5 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4828, allocations: 4 kB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.4828, allocations: 0 / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4828, allocations: 144 / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.4832, allocations: 351 kB / 0.5892 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4832, allocations: 0 / 0.5892 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4833, allocations: 39.95 kB / 0.5892 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4833, allocations: 0 / 0.5892 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4833, allocations: 0 / 0.5892 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4833, allocations: 0 / 0.5892 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4833, allocations: 4 kB / 0.5892 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000155/0.4835, allocations: 183.3 kB / 0.5894 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.4835, allocations: 92.95 kB / 0.5895 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.4836, allocations: 0 / 0.5895 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4837, allocations: 15.98 kB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.4837, allocations: 11.98 kB / 0.5895 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.4837, allocations: 0 / 0.5895 GB, free: 14.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.233e-05/0.4838, allocations: 107.2 kB / 0.5896 GB, free: 14.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.4841, allocations: 35.91 kB / 0.5897 GB, free: 14.64 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 (7): * Single equations (assignments): 7 * 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.0006481/0.4847, allocations: 337.6 kB / 0.59 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.4849, allocations: 56.14 kB / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4849, allocations: 0 / 0.59 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.4849, allocations: 36.08 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.4851, allocations: 11.09 kB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.4855, allocations: 127.5 kB / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.4858, allocations: 0.7192 MB / 0.5909 GB, free: 13.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4858, allocations: 4 kB / 0.5909 GB, free: 13.39 MB / 410.7 MB Notification: Performance of Templates: time 0.003852/0.4897, allocations: 1.568 MB / 0.5924 GB, free: 11.83 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches