Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") [: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.0008434/0.0008434, allocations: 190.5 kB / 7.804 MB, free: 2.496 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.055/1.055, 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.000761/0.000761, allocations: 89.83 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.1548/0.1548, allocations: 43.49 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.172e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3425, allocations: 86.01 MB / 0.5494 GB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001581/0.3426, allocations: 79.45 kB / 0.5495 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009157/0.3518, allocations: 3.731 MB / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3518, allocations: 4 kB / 0.5531 GB, free: 9.105 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000312/0.3522, allocations: 390.1 kB / 0.5535 GB, free: 8.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.505e-05/0.3522, allocations: 8.031 kB / 0.5535 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.3522, allocations: 7.906 kB / 0.5535 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3524, allocations: 199.4 kB / 0.5537 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-06/0.3524, allocations: 3.281 kB / 0.5537 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3524, allocations: 7.906 kB / 0.5537 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.405e-05/0.3525, allocations: 20 kB / 0.5537 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.013e-05/0.3526, allocations: 41.69 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.3526, allocations: 0 / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.3526, allocations: 0 / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-06/0.3526, allocations: 0 / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.3529, allocations: 273.3 kB / 0.554 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.998e-05/0.3529, allocations: 30.58 kB / 0.554 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.3529, allocations: 20.94 kB / 0.5541 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.353, allocations: 4.062 kB / 0.5541 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.353, allocations: 30.56 kB / 0.5541 GB, free: 7.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.353, allocations: 0 / 0.5541 GB, free: 7.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003652/0.3534, allocations: 137.2 kB / 0.5542 GB, free: 7.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.3534, allocations: 51.41 kB / 0.5543 GB, free: 7.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3535, allocations: 155.5 kB / 0.5544 GB, free: 7.574 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.3535, allocations: 25.7 kB / 0.5545 GB, free: 7.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.3536, allocations: 100 kB / 0.5545 GB, free: 7.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.3536, allocations: 19.66 kB / 0.5546 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.3536, allocations: 4 kB / 0.5546 GB, free: 7.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.3537, allocations: 322.8 kB / 0.5549 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.3537, allocations: 16 kB / 0.5549 GB, free: 7.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.3538, allocations: 12 kB / 0.5549 GB, free: 7.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.3538, allocations: 11.98 kB / 0.5549 GB, free: 7.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3538, allocations: 4 kB / 0.5549 GB, free: 7.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000109/0.3539, allocations: 73.58 kB / 0.555 GB, free: 6.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.3539, allocations: 4 kB / 0.555 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.3539, allocations: 0 / 0.555 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.354, allocations: 11.91 kB / 0.555 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3541, allocations: 23.92 kB / 0.555 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.3541, allocations: 11.88 kB / 0.555 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.3542, allocations: 19.98 kB / 0.5551 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3542, allocations: 4 kB / 0.5551 GB, free: 6.898 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 (7): * Single equations (assignments): 7 * 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.702e-05/0.3542, allocations: 102.4 kB / 0.5552 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3543, allocations: 11.81 kB / 0.5552 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.3544, allocations: 86.47 kB / 0.5553 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3544, allocations: 0 / 0.5553 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.3544, allocations: 4 kB / 0.5553 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3544, allocations: 0 / 0.5553 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.3547, allocations: 343 kB / 0.5556 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3547, allocations: 0 / 0.5556 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.3548, allocations: 23.98 kB / 0.5556 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3549, allocations: 0 / 0.5556 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3549, allocations: 4 kB / 0.5556 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3549, allocations: 4 kB / 0.5556 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3549, allocations: 144 / 0.5556 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001281/0.355, allocations: 171.3 kB / 0.5558 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.3551, allocations: 96.98 kB / 0.5559 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3551, allocations: 0 / 0.5559 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.3552, allocations: 19.98 kB / 0.5559 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.3552, allocations: 0 / 0.5559 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3552, allocations: 4 kB / 0.5559 GB, free: 5.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.384e-05/0.3553, allocations: 132.5 kB / 0.556 GB, free: 5.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.3555, allocations: 20 kB / 0.556 GB, free: 5.812 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 (7): * Single equations (assignments): 7 * 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.0004882/0.356, allocations: 298.9 kB / 0.5563 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.298e-05/0.3561, allocations: 47.92 kB / 0.5564 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.3561, allocations: 0 / 0.5564 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.535e-05/0.3562, allocations: 24 kB / 0.5564 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.3563, allocations: 19.75 kB / 0.5564 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.3566, allocations: 139.3 kB / 0.5565 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3569, allocations: 0.7227 MB / 0.5573 GB, free: 4.562 MB / 394.7 MB Notification: Performance of SimCode: time 2.224e-06/0.3569, allocations: 4 kB / 0.5573 GB, free: 4.559 MB / 394.7 MB Notification: Performance of Templates: time 0.00282/0.3597, allocations: 1.288 MB / 0.5585 GB, free: 3.277 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches