Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [: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.001538/0.001538, allocations: 178 kB / 8.519 MB, free: 1.824 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.641 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.0009583/0.0009584, allocations: 89.73 kB / 281.2 MB, free: 5.445 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.1913/0.1913, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.004e-05/1.005e-05, allocations: 4 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 61.92 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4893, allocations: 88.76 MB / 0.5808 GB, free: 8.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4896, allocations: 71.95 kB / 0.5809 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02252/0.5121, allocations: 7.856 MB / 0.5885 GB, free: 180 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.5122, allocations: 8 kB / 0.5885 GB, free: 172 kB / 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.0007064/0.5129, allocations: 414.1 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5129, allocations: 21.41 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.513, allocations: 7.906 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.5134, allocations: 219.3 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5134, allocations: 0 / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.5134, allocations: 4 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.5136, allocations: 31.97 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.5137, allocations: 71.39 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5137, allocations: 3.938 kB / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.5137, allocations: 0 / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5138, allocations: 4 kB / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.5142, allocations: 277.3 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.5144, allocations: 66.69 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.5145, allocations: 24.97 kB / 0.5896 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.5145, allocations: 0 / 0.5896 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.5146, allocations: 71.34 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5146, allocations: 0 / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005028/0.5151, allocations: 153.3 kB / 0.5898 GB, free: 14.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.5152, allocations: 85.14 kB / 0.5899 GB, free: 14.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.5154, allocations: 153.8 kB / 0.5901 GB, free: 14.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.5154, allocations: 29.7 kB / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.5155, allocations: 88.12 kB / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.5155, allocations: 27.61 kB / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.5155, allocations: 0 / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5157, allocations: 326.8 kB / 0.5905 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.5157, allocations: 23.98 kB / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.5158, allocations: 42.58 kB / 0.5906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/0.5159, allocations: 27.98 kB / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5159, allocations: 0 / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001837/0.5161, allocations: 109.4 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5161, allocations: 9.156 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5161, allocations: 0 / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5161, allocations: 7.938 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5162, allocations: 19.92 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5163, allocations: 4 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.5163, allocations: 3.938 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.5163, allocations: 8 kB / 0.5908 GB, free: 13.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.937e-05/0.5164, allocations: 105 kB / 0.5909 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.5165, allocations: 15.81 kB / 0.5909 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.5167, allocations: 122.4 kB / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5167, allocations: 0 / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.5168, allocations: 0 / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5168, allocations: 3.938 kB / 0.591 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.5172, allocations: 391.9 kB / 0.5914 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5173, allocations: 96 / 0.5914 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.5173, allocations: 15.94 kB / 0.5914 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5173, allocations: 4.031 kB / 0.5914 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5174, allocations: 7.984 kB / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5174, allocations: 0 / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5174, allocations: 0 / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002358/0.5176, allocations: 225.8 kB / 0.5916 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.5177, allocations: 96.91 kB / 0.5917 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.5177, allocations: 8 kB / 0.5917 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.5178, allocations: 0 / 0.5917 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.5179, allocations: 11.97 kB / 0.5917 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5179, allocations: 4 kB / 0.5917 GB, free: 12.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001081/0.518, allocations: 119.8 kB / 0.5918 GB, free: 12.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.5184, allocations: 43.98 kB / 0.5919 GB, free: 12.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001049/0.5194, allocations: 387.3 kB / 0.5923 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.5197, allocations: 79.86 kB / 0.5923 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5197, allocations: 0 / 0.5923 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.918e-05/0.5197, allocations: 35.94 kB / 0.5924 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.52, allocations: 30.06 kB / 0.5924 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.5205, allocations: 144 kB / 0.5925 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.5209, allocations: 0.7383 MB / 0.5933 GB, free: 11.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5209, allocations: 0 / 0.5933 GB, free: 11.04 MB / 410.7 MB Notification: Performance of Templates: time 0.004669/0.5256, allocations: 1.945 MB / 0.5952 GB, free: 9.105 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches