Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") [: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.0009301/0.00093, allocations: 188.8 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.026/1.026, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008009/0.0008009, allocations: 96.62 kB / 261.4 MB, free: 13.53 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.1488/0.1488, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.394e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1917, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09564/0.2874, allocations: 86.89 MB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.2876, allocations: 71.95 kB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01329/0.3009, allocations: 5.017 MB / 0.5552 GB, free: 7.016 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3009, allocations: 8 kB / 0.5552 GB, free: 7.008 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.0003496/0.3013, allocations: 401 kB / 0.5556 GB, free: 6.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.3013, allocations: 8.031 kB / 0.5556 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.3014, allocations: 11.81 kB / 0.5556 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3016, allocations: 215.6 kB / 0.5558 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3017, allocations: 4 kB / 0.5558 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3017, allocations: 0 / 0.5558 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.375e-05/0.3017, allocations: 19.98 kB / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.3018, allocations: 57.58 kB / 0.5559 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3018, allocations: 7.875 kB / 0.5559 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3019, allocations: 0 / 0.5559 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.3019, allocations: 0 / 0.5559 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.3022, allocations: 277.4 kB / 0.5562 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.227e-05/0.3023, allocations: 46.69 kB / 0.5562 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.3023, allocations: 16.98 kB / 0.5562 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.3023, allocations: 3.938 kB / 0.5563 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.584e-05/0.3024, allocations: 67.33 kB / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3024, allocations: 0 / 0.5563 GB, free: 5.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003354/0.3027, allocations: 133.3 kB / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.3028, allocations: 59.41 kB / 0.5565 GB, free: 5.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.3029, allocations: 178.3 kB / 0.5567 GB, free: 5.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.303, allocations: 25.7 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.303, allocations: 92.12 kB / 0.5568 GB, free: 5.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3031, allocations: 27.64 kB / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.3031, allocations: 0 / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.3032, allocations: 322.8 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.3032, allocations: 23.94 kB / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.3032, allocations: 33.72 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.3033, allocations: 19.98 kB / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3033, allocations: 0 / 0.5572 GB, free: 4.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001347/0.3034, allocations: 89.58 kB / 0.5573 GB, free: 4.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.3034, allocations: 6.812 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3035, allocations: 80 / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.3035, allocations: 4 kB / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.3036, allocations: 23.95 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3036, allocations: 3.984 kB / 0.5573 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.3036, allocations: 4 kB / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3036, allocations: 4 kB / 0.5573 GB, free: 4.652 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.349e-05/0.3037, allocations: 101 kB / 0.5574 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3037, allocations: 19.8 kB / 0.5574 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.3039, allocations: 103.2 kB / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3039, allocations: 0 / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3039, allocations: 4.281 kB / 0.5575 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3039, allocations: 7.938 kB / 0.5575 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.3043, allocations: 375.8 kB / 0.5579 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3043, allocations: 0 / 0.5579 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.3043, allocations: 8 kB / 0.5579 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3043, allocations: 3.984 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3044, allocations: 7.906 kB / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3044, allocations: 0 / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3044, allocations: 4.031 kB / 0.5579 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001604/0.3045, allocations: 209.8 kB / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3046, allocations: 93.02 kB / 0.5582 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3046, allocations: 3.906 kB / 0.5582 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.3047, allocations: 3.984 kB / 0.5582 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.3048, allocations: 8 kB / 0.5582 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.3048, allocations: 7.984 kB / 0.5582 GB, free: 3.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001038/0.3049, allocations: 144.9 kB / 0.5584 GB, free: 3.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.3051, allocations: 31.92 kB / 0.5584 GB, free: 3.441 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.0005757/0.3057, allocations: 349.8 kB / 0.5587 GB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.3058, allocations: 55.92 kB / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3058, allocations: 0 / 0.5588 GB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.3059, allocations: 31.98 kB / 0.5588 GB, free: 3.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.3061, allocations: 23.84 kB / 0.5588 GB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.3064, allocations: 168.5 kB / 0.559 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.3067, allocations: 0.7348 MB / 0.5597 GB, free: 2.07 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3067, allocations: 0 / 0.5597 GB, free: 2.07 MB / 394.7 MB Notification: Performance of Templates: time 0.00355/0.3103, allocations: 1.649 MB / 0.5613 GB, free: 444 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches