Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") [: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.001672/0.001672, allocations: 171.2 kB / 8.149 MB, free: 2.223 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.729/1.729, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001288/0.001287, allocations: 90.95 kB / 261.8 MB, free: 13.63 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.31/0.31, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.758e-06/9.899e-06, allocations: 4.219 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3006, allocations: 58.85 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.4536, allocations: 85.77 MB / 0.5491 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4539, allocations: 75.95 kB / 0.5492 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01726/0.4712, allocations: 3.892 MB / 0.553 GB, free: 9.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.4712, allocations: 0 / 0.553 GB, free: 9.336 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004933/0.4717, allocations: 398 kB / 0.5534 GB, free: 8.902 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4718, allocations: 12.03 kB / 0.5534 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.4719, allocations: 11.81 kB / 0.5534 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.4722, allocations: 210.9 kB / 0.5536 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.4722, allocations: 3.906 kB / 0.5536 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.4723, allocations: 4 kB / 0.5536 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/0.4724, allocations: 27.94 kB / 0.5536 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.4726, allocations: 71.39 kB / 0.5537 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4726, allocations: 0 / 0.5537 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4726, allocations: 0 / 0.5537 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4726, allocations: 0 / 0.5537 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.4734, allocations: 381.5 kB / 0.5541 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.4737, allocations: 63.5 kB / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.4738, allocations: 25.66 kB / 0.5542 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.4738, allocations: 7.906 kB / 0.5542 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4739, allocations: 38.59 kB / 0.5542 GB, free: 7.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.4739, allocations: 0 / 0.5542 GB, free: 7.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007803/0.4747, allocations: 185 kB / 0.5544 GB, free: 7.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.4747, allocations: 85.09 kB / 0.5545 GB, free: 7.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.4751, allocations: 189.5 kB / 0.5546 GB, free: 7.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.4751, allocations: 33.7 kB / 0.5547 GB, free: 7.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.4752, allocations: 154.5 kB / 0.5548 GB, free: 7.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.4752, allocations: 31.55 kB / 0.5549 GB, free: 7.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.4753, allocations: 0 / 0.5549 GB, free: 7.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4754, allocations: 314.8 kB / 0.5552 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.4755, allocations: 19.98 kB / 0.5552 GB, free: 6.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.908e-05/0.4756, allocations: 41.72 kB / 0.5552 GB, free: 6.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.668e-05/0.4757, allocations: 32.11 kB / 0.5552 GB, free: 6.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4757, allocations: 7.906 kB / 0.5552 GB, free: 6.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002477/0.476, allocations: 89.8 kB / 0.5553 GB, free: 6.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.476, allocations: 6.812 kB / 0.5553 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.476, allocations: 7.938 kB / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.476, allocations: 0 / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.4763, allocations: 23.98 kB / 0.5554 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4763, allocations: 0 / 0.5554 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/0.4764, allocations: 11.98 kB / 0.5554 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4764, allocations: 4 kB / 0.5554 GB, free: 6.668 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.371e-05/0.4765, allocations: 34.95 kB / 0.5554 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.4766, allocations: 15.81 kB / 0.5554 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.477, allocations: 130.6 kB / 0.5556 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.477, allocations: 4 kB / 0.5556 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.477, allocations: 0 / 0.5556 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.477, allocations: 4 kB / 0.5556 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008565/0.4779, allocations: 479.3 kB / 0.556 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4779, allocations: 4 kB / 0.556 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.4781, allocations: 19.98 kB / 0.556 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.4781, allocations: 4 kB / 0.5561 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4781, allocations: 4.344 kB / 0.5561 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.4781, allocations: 4 kB / 0.5561 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.4782, allocations: 7.984 kB / 0.5561 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003403/0.4785, allocations: 306.7 kB / 0.5564 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.4786, allocations: 100.9 kB / 0.5565 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.4787, allocations: 0 / 0.5565 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.4788, allocations: 7.984 kB / 0.5565 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.4789, allocations: 11.98 kB / 0.5565 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4789, allocations: 7.938 kB / 0.5565 GB, free: 5.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002247/0.4792, allocations: 156.2 kB / 0.5566 GB, free: 5.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003846/0.4796, allocations: 31.94 kB / 0.5567 GB, free: 5.258 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0008393/0.4804, allocations: 303.4 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.4807, allocations: 63.92 kB / 0.557 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4807, allocations: 0 / 0.557 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.4808, allocations: 35.92 kB / 0.557 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.4812, allocations: 19.89 kB / 0.5571 GB, free: 4.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.4819, allocations: 246.9 kB / 0.5573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.4824, allocations: 0.7394 MB / 0.558 GB, free: 3.832 MB / 394.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4824, allocations: 0 / 0.558 GB, free: 3.832 MB / 394.7 MB Notification: Performance of Templates: time 0.005209/0.4876, allocations: 1.89 MB / 0.5599 GB, free: 1.941 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches