Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") [: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.0008665/0.0008666, allocations: 189 kB / 7.807 MB, free: 2.492 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.066/1.066, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008384/0.0008384, allocations: 91.25 kB / 261.4 MB, free: 13.54 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.1603/0.1603, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.761e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.3386, allocations: 85.68 MB / 0.5491 GB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.3388, allocations: 63.97 kB / 0.5491 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009283/0.3481, allocations: 3.792 MB / 0.5528 GB, free: 9.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.3482, allocations: 4 kB / 0.5528 GB, free: 9.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003037/0.3485, allocations: 394.2 kB / 0.5532 GB, free: 9.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3485, allocations: 8.031 kB / 0.5532 GB, free: 8.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3486, allocations: 15.81 kB / 0.5532 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.3488, allocations: 214.6 kB / 0.5534 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.3488, allocations: 0 / 0.5534 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3488, allocations: 4 kB / 0.5534 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.6e-05/0.3489, allocations: 15.98 kB / 0.5534 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.349, allocations: 37.7 kB / 0.5535 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.349, allocations: 4 kB / 0.5535 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.349, allocations: 3.906 kB / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.349, allocations: 3.984 kB / 0.5535 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.3493, allocations: 293.3 kB / 0.5538 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3495, allocations: 29.72 kB / 0.5538 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.3495, allocations: 24.88 kB / 0.5538 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3495, allocations: 0 / 0.5538 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.3496, allocations: 30.56 kB / 0.5539 GB, free: 8.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3496, allocations: 0 / 0.5539 GB, free: 8.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003507/0.3499, allocations: 117.1 kB / 0.554 GB, free: 8.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.35, allocations: 59.41 kB / 0.554 GB, free: 8.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3502, allocations: 221.6 kB / 0.5542 GB, free: 7.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.3502, allocations: 29.7 kB / 0.5543 GB, free: 7.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.3502, allocations: 96.12 kB / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.3503, allocations: 15.66 kB / 0.5544 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.3503, allocations: 7.938 kB / 0.5544 GB, free: 7.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.3504, allocations: 326.8 kB / 0.5547 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.3504, allocations: 11.98 kB / 0.5547 GB, free: 7.316 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.3504, allocations: 16 kB / 0.5547 GB, free: 7.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.3504, allocations: 12 kB / 0.5547 GB, free: 7.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.61e-07/0.3505, allocations: 0 / 0.5547 GB, free: 7.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.777e-05/0.3506, allocations: 69.5 kB / 0.5548 GB, free: 7.215 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.3506, allocations: 7.984 kB / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.3506, allocations: 256 / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.3506, allocations: 4.141 kB / 0.5548 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.3507, allocations: 19.94 kB / 0.5548 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.3507, allocations: 0 / 0.5548 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.3507, allocations: 15.97 kB / 0.5548 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3507, allocations: 0 / 0.5548 GB, free: 7.168 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 (5): * Single equations (assignments): 5 * 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.51e-05/0.3508, allocations: 110 kB / 0.5549 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.3508, allocations: 11.81 kB / 0.555 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.351, allocations: 82.77 kB / 0.555 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.351, allocations: 4 kB / 0.555 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.351, allocations: 7.906 kB / 0.555 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.351, allocations: 0 / 0.555 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.3513, allocations: 351 kB / 0.5554 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3513, allocations: 0 / 0.5554 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.3514, allocations: 15.98 kB / 0.5554 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3514, allocations: 0 / 0.5554 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3514, allocations: 3.906 kB / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3514, allocations: 0 / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3514, allocations: 4 kB / 0.5554 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001213/0.3516, allocations: 171.3 kB / 0.5556 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.3516, allocations: 96.91 kB / 0.5557 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.3517, allocations: 4 kB / 0.5557 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.3518, allocations: 4 kB / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.3518, allocations: 7.984 kB / 0.5557 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3518, allocations: 12.12 kB / 0.5557 GB, free: 6.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001376/0.3519, allocations: 192.3 kB / 0.5559 GB, free: 6.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.3522, allocations: 27.94 kB / 0.5559 GB, free: 6 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0005243/0.3527, allocations: 303.5 kB / 0.5562 GB, free: 5.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.762e-05/0.3528, allocations: 35.92 kB / 0.5562 GB, free: 5.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3528, allocations: 4 kB / 0.5562 GB, free: 5.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.3528, allocations: 16 kB / 0.5562 GB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.353, allocations: 20.03 kB / 0.5563 GB, free: 5.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.3534, allocations: 211.9 kB / 0.5565 GB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.3538, allocations: 0.7348 MB / 0.5572 GB, free: 4.656 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3538, allocations: 0 / 0.5572 GB, free: 4.656 MB / 394.7 MB Notification: Performance of Templates: time 0.003178/0.3569, allocations: 1.288 MB / 0.5584 GB, free: 3.375 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches