Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009359/0.000936, allocations: 186.3 kB / 7.8 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.085/1.085, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007633/0.0007633, allocations: 99.3 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1635/0.1635, allocations: 43.48 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.104e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2473, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3506, allocations: 87.61 MB / 0.5509 GB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.3509, allocations: 75.95 kB / 0.551 GB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01983/0.3707, allocations: 8.186 MB / 0.559 GB, free: 3.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.3708, allocations: 8 kB / 0.559 GB, free: 3.07 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000589/0.3714, allocations: 0.6218 MB / 0.5596 GB, free: 2.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.3714, allocations: 12.03 kB / 0.5596 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.017e-05/0.3715, allocations: 55.33 kB / 0.5597 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.3721, allocations: 478.9 kB / 0.5601 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.3721, allocations: 4 kB / 0.5601 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3722, allocations: 4 kB / 0.5602 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001496/0.3723, allocations: 75.97 kB / 0.5602 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3725, allocations: 124.9 kB / 0.5603 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3725, allocations: 4 kB / 0.5603 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3725, allocations: 3.906 kB / 0.5604 GB, free: 1.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3725, allocations: 7.984 kB / 0.5604 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.3734, allocations: 0.6962 MB / 0.561 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3735, allocations: 79.66 kB / 0.5611 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.3736, allocations: 41.77 kB / 0.5612 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3736, allocations: 8 kB / 0.5612 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.3736, allocations: 34.56 kB / 0.5612 GB, free: 0.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3736, allocations: 0 / 0.5612 GB, free: 0.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009554/0.3746, allocations: 458 kB / 0.5616 GB, free: 216 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3747, allocations: 85.05 kB / 0.5617 GB, free: 112 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008166/0.3755, allocations: 0.7405 MB / 0.5624 GB, free: 15.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3755, allocations: 25.7 kB / 0.5625 GB, free: 15.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.3756, allocations: 156.2 kB / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.3756, allocations: 55.19 kB / 0.5627 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-06/0.3757, allocations: 0 / 0.5627 GB, free: 15.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3758, allocations: 374.8 kB / 0.563 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.3759, allocations: 43.98 kB / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.376, allocations: 57.7 kB / 0.5631 GB, free: 14.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.001e-05/0.3761, allocations: 59.95 kB / 0.5632 GB, free: 14.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3761, allocations: 0 / 0.5632 GB, free: 14.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002796/0.3763, allocations: 188.9 kB / 0.5634 GB, free: 14.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.3764, allocations: 8 kB / 0.5634 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3764, allocations: 0 / 0.5634 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.3764, allocations: 3.938 kB / 0.5634 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.3766, allocations: 47.95 kB / 0.5634 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.3766, allocations: 0 / 0.5634 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.3768, allocations: 24.28 kB / 0.5634 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.3768, allocations: 7.984 kB / 0.5634 GB, free: 14.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.366e-05/0.3769, allocations: 109.8 kB / 0.5635 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.377, allocations: 51.34 kB / 0.5636 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.3774, allocations: 262.2 kB / 0.5638 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3774, allocations: 4 kB / 0.5638 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3774, allocations: 3.984 kB / 0.5639 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3774, allocations: 0 / 0.5639 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009178/0.3784, allocations: 0.795 MB / 0.5646 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3784, allocations: 4 kB / 0.5646 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.3785, allocations: 43.97 kB / 0.5647 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3786, allocations: 3.906 kB / 0.5647 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3786, allocations: 11.92 kB / 0.5647 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3786, allocations: 80 / 0.5647 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3786, allocations: 7.922 kB / 0.5647 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003393/0.3789, allocations: 387.7 kB / 0.5651 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.3791, allocations: 176.4 kB / 0.5652 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.3792, allocations: 3.984 kB / 0.5652 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.3794, allocations: 15.98 kB / 0.5653 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.3795, allocations: 19.97 kB / 0.5653 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3795, allocations: 4 kB / 0.5653 GB, free: 12.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005866/0.3801, allocations: 0.5848 MB / 0.5658 GB, free: 11.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.3804, allocations: 71.98 kB / 0.5659 GB, free: 11.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0005203/0.381, allocations: 292 kB / 0.5662 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.3812, allocations: 123.9 kB / 0.5663 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3812, allocations: 4 kB / 0.5663 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3813, allocations: 71.92 kB / 0.5664 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3817, allocations: 69.36 kB / 0.5665 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.3828, allocations: 0.7133 MB / 0.5671 GB, free: 10.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/0.3833, allocations: 0.9229 MB / 0.568 GB, free: 9.457 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3834, allocations: 0 / 0.568 GB, free: 9.457 MB / 410.7 MB Notification: Performance of Templates: time 0.007133/0.3905, allocations: 3.791 MB / 0.5718 GB, free: 5.668 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches