Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.Test16") [: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.001564/0.001564, allocations: 172.2 kB / 8.145 MB, free: 2.211 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.671/1.671, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001237/0.001236, allocations: 96.2 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.2614/0.2614, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.506e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2906, allocations: 58.83 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.4547, allocations: 85.67 MB / 0.549 GB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.455, allocations: 71.97 kB / 0.5491 GB, free: 13.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.016/0.471, allocations: 3.567 MB / 0.5526 GB, free: 9.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.4711, allocations: 4 kB / 0.5526 GB, free: 9.746 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.0005729/0.4717, allocations: 386 kB / 0.553 GB, free: 9.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4718, allocations: 12.03 kB / 0.553 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.4718, allocations: 7.906 kB / 0.553 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.4722, allocations: 209.6 kB / 0.5532 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4722, allocations: 0 / 0.5532 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.4722, allocations: 0 / 0.5532 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.28e-05/0.4723, allocations: 12 kB / 0.5532 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.635e-05/0.4724, allocations: 41.69 kB / 0.5532 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4724, allocations: 4 kB / 0.5532 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4725, allocations: 0 / 0.5532 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4725, allocations: 0 / 0.5532 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.473, allocations: 277.4 kB / 0.5535 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.4732, allocations: 29.72 kB / 0.5535 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.4733, allocations: 12.94 kB / 0.5535 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4733, allocations: 4 kB / 0.5535 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.4733, allocations: 30.56 kB / 0.5536 GB, free: 8.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.674e-06/0.4734, allocations: 4 kB / 0.5536 GB, free: 8.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005569/0.4739, allocations: 117.4 kB / 0.5537 GB, free: 8.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.474, allocations: 51.41 kB / 0.5537 GB, free: 8.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.4743, allocations: 177.2 kB / 0.5539 GB, free: 8.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4743, allocations: 29.7 kB / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.4744, allocations: 154.5 kB / 0.5541 GB, free: 8.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.4744, allocations: 19.75 kB / 0.5541 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.4744, allocations: 3.938 kB / 0.5541 GB, free: 8.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4746, allocations: 310.8 kB / 0.5544 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.4746, allocations: 12 kB / 0.5544 GB, free: 7.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.4747, allocations: 11.98 kB / 0.5544 GB, free: 7.684 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.4747, allocations: 16 kB / 0.5544 GB, free: 7.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4747, allocations: 0 / 0.5544 GB, free: 7.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001555/0.4749, allocations: 65.53 kB / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4749, allocations: 7.281 kB / 0.5545 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.475, allocations: 7.984 kB / 0.5545 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.475, allocations: 4 kB / 0.5545 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4751, allocations: 15.98 kB / 0.5545 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4751, allocations: 0 / 0.5545 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.4752, allocations: 4.25 kB / 0.5545 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.4752, allocations: 11.98 kB / 0.5545 GB, free: 7.551 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.32e-05/0.4753, allocations: 31.27 kB / 0.5546 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.4754, allocations: 11.81 kB / 0.5546 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.4756, allocations: 81.84 kB / 0.5547 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4756, allocations: 3.938 kB / 0.5547 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4756, allocations: 0 / 0.5547 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4756, allocations: 0 / 0.5547 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.4762, allocations: 331 kB / 0.555 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4762, allocations: 0 / 0.555 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.4763, allocations: 19.98 kB / 0.555 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4763, allocations: 0 / 0.555 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4763, allocations: 4 kB / 0.555 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4763, allocations: 0 / 0.555 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4764, allocations: 0 / 0.555 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002036/0.4766, allocations: 167.3 kB / 0.5552 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.4767, allocations: 97 kB / 0.5553 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.4767, allocations: 4 kB / 0.5553 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.4768, allocations: 11.89 kB / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.4769, allocations: 4 kB / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.4769, allocations: 0 / 0.5553 GB, free: 6.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001871/0.4771, allocations: 152.1 kB / 0.5554 GB, free: 6.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.4774, allocations: 27.94 kB / 0.5554 GB, free: 6.531 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.0008895/0.4783, allocations: 306.6 kB / 0.5557 GB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.4785, allocations: 35.92 kB / 0.5558 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4785, allocations: 0 / 0.5558 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/0.4786, allocations: 16 kB / 0.5558 GB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.4789, allocations: 19.78 kB / 0.5558 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.4794, allocations: 181.5 kB / 0.556 GB, free: 5.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.4799, allocations: 0.7309 MB / 0.5567 GB, free: 5.219 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4799, allocations: 0 / 0.5567 GB, free: 5.219 MB / 394.7 MB Notification: Performance of Templates: time 0.004675/0.4846, allocations: 1.597 MB / 0.5583 GB, free: 3.621 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches