Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") [: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.00159/0.00159, allocations: 171.1 kB / 8.146 MB, free: 2.195 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.706/1.706, 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.001717/0.001717, allocations: 89.03 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.355/0.355, allocations: 43.49 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.949e-06/1.004e-05, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2969, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.4591, allocations: 87.92 MB / 0.5512 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.4595, allocations: 75.45 kB / 0.5513 GB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03975/0.4993, allocations: 8.44 MB / 0.5595 GB, free: 2.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.809e-05/0.4994, allocations: 15.94 kB / 0.5596 GB, free: 2.617 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008586/0.5003, allocations: 0.5524 MB / 0.5601 GB, free: 2.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5003, allocations: 8.031 kB / 0.5601 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.5004, allocations: 39.53 kB / 0.5601 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007368/0.5012, allocations: 337 kB / 0.5605 GB, free: 1.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.5012, allocations: 8 kB / 0.5605 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.5013, allocations: 8 kB / 0.5605 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002029/0.5015, allocations: 55.98 kB / 0.5605 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.5017, allocations: 80.52 kB / 0.5606 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5017, allocations: 0 / 0.5606 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.5018, allocations: 0 / 0.5606 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.5018, allocations: 11.89 kB / 0.5606 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.5027, allocations: 480.8 kB / 0.5611 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.5029, allocations: 77.64 kB / 0.5611 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/0.503, allocations: 20.86 kB / 0.5612 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.5031, allocations: 4 kB / 0.5612 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.5031, allocations: 34.56 kB / 0.5612 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.5031, allocations: 4 kB / 0.5612 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001137/0.5043, allocations: 316.3 kB / 0.5615 GB, free: 468 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.5043, allocations: 51.41 kB / 0.5616 GB, free: 404 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009573/0.5053, allocations: 469.1 kB / 0.562 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.5053, allocations: 25.7 kB / 0.562 GB, free: 15.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.5055, allocations: 170.8 kB / 0.5622 GB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.5055, allocations: 63.11 kB / 0.5623 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.5056, allocations: 0 / 0.5623 GB, free: 15.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5057, allocations: 314.8 kB / 0.5626 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.5058, allocations: 36 kB / 0.5626 GB, free: 15.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.506, allocations: 36 kB / 0.5626 GB, free: 15.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.5061, allocations: 39.98 kB / 0.5627 GB, free: 15.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.5061, allocations: 3.906 kB / 0.5627 GB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003628/0.5065, allocations: 137 kB / 0.5628 GB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5065, allocations: 4 kB / 0.5628 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5065, allocations: 4 kB / 0.5628 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5066, allocations: 0 / 0.5628 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.5069, allocations: 39.91 kB / 0.5628 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5069, allocations: 4 kB / 0.5628 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.507, allocations: 7.938 kB / 0.5629 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.507, allocations: 8 kB / 0.5629 GB, free: 15.03 MB / 410.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 (17): * Single equations (assignments): 17 * 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.666e-05/0.5071, allocations: 35.02 kB / 0.5629 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5072, allocations: 43.52 kB / 0.5629 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/0.5079, allocations: 209.2 kB / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.5079, allocations: 0 / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5079, allocations: 3.938 kB / 0.5631 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.508, allocations: 3.984 kB / 0.5631 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.5093, allocations: 0.6157 MB / 0.5637 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5093, allocations: 0 / 0.5637 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.5096, allocations: 43.97 kB / 0.5638 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.5096, allocations: 0 / 0.5638 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.5096, allocations: 0 / 0.5638 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.5096, allocations: 4 kB / 0.5638 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5097, allocations: 0 / 0.5638 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004753/0.5101, allocations: 278.1 kB / 0.5641 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.5104, allocations: 144.5 kB / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.5104, allocations: 0 / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.5107, allocations: 11.98 kB / 0.5642 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.5107, allocations: 7.984 kB / 0.5642 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.5108, allocations: 4 kB / 0.5642 GB, free: 13.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007197/0.5115, allocations: 383.1 kB / 0.5646 GB, free: 13.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005001/0.512, allocations: 59.94 kB / 0.5646 GB, free: 13.12 MB / 410.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 (17): * Single equations (assignments): 17 * 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.001516/0.5135, allocations: 0.4973 MB / 0.5651 GB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.514, allocations: 107.9 kB / 0.5652 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.514, allocations: 3.938 kB / 0.5652 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.5142, allocations: 58.5 kB / 0.5653 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.5149, allocations: 61.45 kB / 0.5653 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.5167, allocations: 0.541 MB / 0.5659 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007643/0.5175, allocations: 0.8603 MB / 0.5667 GB, free: 10.99 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5175, allocations: 0 / 0.5667 GB, free: 10.99 MB / 410.7 MB Notification: Performance of Templates: time 0.01263/0.5302, allocations: 4.689 MB / 0.5713 GB, free: 6.293 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches