Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") [: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 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 187.1 kB / 8.523 MB, free: 1.762 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.4 MB / 230.3 MB, free: 3.078 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009362, allocations: 96.98 kB / 281.2 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3222/0.3222, allocations: 44.13 MB / 376.1 MB, free: 43.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.323e-05/1.327e-05, allocations: 0 / 444.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3055, allocations: 61.9 MB / 0.4941 GB, free: 42.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.4154, allocations: 88.72 MB / 0.5807 GB, free: 12.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.4156, allocations: 71.97 kB / 0.5808 GB, free: 12.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.02282/0.4385, allocations: 8.871 MB / 0.5895 GB, free: 3.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.4385, allocations: 12 kB / 0.5895 GB, free: 3.66 MB / 410.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.0008012/0.4393, allocations: 0.6558 MB / 0.5901 GB, free: 2.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4394, allocations: 8.031 kB / 0.5901 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.915e-05/0.4395, allocations: 55.25 kB / 0.5902 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.4402, allocations: 471 kB / 0.5906 GB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.4402, allocations: 4 kB / 0.5906 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.4402, allocations: 4 kB / 0.5906 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001544/0.4404, allocations: 63.98 kB / 0.5907 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.4406, allocations: 118.7 kB / 0.5908 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4406, allocations: 0 / 0.5908 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.4406, allocations: 0 / 0.5908 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4406, allocations: 4 kB / 0.5908 GB, free: 2.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4417, allocations: 0.7116 MB / 0.5915 GB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.4419, allocations: 93.27 kB / 0.5916 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.4419, allocations: 37.84 kB / 0.5916 GB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.442, allocations: 4 kB / 0.5916 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.442, allocations: 34.56 kB / 0.5917 GB, free: 1.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.442, allocations: 4 kB / 0.5917 GB, free: 1.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001374/0.4434, allocations: 0.5213 MB / 0.5922 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.4434, allocations: 81.11 kB / 0.5923 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.4444, allocations: 0.7483 MB / 0.593 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.4444, allocations: 33.69 kB / 0.593 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.4445, allocations: 152.3 kB / 0.5932 GB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.4446, allocations: 59.11 kB / 0.5932 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.4446, allocations: 0 / 0.5932 GB, free: 15.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4448, allocations: 378.7 kB / 0.5936 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.4449, allocations: 48 kB / 0.5936 GB, free: 15.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.445, allocations: 77.64 kB / 0.5937 GB, free: 15.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.4451, allocations: 64.09 kB / 0.5938 GB, free: 15.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4451, allocations: 0 / 0.5938 GB, free: 15.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003598/0.4455, allocations: 216.9 kB / 0.594 GB, free: 14.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4455, allocations: 4 kB / 0.594 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4455, allocations: 0 / 0.594 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.4456, allocations: 4 kB / 0.594 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.4459, allocations: 75.88 kB / 0.5941 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4459, allocations: 0 / 0.5941 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4461, allocations: 31.89 kB / 0.5941 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.4462, allocations: 11.98 kB / 0.5941 GB, free: 14.7 MB / 426.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 (20): * Single equations (assignments): 20 * 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 9.099e-05/0.4463, allocations: 106.7 kB / 0.5942 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4464, allocations: 55.25 kB / 0.5942 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.4469, allocations: 278.1 kB / 0.5945 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4469, allocations: 8 kB / 0.5945 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.447, allocations: 0 / 0.5945 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.447, allocations: 224 / 0.5945 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.4482, allocations: 0.8573 MB / 0.5954 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4482, allocations: 0 / 0.5954 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.4485, allocations: 71.89 kB / 0.5954 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4485, allocations: 0 / 0.5954 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.4485, allocations: 7.984 kB / 0.5954 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4485, allocations: 384 / 0.5954 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4485, allocations: 4 kB / 0.5954 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004962/0.449, allocations: 414.7 kB / 0.5958 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.4493, allocations: 188.3 kB / 0.596 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.4493, allocations: 4 kB / 0.596 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.4496, allocations: 27.98 kB / 0.596 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.4497, allocations: 19.97 kB / 0.5961 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.4497, allocations: 7.984 kB / 0.5961 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006702/0.4504, allocations: 0.5887 MB / 0.5966 GB, free: 11.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004114/0.4508, allocations: 83.92 kB / 0.5967 GB, free: 11.91 MB / 426.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 (20): * Single equations (assignments): 20 * 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.0006952/0.4515, allocations: 294.7 kB / 0.597 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.4518, allocations: 143.9 kB / 0.5971 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4519, allocations: 0 / 0.5971 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.452, allocations: 87.92 kB / 0.5972 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.4525, allocations: 64.48 kB / 0.5973 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4539, allocations: 0.7296 MB / 0.598 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006634/0.4546, allocations: 0.9268 MB / 0.5989 GB, free: 9.699 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4546, allocations: 0 / 0.5989 GB, free: 9.699 MB / 426.7 MB Notification: Performance of Templates: time 0.008996/0.4636, allocations: 4.199 MB / 0.603 GB, free: 5.543 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches