Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.0008615/0.0008616, allocations: 100.7 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1947/0.1947, allocations: 44.16 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.596e-05, allocations: 4 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.5895, allocations: 89.24 MB / 0.5818 GB, free: 7.316 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.5898, allocations: 75.95 kB / 0.5819 GB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0243/0.6141, allocations: 9.431 MB / 0.5911 GB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6142, allocations: 0 / 0.5911 GB, free: 13.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.6142, allocations: 15.94 kB / 0.5911 GB, free: 13.78 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.0008148/0.615, allocations: 0.6532 MB / 0.5918 GB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.6151, allocations: 11.98 kB / 0.5918 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.375e-05/0.6152, allocations: 55.25 kB / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.6159, allocations: 479 kB / 0.5923 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.6159, allocations: 11.94 kB / 0.5923 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.616, allocations: 7.906 kB / 0.5923 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001785/0.6161, allocations: 83.91 kB / 0.5924 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.6164, allocations: 136.6 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.6164, allocations: 0 / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6164, allocations: 0 / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.6164, allocations: 4 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.6175, allocations: 0.7157 MB / 0.5932 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.6177, allocations: 113.2 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.6178, allocations: 53.81 kB / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.6178, allocations: 7.984 kB / 0.5934 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.6178, allocations: 38.52 kB / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.6179, allocations: 0 / 0.5934 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001377/0.6192, allocations: 0.5759 MB / 0.594 GB, free: 10.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.6193, allocations: 77.11 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009455/0.6203, allocations: 0.7688 MB / 0.5948 GB, free: 9.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.6203, allocations: 29.7 kB / 0.5948 GB, free: 9.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.6205, allocations: 252.4 kB / 0.5951 GB, free: 9.512 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.6206, allocations: 67 kB / 0.5951 GB, free: 9.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.6206, allocations: 0 / 0.5951 GB, free: 9.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6207, allocations: 370.8 kB / 0.5955 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.6209, allocations: 75.92 kB / 0.5956 GB, free: 9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.621, allocations: 88.27 kB / 0.5956 GB, free: 8.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.6211, allocations: 88.08 kB / 0.5957 GB, free: 8.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.6212, allocations: 224 / 0.5957 GB, free: 8.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003861/0.6215, allocations: 264.7 kB / 0.596 GB, free: 8.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6216, allocations: 11.94 kB / 0.596 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6216, allocations: 0 / 0.596 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6216, allocations: 0 / 0.596 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.6219, allocations: 59.95 kB / 0.596 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6219, allocations: 4 kB / 0.596 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.6221, allocations: 27.97 kB / 0.5961 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.6222, allocations: 11.98 kB / 0.5961 GB, free: 8.445 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 (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 0.0001025/0.6223, allocations: 116.9 kB / 0.5962 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.6224, allocations: 55.25 kB / 0.5963 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/0.6229, allocations: 314.5 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.6229, allocations: 4 kB / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.623, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.623, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.6241, allocations: 0.9117 MB / 0.5974 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6242, allocations: 4 kB / 0.5974 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.6244, allocations: 59.95 kB / 0.5975 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6245, allocations: 7.938 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.6245, allocations: 3.984 kB / 0.5975 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6245, allocations: 4.375 kB / 0.5975 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6245, allocations: 0 / 0.5975 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.625, allocations: 451.6 kB / 0.598 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.6252, allocations: 184.4 kB / 0.5981 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.6253, allocations: 4 kB / 0.5981 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.6255, allocations: 27.98 kB / 0.5982 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.6256, allocations: 15.97 kB / 0.5982 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.6256, allocations: 7.984 kB / 0.5982 GB, free: 6.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006727/0.6263, allocations: 0.6084 MB / 0.5988 GB, free: 5.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6263, allocations: 0 / 0.5988 GB, free: 5.598 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004126/0.6267, allocations: 83.89 kB / 0.5989 GB, free: 5.516 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 (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.000794/0.6275, allocations: 337.8 kB / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.6279, allocations: 183.8 kB / 0.5994 GB, free: 5.074 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6279, allocations: 0 / 0.5994 GB, free: 5.074 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.628, allocations: 107.8 kB / 0.5995 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.6286, allocations: 72.61 kB / 0.5995 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.6299, allocations: 0.7666 MB / 0.6003 GB, free: 4.098 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.6305, allocations: 0.8838 MB / 0.6011 GB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.6308, allocations: 127.1 kB / 0.6013 GB, free: 3.066 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.631, allocations: 48.16 kB / 0.6013 GB, free: 3.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.631, allocations: 0 / 0.6013 GB, free: 3.02 MB / 410.7 MB Notification: Performance of Templates: time 0.009059/0.64, allocations: 4.142 MB / 0.6053 GB, free: 14.89 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches