Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") [: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.002518/0.002518, allocations: 172.7 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.675/1.675, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001318/0.001317, allocations: 94.27 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.2726/0.2726, allocations: 43.48 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.094e-05/1.103e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2644, allocations: 58.83 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.4142, allocations: 86.01 MB / 0.5494 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4145, allocations: 71.45 kB / 0.5494 GB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01748/0.432, allocations: 3.867 MB / 0.5532 GB, free: 9.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.4321, allocations: 7.938 kB / 0.5532 GB, free: 9.125 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.000547/0.4327, allocations: 390.2 kB / 0.5536 GB, free: 8.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4327, allocations: 12.03 kB / 0.5536 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.4328, allocations: 7.906 kB / 0.5536 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.4331, allocations: 206.6 kB / 0.5538 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4331, allocations: 3.281 kB / 0.5538 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.4332, allocations: 0 / 0.5538 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.839e-05/0.4333, allocations: 23.94 kB / 0.5538 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.4334, allocations: 49.67 kB / 0.5539 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4334, allocations: 0 / 0.5539 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4334, allocations: 0 / 0.5539 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4334, allocations: 0 / 0.5539 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.4339, allocations: 273.3 kB / 0.5541 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.971e-05/0.4341, allocations: 38.52 kB / 0.5542 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.4341, allocations: 12.86 kB / 0.5542 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4341, allocations: 0 / 0.5542 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4342, allocations: 38.47 kB / 0.5542 GB, free: 7.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.4342, allocations: 0 / 0.5542 GB, free: 7.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006735/0.4349, allocations: 141.4 kB / 0.5544 GB, free: 7.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.4349, allocations: 51.41 kB / 0.5544 GB, free: 7.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.4352, allocations: 168.2 kB / 0.5546 GB, free: 7.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4352, allocations: 25.7 kB / 0.5546 GB, free: 7.539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.4353, allocations: 158.6 kB / 0.5547 GB, free: 7.383 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.4354, allocations: 27.58 kB / 0.5548 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.4354, allocations: 0 / 0.5548 GB, free: 7.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4355, allocations: 322.8 kB / 0.5551 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.096e-05/0.4356, allocations: 12 kB / 0.5551 GB, free: 7.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.831e-05/0.4356, allocations: 16 kB / 0.5551 GB, free: 7.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/0.4357, allocations: 8 kB / 0.5551 GB, free: 6.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4357, allocations: 0 / 0.5551 GB, free: 6.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.4359, allocations: 69.91 kB / 0.5552 GB, free: 6.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4359, allocations: 11.28 kB / 0.5552 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4359, allocations: 0 / 0.5552 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.436, allocations: 0 / 0.5552 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.4362, allocations: 35.97 kB / 0.5552 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4362, allocations: 3.938 kB / 0.5552 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.4363, allocations: 8 kB / 0.5552 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.4364, allocations: 15.84 kB / 0.5552 GB, free: 6.852 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.053e-05/0.4364, allocations: 35.03 kB / 0.5553 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.4365, allocations: 7.906 kB / 0.5553 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.4368, allocations: 90.16 kB / 0.5554 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4368, allocations: 3.906 kB / 0.5554 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4368, allocations: 0 / 0.5554 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4368, allocations: 0 / 0.5554 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.4374, allocations: 343.1 kB / 0.5557 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4374, allocations: 0 / 0.5557 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.4376, allocations: 19.98 kB / 0.5557 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.4376, allocations: 7.906 kB / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4376, allocations: 0 / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4376, allocations: 0 / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4376, allocations: 0 / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002624/0.4379, allocations: 175.3 kB / 0.5559 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.438, allocations: 97 kB / 0.556 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.438, allocations: 0 / 0.556 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.4382, allocations: 15.92 kB / 0.556 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.4383, allocations: 8 kB / 0.556 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.4383, allocations: 4 kB / 0.556 GB, free: 5.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001805/0.4385, allocations: 140.1 kB / 0.5562 GB, free: 5.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.4388, allocations: 27.92 kB / 0.5562 GB, free: 5.812 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.0008358/0.4397, allocations: 303.8 kB / 0.5565 GB, free: 5.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.4399, allocations: 43.97 kB / 0.5565 GB, free: 5.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4399, allocations: 4 kB / 0.5565 GB, free: 5.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.527e-05/0.44, allocations: 27.94 kB / 0.5565 GB, free: 5.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.4403, allocations: 11.91 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.4409, allocations: 184.8 kB / 0.5567 GB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.4413, allocations: 0.727 MB / 0.5574 GB, free: 4.492 MB / 394.7 MB Notification: Performance of SimCode: time 5.941e-06/0.4414, allocations: 0 / 0.5574 GB, free: 4.492 MB / 394.7 MB Notification: Performance of Templates: time 0.004974/0.4463, allocations: 1.708 MB / 0.5591 GB, free: 2.785 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches