Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") [: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.0008627/0.0008627, allocations: 189.1 kB / 7.805 MB, free: 2.488 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.091/1.091, 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.0008165/0.0008165, allocations: 92.47 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.1597/0.1597, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.53e-06/5.55e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2498, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3531, allocations: 85.67 MB / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.3534, allocations: 75.95 kB / 0.5491 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009209/0.3626, allocations: 3.682 MB / 0.5527 GB, free: 9.512 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.3626, allocations: 0 / 0.5527 GB, free: 9.512 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.0003075/0.3629, allocations: 393.3 kB / 0.5531 GB, free: 9.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.363, allocations: 8.031 kB / 0.5531 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.363, allocations: 11.81 kB / 0.5531 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.3632, allocations: 210.8 kB / 0.5533 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.3633, allocations: 4 kB / 0.5533 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3633, allocations: 0 / 0.5533 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.818e-05/0.3633, allocations: 12 kB / 0.5533 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.084e-05/0.3634, allocations: 45.62 kB / 0.5534 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3634, allocations: 0 / 0.5534 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.3634, allocations: 0 / 0.5534 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3634, allocations: 4 kB / 0.5534 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.3638, allocations: 273.4 kB / 0.5536 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3639, allocations: 37.7 kB / 0.5537 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.3639, allocations: 12.8 kB / 0.5537 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.364, allocations: 4 kB / 0.5537 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.364, allocations: 38.5 kB / 0.5537 GB, free: 8.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.364, allocations: 0 / 0.5537 GB, free: 8.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000344/0.3644, allocations: 121.2 kB / 0.5538 GB, free: 8.211 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.3644, allocations: 51.41 kB / 0.5539 GB, free: 8.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.3646, allocations: 221.9 kB / 0.5541 GB, free: 7.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3646, allocations: 25.7 kB / 0.5541 GB, free: 7.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.3646, allocations: 92.12 kB / 0.5542 GB, free: 7.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.3647, allocations: 19.59 kB / 0.5542 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.3647, allocations: 0 / 0.5542 GB, free: 7.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.3648, allocations: 330.8 kB / 0.5545 GB, free: 7.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.3648, allocations: 4 kB / 0.5546 GB, free: 7.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.3648, allocations: 12 kB / 0.5546 GB, free: 7.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.3649, allocations: 23.92 kB / 0.5546 GB, free: 7.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3649, allocations: 4 kB / 0.5546 GB, free: 7.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.9e-05/0.365, allocations: 69.5 kB / 0.5547 GB, free: 7.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.365, allocations: 4 kB / 0.5547 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.365, allocations: 0 / 0.5547 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-06/0.365, allocations: 0 / 0.5547 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.3651, allocations: 15.98 kB / 0.5547 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.3651, allocations: 0 / 0.5547 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.3651, allocations: 12 kB / 0.5547 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3652, allocations: 0 / 0.5547 GB, free: 7.297 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.389e-05/0.3652, allocations: 106.5 kB / 0.5548 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.3653, allocations: 15.81 kB / 0.5548 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.3654, allocations: 86.95 kB / 0.5549 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3654, allocations: 0 / 0.5549 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3654, allocations: 0 / 0.5549 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3654, allocations: 0 / 0.5549 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.3657, allocations: 351 kB / 0.5552 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3658, allocations: 0 / 0.5552 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.3658, allocations: 19.92 kB / 0.5552 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3658, allocations: 0 / 0.5552 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.3659, allocations: 0 / 0.5552 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3659, allocations: 0 / 0.5552 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3659, allocations: 4 kB / 0.5552 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001424/0.366, allocations: 167.4 kB / 0.5554 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.3661, allocations: 100.9 kB / 0.5555 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3661, allocations: 0 / 0.5555 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.3662, allocations: 8 kB / 0.5555 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.3662, allocations: 4.125 kB / 0.5555 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3662, allocations: 3.938 kB / 0.5555 GB, free: 6.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001284/0.3664, allocations: 179.2 kB / 0.5557 GB, free: 6.188 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.3666, allocations: 23.94 kB / 0.5557 GB, free: 6.164 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.0005468/0.3671, allocations: 310.3 kB / 0.556 GB, free: 5.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.3672, allocations: 28 kB / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.3672, allocations: 0 / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.3673, allocations: 19.98 kB / 0.5561 GB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.3675, allocations: 20.05 kB / 0.5561 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.3678, allocations: 191.5 kB / 0.5563 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.3681, allocations: 0.7302 MB / 0.557 GB, free: 4.859 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3681, allocations: 4 kB / 0.557 GB, free: 4.855 MB / 394.7 MB Notification: Performance of Templates: time 0.002988/0.3711, allocations: 1.253 MB / 0.5582 GB, free: 3.609 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches