Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [: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.0008499/0.0008499, allocations: 185.4 kB / 7.801 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.08/1.08, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008245/0.0008247, allocations: 90.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.1559/0.1559, allocations: 43.5 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.414e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3445, allocations: 85.52 MB / 0.5489 GB, free: 13.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.3448, allocations: 67.97 kB / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008675/0.3535, allocations: 3.18 MB / 0.5521 GB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3535, allocations: 0 / 0.5521 GB, free: 10.18 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.0003433/0.3539, allocations: 370.2 kB / 0.5524 GB, free: 9.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3539, allocations: 8.031 kB / 0.5524 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.354, allocations: 7.906 kB / 0.5524 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3542, allocations: 190.8 kB / 0.5526 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3542, allocations: 7.906 kB / 0.5526 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3543, allocations: 0 / 0.5526 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.772e-05/0.3543, allocations: 12 kB / 0.5526 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/0.3544, allocations: 41.69 kB / 0.5527 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3544, allocations: 0 / 0.5527 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3545, allocations: 0 / 0.5527 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3545, allocations: 4 kB / 0.5527 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.3548, allocations: 249.4 kB / 0.5529 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.355, allocations: 33.7 kB / 0.553 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.355, allocations: 12.86 kB / 0.553 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.355, allocations: 0 / 0.553 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.3551, allocations: 34.56 kB / 0.553 GB, free: 9.082 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3551, allocations: 0 / 0.553 GB, free: 9.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003532/0.3554, allocations: 97.42 kB / 0.5531 GB, free: 8.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.3555, allocations: 55.39 kB / 0.5531 GB, free: 8.914 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3556, allocations: 125.2 kB / 0.5533 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3556, allocations: 25.7 kB / 0.5533 GB, free: 8.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.3557, allocations: 92.14 kB / 0.5534 GB, free: 8.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3557, allocations: 19.7 kB / 0.5534 GB, free: 8.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.3557, allocations: 0 / 0.5534 GB, free: 8.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3558, allocations: 314.8 kB / 0.5537 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.3558, allocations: 8 kB / 0.5537 GB, free: 8.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.3559, allocations: 11.94 kB / 0.5537 GB, free: 8.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/0.3559, allocations: 15.98 kB / 0.5537 GB, free: 8.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.71e-07/0.3559, allocations: 0 / 0.5537 GB, free: 8.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.75e-05/0.356, allocations: 53.8 kB / 0.5538 GB, free: 8.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.356, allocations: 12 kB / 0.5538 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.356, allocations: 64 / 0.5538 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.356, allocations: 4 kB / 0.5538 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.3561, allocations: 19.92 kB / 0.5538 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3561, allocations: 0 / 0.5538 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.3562, allocations: 7.984 kB / 0.5538 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3562, allocations: 4 kB / 0.5538 GB, free: 8.18 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 7.731e-05/0.3563, allocations: 113.7 kB / 0.5539 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.3563, allocations: 11.84 kB / 0.554 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.3565, allocations: 61.88 kB / 0.554 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3565, allocations: 0 / 0.554 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3565, allocations: 3.984 kB / 0.554 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3565, allocations: 0 / 0.554 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.3568, allocations: 303 kB / 0.5543 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3568, allocations: 4 kB / 0.5543 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.3569, allocations: 15.98 kB / 0.5543 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3569, allocations: 0 / 0.5543 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.3569, allocations: 0 / 0.5543 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3569, allocations: 4 kB / 0.5543 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3569, allocations: 0 / 0.5543 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001249/0.357, allocations: 159.4 kB / 0.5545 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.3571, allocations: 85.25 kB / 0.5546 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3571, allocations: 11.89 kB / 0.5546 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.3572, allocations: 7.984 kB / 0.5546 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.3572, allocations: 192 / 0.5546 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.3572, allocations: 8 kB / 0.5546 GB, free: 7.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.532e-05/0.3573, allocations: 103.3 kB / 0.5547 GB, free: 7.219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.3575, allocations: 23.92 kB / 0.5547 GB, free: 7.195 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.0006224/0.3582, allocations: 304.8 kB / 0.555 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.3583, allocations: 31.98 kB / 0.555 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3583, allocations: 0 / 0.555 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.3583, allocations: 15.94 kB / 0.555 GB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.3585, allocations: 15.86 kB / 0.5551 GB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.3588, allocations: 103.7 kB / 0.5552 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.3592, allocations: 0.7153 MB / 0.5559 GB, free: 6 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3592, allocations: 0 / 0.5559 GB, free: 6 MB / 394.7 MB Notification: Performance of Templates: time 0.003039/0.3622, allocations: 1.074 MB / 0.5569 GB, free: 4.934 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches