Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [: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.001354/0.001354, allocations: 179.6 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.377/1.377, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009165/0.0009168, allocations: 82.98 kB / 281.2 MB, free: 5.5 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.1745/0.1745, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.013e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1238, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4745, allocations: 87.64 MB / 0.5797 GB, free: 9.113 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4748, allocations: 70.84 kB / 0.5797 GB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01724/0.4921, allocations: 6.246 MB / 0.5858 GB, free: 2.879 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4922, allocations: 0 / 0.5858 GB, free: 2.879 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004717/0.4926, allocations: 406.2 kB / 0.5862 GB, free: 2.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4927, allocations: 15.95 kB / 0.5862 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.4927, allocations: 11.81 kB / 0.5863 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.493, allocations: 191.9 kB / 0.5864 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.493, allocations: 4 kB / 0.5864 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.493, allocations: 7.938 kB / 0.5865 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.981e-05/0.4931, allocations: 24 kB / 0.5865 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.4932, allocations: 71.38 kB / 0.5865 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4933, allocations: 0 / 0.5865 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4933, allocations: 0 / 0.5865 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4933, allocations: 7.938 kB / 0.5866 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.4938, allocations: 289.2 kB / 0.5868 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.488e-05/0.4938, allocations: 41.7 kB / 0.5869 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.4939, allocations: 12.98 kB / 0.5869 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4939, allocations: 4 kB / 0.5869 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4939, allocations: 30.56 kB / 0.5869 GB, free: 1.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.494, allocations: 4 kB / 0.5869 GB, free: 1.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004849/0.4944, allocations: 149.3 kB / 0.5871 GB, free: 1.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.4945, allocations: 81.11 kB / 0.5871 GB, free: 1.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4946, allocations: 124.1 kB / 0.5873 GB, free: 1.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4947, allocations: 25.7 kB / 0.5873 GB, free: 1.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.4947, allocations: 92.03 kB / 0.5874 GB, free: 1.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.4948, allocations: 27.66 kB / 0.5874 GB, free: 1.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.4948, allocations: 0 / 0.5874 GB, free: 1.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4949, allocations: 318.8 kB / 0.5877 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/0.4949, allocations: 20 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.321e-05/0.495, allocations: 33.77 kB / 0.5877 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.495, allocations: 23.98 kB / 0.5878 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.495, allocations: 7.844 kB / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000131/0.4952, allocations: 81.59 kB / 0.5879 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4952, allocations: 10.38 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4952, allocations: 0 / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4952, allocations: 3.938 kB / 0.5879 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.4954, allocations: 23.98 kB / 0.5879 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4954, allocations: 4 kB / 0.5879 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.4954, allocations: 7.984 kB / 0.5879 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4954, allocations: 0 / 0.5879 GB, free: 0.5586 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 (8): * Single equations (assignments): 8 * 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.394e-05/0.4955, allocations: 109 kB / 0.588 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.4956, allocations: 7.906 kB / 0.588 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.4958, allocations: 110.1 kB / 0.5881 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4958, allocations: 0 / 0.5881 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4958, allocations: 0 / 0.5881 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4958, allocations: 0 / 0.5881 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.4962, allocations: 363.2 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4962, allocations: 4 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.4963, allocations: 19.94 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4963, allocations: 4.172 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4963, allocations: 4 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4963, allocations: 0 / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4963, allocations: 0 / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001962/0.4965, allocations: 191.2 kB / 0.5887 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.4966, allocations: 89.02 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.4966, allocations: 0 / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4967, allocations: 7.984 kB / 0.5888 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.4968, allocations: 4 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.4968, allocations: 4 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.172e-05/0.4969, allocations: 107.2 kB / 0.5889 GB, free: 15.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.4971, allocations: 35.92 kB / 0.5889 GB, free: 15.43 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 (8): * Single equations (assignments): 8 * 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.0006792/0.4978, allocations: 340 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.498, allocations: 48 kB / 0.5893 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.498, allocations: 0 / 0.5893 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.498, allocations: 35.92 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.4983, allocations: 19.89 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.4987, allocations: 127.3 kB / 0.5895 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.4991, allocations: 0.7152 MB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4991, allocations: 4 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of Templates: time 0.004311/0.5034, allocations: 1.508 MB / 0.5916 GB, free: 12.68 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches