Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 181.2 kB / 8.155 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 97.98 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2606/0.2606, allocations: 43.48 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.145e-06/8.376e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3021, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.4684, allocations: 85.67 MB / 0.549 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/0.4689, allocations: 75.47 kB / 0.5491 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0183/0.4872, allocations: 3.567 MB / 0.5526 GB, free: 9.785 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.4873, allocations: 4 kB / 0.5526 GB, free: 9.781 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.0004726/0.4877, allocations: 386 kB / 0.553 GB, free: 9.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4878, allocations: 8.031 kB / 0.553 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.4879, allocations: 11.91 kB / 0.553 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4882, allocations: 205.6 kB / 0.5532 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4882, allocations: 4 kB / 0.5532 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.4882, allocations: 0 / 0.5532 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.815e-05/0.4883, allocations: 15.94 kB / 0.5532 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.4884, allocations: 41.69 kB / 0.5532 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4885, allocations: 0 / 0.5532 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4885, allocations: 4 kB / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4885, allocations: 0 / 0.5532 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.489, allocations: 273.4 kB / 0.5535 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.4892, allocations: 25.72 kB / 0.5535 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.4893, allocations: 16.94 kB / 0.5535 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.4893, allocations: 4 kB / 0.5535 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.4893, allocations: 34.5 kB / 0.5536 GB, free: 8.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.4894, allocations: 4 kB / 0.5536 GB, free: 8.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005775/0.4899, allocations: 109.3 kB / 0.5537 GB, free: 8.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.49, allocations: 55.34 kB / 0.5537 GB, free: 8.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.4903, allocations: 177.3 kB / 0.5539 GB, free: 8.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.4903, allocations: 25.7 kB / 0.5539 GB, free: 8.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.4904, allocations: 158.5 kB / 0.5541 GB, free: 8.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.4904, allocations: 19.75 kB / 0.5541 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.4904, allocations: 0 / 0.5541 GB, free: 8.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4906, allocations: 314.8 kB / 0.5544 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.4906, allocations: 12 kB / 0.5544 GB, free: 7.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.4907, allocations: 15.92 kB / 0.5544 GB, free: 7.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.4907, allocations: 12 kB / 0.5544 GB, free: 7.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4908, allocations: 0 / 0.5544 GB, free: 7.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001889/0.4909, allocations: 65.59 kB / 0.5545 GB, free: 7.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.491, allocations: 7.281 kB / 0.5545 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.491, allocations: 4 kB / 0.5545 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4911, allocations: 4 kB / 0.5545 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.4913, allocations: 16.23 kB / 0.5545 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4913, allocations: 0 / 0.5545 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.4914, allocations: 11.98 kB / 0.5545 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.4914, allocations: 4 kB / 0.5545 GB, free: 7.59 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.483e-05/0.4915, allocations: 31.27 kB / 0.5546 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.4916, allocations: 11.81 kB / 0.5546 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.4918, allocations: 81.8 kB / 0.5547 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4918, allocations: 0 / 0.5547 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4919, allocations: 0 / 0.5547 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4919, allocations: 0 / 0.5547 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.4924, allocations: 327 kB / 0.555 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4924, allocations: 0 / 0.555 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.4925, allocations: 23.92 kB / 0.555 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.4926, allocations: 0 / 0.555 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.4926, allocations: 0 / 0.555 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4926, allocations: 4 kB / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4926, allocations: 0 / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002093/0.4928, allocations: 167.3 kB / 0.5552 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.4929, allocations: 93.14 kB / 0.5552 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.493, allocations: 7.984 kB / 0.5553 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.4931, allocations: 11.89 kB / 0.5553 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.4931, allocations: 8 kB / 0.5553 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.4932, allocations: 0 / 0.5553 GB, free: 6.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001925/0.4934, allocations: 152.1 kB / 0.5554 GB, free: 6.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.4937, allocations: 20 kB / 0.5554 GB, free: 6.578 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.001068/0.4948, allocations: 320.3 kB / 0.5557 GB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.495, allocations: 35.98 kB / 0.5558 GB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.495, allocations: 0 / 0.5558 GB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.495, allocations: 16 kB / 0.5558 GB, free: 6.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.4954, allocations: 15.84 kB / 0.5558 GB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.496, allocations: 185.5 kB / 0.556 GB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.4964, allocations: 0.7309 MB / 0.5567 GB, free: 5.254 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4964, allocations: 0 / 0.5567 GB, free: 5.254 MB / 394.7 MB Notification: Performance of Templates: time 0.005086/0.5015, allocations: 1.594 MB / 0.5583 GB, free: 3.656 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches