Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") [: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 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 186.9 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.068/1.068, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007893/0.0007893, allocations: 83.61 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1476/0.1476, allocations: 43.49 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/7.995e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1937, allocations: 58.85 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09591/0.2896, allocations: 86.89 MB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.2898, allocations: 71.97 kB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01328/0.3031, allocations: 5.154 MB / 0.5554 GB, free: 6.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3031, allocations: 4 kB / 0.5554 GB, free: 6.887 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003534/0.3035, allocations: 410 kB / 0.5558 GB, free: 6.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3035, allocations: 8.031 kB / 0.5558 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.3036, allocations: 15.81 kB / 0.5558 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3039, allocations: 218.8 kB / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3039, allocations: 0 / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3039, allocations: 4 kB / 0.556 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.234e-05/0.304, allocations: 19.92 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.202e-05/0.3041, allocations: 53.67 kB / 0.5561 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3041, allocations: 4 kB / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3041, allocations: 0 / 0.5561 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3042, allocations: 4 kB / 0.5561 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.3045, allocations: 273.4 kB / 0.5563 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.3046, allocations: 54.62 kB / 0.5564 GB, free: 5.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.3046, allocations: 16.98 kB / 0.5564 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.3047, allocations: 4 kB / 0.5564 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.757e-05/0.3047, allocations: 63.39 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3048, allocations: 3.938 kB / 0.5565 GB, free: 5.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000372/0.3051, allocations: 137.1 kB / 0.5566 GB, free: 5.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.3052, allocations: 55.39 kB / 0.5566 GB, free: 5.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3054, allocations: 197.9 kB / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3054, allocations: 25.7 kB / 0.5569 GB, free: 5.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.3054, allocations: 108 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.3055, allocations: 23.64 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.3055, allocations: 0 / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.3056, allocations: 326.8 kB / 0.5573 GB, free: 4.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.3056, allocations: 16 kB / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/0.3057, allocations: 29.72 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.3057, allocations: 19.98 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3057, allocations: 4 kB / 0.5574 GB, free: 4.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001346/0.3059, allocations: 101.5 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.3059, allocations: 4 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3059, allocations: 0 / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.3059, allocations: 4 kB / 0.5575 GB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.306, allocations: 16.17 kB / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.306, allocations: 0 / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.306, allocations: 7.938 kB / 0.5575 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3061, allocations: 0 / 0.5575 GB, free: 4.492 MB / 394.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 (10): * Single equations (assignments): 10 * 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 5.861e-05/0.3061, allocations: 116.4 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3062, allocations: 19.8 kB / 0.5576 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3063, allocations: 99.08 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3063, allocations: 4.094 kB / 0.5577 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3064, allocations: 4 kB / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3064, allocations: 3.984 kB / 0.5577 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.3067, allocations: 379.8 kB / 0.5581 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3067, allocations: 4.031 kB / 0.5581 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.3068, allocations: 15.94 kB / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3068, allocations: 0 / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3068, allocations: 0 / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3068, allocations: 0 / 0.5581 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3068, allocations: 4 kB / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001643/0.307, allocations: 209.9 kB / 0.5583 GB, free: 3.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.307, allocations: 96.91 kB / 0.5584 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.3071, allocations: 7.938 kB / 0.5584 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.3071, allocations: 0 / 0.5584 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.3072, allocations: 11.98 kB / 0.5584 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.3072, allocations: 4 kB / 0.5584 GB, free: 3.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001163/0.3073, allocations: 159.2 kB / 0.5586 GB, free: 3.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.3076, allocations: 35.84 kB / 0.5586 GB, free: 3.242 MB / 394.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 (9): * Single equations (assignments): 7 * 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.0006171/0.3082, allocations: 349.6 kB / 0.5589 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.3083, allocations: 59.92 kB / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.3083, allocations: 0 / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.3084, allocations: 32 kB / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.3086, allocations: 24.03 kB / 0.5591 GB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.309, allocations: 188.9 kB / 0.5592 GB, free: 2.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.3092, allocations: 0.7309 MB / 0.5599 GB, free: 1.848 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3093, allocations: 0 / 0.5599 GB, free: 1.848 MB / 394.7 MB Notification: Performance of Templates: time 0.003518/0.3128, allocations: 1.684 MB / 0.5616 GB, free: 180 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches