Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [: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.001612/0.001612, allocations: 174.4 kB / 8.148 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.708/1.708, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001261/0.001261, allocations: 92.14 kB / 261.8 MB, free: 13.65 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.2561/0.2561, allocations: 43.5 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.345e-06/8.506e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2903, allocations: 58.85 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.4653, allocations: 86.69 MB / 0.55 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.4656, allocations: 75.95 kB / 0.5501 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02842/0.4941, allocations: 6.067 MB / 0.556 GB, free: 6.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4941, allocations: 4 kB / 0.556 GB, free: 6.234 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.0006622/0.4948, allocations: 410.2 kB / 0.5564 GB, free: 5.789 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4949, allocations: 12.03 kB / 0.5564 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.4949, allocations: 11.81 kB / 0.5565 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.4953, allocations: 194.9 kB / 0.5566 GB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4953, allocations: 3.938 kB / 0.5566 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.4953, allocations: 4 kB / 0.5566 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001127/0.4955, allocations: 19.98 kB / 0.5567 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.4956, allocations: 59.41 kB / 0.5567 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4957, allocations: 0 / 0.5567 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.4957, allocations: 3.984 kB / 0.5567 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4957, allocations: 8 kB / 0.5567 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.4963, allocations: 293.3 kB / 0.557 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.4964, allocations: 42.47 kB / 0.5571 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.4965, allocations: 16.86 kB / 0.5571 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.4965, allocations: 0 / 0.5571 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.4966, allocations: 34.56 kB / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.4966, allocations: 0 / 0.5571 GB, free: 4.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007156/0.4973, allocations: 149.4 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.4974, allocations: 81.05 kB / 0.5573 GB, free: 4.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4976, allocations: 129.2 kB / 0.5574 GB, free: 4.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4976, allocations: 25.7 kB / 0.5575 GB, free: 4.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.4977, allocations: 158.4 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.4977, allocations: 19.72 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.4977, allocations: 4 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4979, allocations: 318.8 kB / 0.5579 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.498, allocations: 16 kB / 0.558 GB, free: 4.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.4981, allocations: 37.7 kB / 0.558 GB, free: 4.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.83e-05/0.4981, allocations: 24.22 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4982, allocations: 0 / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002216/0.4984, allocations: 85.73 kB / 0.5581 GB, free: 3.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4984, allocations: 4 kB / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4984, allocations: 7.969 kB / 0.5581 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4985, allocations: 3.906 kB / 0.5581 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.4987, allocations: 23.98 kB / 0.5581 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4987, allocations: 3.938 kB / 0.5581 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.4989, allocations: 19.98 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4989, allocations: 0 / 0.5582 GB, free: 3.836 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 7.055e-05/0.499, allocations: 27.11 kB / 0.5582 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.499, allocations: 7.906 kB / 0.5582 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.4994, allocations: 102.1 kB / 0.5583 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4994, allocations: 4 kB / 0.5583 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4994, allocations: 3.906 kB / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4994, allocations: 4 kB / 0.5583 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.5, allocations: 347 kB / 0.5586 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5, allocations: 0 / 0.5586 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.5002, allocations: 27.98 kB / 0.5587 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.5002, allocations: 3.906 kB / 0.5587 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.5003, allocations: 4 kB / 0.5587 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5003, allocations: 0 / 0.5587 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5003, allocations: 4 kB / 0.5587 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003028/0.5006, allocations: 179.6 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.5007, allocations: 89 kB / 0.5589 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.5007, allocations: 0 / 0.5589 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.5009, allocations: 23.92 kB / 0.559 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.501, allocations: 11.91 kB / 0.559 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.501, allocations: 0 / 0.559 GB, free: 2.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001225/0.5012, allocations: 106.7 kB / 0.5591 GB, free: 2.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.5015, allocations: 31.98 kB / 0.5591 GB, free: 2.789 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.0009776/0.5025, allocations: 341.5 kB / 0.5594 GB, free: 2.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.5027, allocations: 51.98 kB / 0.5595 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5028, allocations: 3.938 kB / 0.5595 GB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/0.5029, allocations: 31.98 kB / 0.5595 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.5032, allocations: 7.984 kB / 0.5595 GB, free: 2.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.5038, allocations: 169.1 kB / 0.5597 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.5042, allocations: 0.7192 MB / 0.5604 GB, free: 1.453 MB / 394.7 MB Notification: Performance of SimCode: time 9.81e-07/0.5042, allocations: 0 / 0.5604 GB, free: 1.453 MB / 394.7 MB Notification: Performance of Templates: time 0.00548/0.5097, allocations: 1.874 MB / 0.5622 GB, free: 15.57 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches