Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") [: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.001667/0.001671, allocations: 179.9 kB / 8.147 MB, free: 2.207 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.689/1.689, 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.001249/0.001249, allocations: 93.88 kB / 261.8 MB, free: 13.61 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.2608/0.2608, allocations: 43.49 MB / 353.2 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.034e-05, allocations: 0 / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 58.84 MB / 476.5 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4561, allocations: 86.71 MB / 0.55 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4564, allocations: 67.97 kB / 0.5501 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02719/0.4836, allocations: 6.069 MB / 0.556 GB, free: 6.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.4837, allocations: 0 / 0.556 GB, free: 6.109 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.0006295/0.4844, allocations: 406.2 kB / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4844, allocations: 19.95 kB / 0.5564 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.4845, allocations: 15.81 kB / 0.5565 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.4848, allocations: 186.9 kB / 0.5566 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4848, allocations: 4 kB / 0.5566 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.4848, allocations: 0 / 0.5566 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/0.485, allocations: 20 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.4851, allocations: 59.41 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.4852, allocations: 4 kB / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4852, allocations: 0 / 0.5567 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4852, allocations: 11.91 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.4858, allocations: 289.3 kB / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.486, allocations: 38.48 kB / 0.557 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.486, allocations: 20.86 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.4861, allocations: 0 / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4861, allocations: 34.56 kB / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.4861, allocations: 0 / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007168/0.4868, allocations: 153.4 kB / 0.5572 GB, free: 4.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.4869, allocations: 81.11 kB / 0.5573 GB, free: 4.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.4871, allocations: 125.1 kB / 0.5574 GB, free: 4.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4871, allocations: 29.7 kB / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.4872, allocations: 158.4 kB / 0.5576 GB, free: 4.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.4873, allocations: 23.7 kB / 0.5576 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.4873, allocations: 0 / 0.5576 GB, free: 4.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4874, allocations: 314.8 kB / 0.5579 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.4875, allocations: 23.98 kB / 0.558 GB, free: 3.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.4876, allocations: 33.78 kB / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.4877, allocations: 23.98 kB / 0.558 GB, free: 3.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4877, allocations: 3.938 kB / 0.558 GB, free: 3.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002101/0.4879, allocations: 81.73 kB / 0.5581 GB, free: 3.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4879, allocations: 4 kB / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.488, allocations: 0 / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.488, allocations: 11.94 kB / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.4882, allocations: 19.98 kB / 0.5581 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4882, allocations: 3.938 kB / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4884, allocations: 19.98 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4884, allocations: 0 / 0.5582 GB, free: 3.715 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 6.749e-05/0.4885, allocations: 35.11 kB / 0.5582 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.4885, allocations: 7.906 kB / 0.5582 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.4888, allocations: 98.09 kB / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4888, allocations: 0 / 0.5583 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.4889, allocations: 3.906 kB / 0.5583 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4889, allocations: 0 / 0.5583 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.4895, allocations: 355.4 kB / 0.5586 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4895, allocations: 0 / 0.5586 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.4897, allocations: 23.92 kB / 0.5587 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.4898, allocations: 7.906 kB / 0.5587 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4898, allocations: 0 / 0.5587 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.4898, allocations: 3.984 kB / 0.5587 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4898, allocations: 4 kB / 0.5587 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002588/0.4901, allocations: 179.5 kB / 0.5588 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.4902, allocations: 93 kB / 0.5589 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.4902, allocations: 0 / 0.5589 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.4904, allocations: 15.98 kB / 0.5589 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.4905, allocations: 15.83 kB / 0.559 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.4905, allocations: 0 / 0.559 GB, free: 2.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001143/0.4906, allocations: 114.5 kB / 0.5591 GB, free: 2.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003571/0.491, allocations: 24 kB / 0.5591 GB, free: 2.664 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.0009511/0.4919, allocations: 336.6 kB / 0.5594 GB, free: 2.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4922, allocations: 55.97 kB / 0.5595 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4922, allocations: 3.938 kB / 0.5595 GB, free: 2.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.4923, allocations: 35.92 kB / 0.5595 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4926, allocations: 15.86 kB / 0.5595 GB, free: 2.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.4931, allocations: 157.2 kB / 0.5597 GB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.4936, allocations: 0.7309 MB / 0.5604 GB, free: 1.316 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4936, allocations: 0 / 0.5604 GB, free: 1.316 MB / 394.7 MB Notification: Performance of Templates: time 0.005608/0.4993, allocations: 1.882 MB / 0.5622 GB, free: 15.43 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches