Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") [: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.0008604/0.0008605, allocations: 183.1 kB / 7.8 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.085/1.085, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008058/0.0008058, allocations: 88.11 kB / 261.4 MB, free: 13.55 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.1541/0.1541, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.69e-06/5.71e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.232, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3382, allocations: 85.57 MB / 0.549 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.3384, allocations: 71.97 kB / 0.549 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.00898/0.3474, allocations: 3.599 MB / 0.5525 GB, free: 9.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3474, allocations: 0 / 0.5525 GB, free: 9.711 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.0002913/0.3477, allocations: 398 kB / 0.5529 GB, free: 9.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.3478, allocations: 8.031 kB / 0.5529 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.3478, allocations: 7.906 kB / 0.5529 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.348, allocations: 209 kB / 0.5531 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-06/0.348, allocations: 0 / 0.5531 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.348, allocations: 0 / 0.5531 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.134e-05/0.3481, allocations: 12 kB / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.83e-05/0.3482, allocations: 45.62 kB / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3482, allocations: 3.906 kB / 0.5532 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.3482, allocations: 0 / 0.5532 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.3482, allocations: 0 / 0.5532 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.3485, allocations: 269.4 kB / 0.5534 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3486, allocations: 29.7 kB / 0.5535 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.3486, allocations: 12.86 kB / 0.5535 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.3486, allocations: 0 / 0.5535 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.3487, allocations: 34.56 kB / 0.5535 GB, free: 8.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3487, allocations: 0 / 0.5535 GB, free: 8.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003086/0.349, allocations: 101.3 kB / 0.5536 GB, free: 8.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.349, allocations: 51.41 kB / 0.5537 GB, free: 8.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3492, allocations: 205.4 kB / 0.5539 GB, free: 8.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3492, allocations: 25.7 kB / 0.5539 GB, free: 8.145 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.3493, allocations: 95.98 kB / 0.554 GB, free: 8.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.3493, allocations: 19.73 kB / 0.554 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.3493, allocations: 0 / 0.554 GB, free: 8.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.3494, allocations: 322.8 kB / 0.5543 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.3494, allocations: 8 kB / 0.5543 GB, free: 7.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.3494, allocations: 12 kB / 0.5543 GB, free: 7.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.3494, allocations: 12 kB / 0.5543 GB, free: 7.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3495, allocations: 0 / 0.5543 GB, free: 7.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.157e-05/0.3496, allocations: 65.44 kB / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3496, allocations: 4 kB / 0.5544 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3496, allocations: 4.391 kB / 0.5544 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.3496, allocations: 0 / 0.5544 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.3497, allocations: 23.97 kB / 0.5544 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.3497, allocations: 0 / 0.5544 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.3497, allocations: 8 kB / 0.5544 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3497, allocations: 0 / 0.5544 GB, free: 7.562 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 4.787e-05/0.3498, allocations: 109.1 kB / 0.5545 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.3498, allocations: 11.81 kB / 0.5546 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.35, allocations: 78.64 kB / 0.5546 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.35, allocations: 0 / 0.5546 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.35, allocations: 0 / 0.5546 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.35, allocations: 4 kB / 0.5546 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3503, allocations: 327 kB / 0.5549 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3503, allocations: 0 / 0.5549 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.3504, allocations: 15.98 kB / 0.555 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3504, allocations: 0 / 0.555 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3504, allocations: 0 / 0.555 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3504, allocations: 3.938 kB / 0.555 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3504, allocations: 0 / 0.555 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001083/0.3505, allocations: 167.4 kB / 0.5551 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.3506, allocations: 92.91 kB / 0.5552 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3506, allocations: 4 kB / 0.5552 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.3507, allocations: 4 kB / 0.5552 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.3507, allocations: 3.984 kB / 0.5552 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.3507, allocations: 4.188 kB / 0.5552 GB, free: 6.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001112/0.3508, allocations: 168.2 kB / 0.5554 GB, free: 6.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.3511, allocations: 23.92 kB / 0.5554 GB, free: 6.48 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.0005155/0.3516, allocations: 302.2 kB / 0.5557 GB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.363e-05/0.3517, allocations: 31.98 kB / 0.5557 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.3517, allocations: 0 / 0.5557 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.327e-05/0.3517, allocations: 12 kB / 0.5557 GB, free: 6.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.3519, allocations: 23.77 kB / 0.5558 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.3522, allocations: 167.6 kB / 0.5559 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.3525, allocations: 0.7231 MB / 0.5566 GB, free: 5.215 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3525, allocations: 0 / 0.5566 GB, free: 5.215 MB / 394.7 MB Notification: Performance of Templates: time 0.002872/0.3554, allocations: 1.197 MB / 0.5578 GB, free: 4.027 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches