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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 119.2 kB / 17.08 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009516/0.0009518, allocations: 194.4 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1807/0.1807, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 73.47 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08602/0.08731, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002965/0.09032, allocations: 1.959 MB / 0.4905 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.09186, allocations: 1.061 MB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.09199, allocations: 0 / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.09226, allocations: 59.58 kB / 0.4916 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.09259, allocations: 135.4 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.09366, allocations: 0.5575 MB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.094, allocations: 275.2 kB / 0.4925 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.09417, allocations: 76.55 kB / 0.4926 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.09435, allocations: 123.5 kB / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.09456, allocations: 179.4 kB / 0.4929 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.0946, allocations: 12 kB / 0.4929 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.09471, allocations: 43.92 kB / 0.4929 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.09485, allocations: 147.6 kB / 0.493 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.09498, allocations: 154.7 kB / 0.4932 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.09532, allocations: 362.6 kB / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.09533, allocations: 4 kB / 0.4935 GB, free: 6.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09534, allocations: 0 / 0.4935 GB, free: 6.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.09535, allocations: 0 / 0.4935 GB, free: 6.648 MB / 382.1 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.0008205/0.09617, allocations: 0.7425 MB / 0.4943 GB, free: 5.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.09621, allocations: 11.89 kB / 0.4943 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.0963, allocations: 52.28 kB / 0.4943 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.09678, allocations: 451.8 kB / 0.4948 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.0968, allocations: 8.375 kB / 0.4948 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.09684, allocations: 16.12 kB / 0.4948 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.0971, allocations: 139.2 kB / 0.4949 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.09712, allocations: 7.906 kB / 0.4949 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.09714, allocations: 8 kB / 0.4949 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.09715, allocations: 0 / 0.4949 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.09736, allocations: 99.86 kB / 0.495 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.09818, allocations: 0.6682 MB / 0.4957 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.09838, allocations: 125.2 kB / 0.4958 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.09848, allocations: 45.81 kB / 0.4958 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.09851, allocations: 4 kB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.09854, allocations: 38.5 kB / 0.4959 GB, free: 4.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.09855, allocations: 4 kB / 0.4959 GB, free: 4.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001335/0.09989, allocations: 0.5255 MB / 0.4964 GB, free: 3.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.09995, allocations: 81.11 kB / 0.4965 GB, free: 3.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.1009, allocations: 0.8622 MB / 0.4973 GB, free: 2.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1009, allocations: 25.7 kB / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.1011, allocations: 248.3 kB / 0.4976 GB, free: 2.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.1012, allocations: 47.2 kB / 0.4976 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.1013, allocations: 37.64 kB / 0.4977 GB, free: 2.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1014, allocations: 374.7 kB / 0.498 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1015, allocations: 59.95 kB / 0.4981 GB, free: 1.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.1017, allocations: 93.25 kB / 0.4982 GB, free: 1.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.102, allocations: 161.8 kB / 0.4983 GB, free: 1.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.102, allocations: 0 / 0.4983 GB, free: 1.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004146/0.1025, allocations: 244.9 kB / 0.4986 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1025, allocations: 4 kB / 0.4986 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1025, allocations: 0 / 0.4986 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1025, allocations: 4 kB / 0.4986 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.1027, allocations: 35.97 kB / 0.4986 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1027, allocations: 0 / 0.4986 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1028, allocations: 11.98 kB / 0.4986 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1028, allocations: 8 kB / 0.4986 GB, free: 1.176 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.103, allocations: 221.6 kB / 0.4988 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.1031, allocations: 59.45 kB / 0.4989 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.1037, allocations: 294.8 kB / 0.4992 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1037, allocations: 4 kB / 0.4992 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1037, allocations: 0 / 0.4992 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1037, allocations: 4 kB / 0.4992 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009684/0.1047, allocations: 0.7903 MB / 0.4999 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1047, allocations: 0 / 0.4999 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1049, allocations: 39.91 kB / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1049, allocations: 0 / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1049, allocations: 4 kB / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1049, allocations: 11.92 kB / 0.5 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1049, allocations: 0 / 0.5 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.1054, allocations: 406.1 kB / 0.5004 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1055, allocations: 132.5 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1055, allocations: 8 kB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1057, allocations: 15.92 kB / 0.5005 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.1058, allocations: 15.92 kB / 0.5005 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1058, allocations: 4 kB / 0.5006 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000579/0.1064, allocations: 0.6276 MB / 0.5012 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1064, allocations: 0 / 0.5012 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1067, allocations: 56 kB / 0.5012 GB, free: 14.4 MB / 398.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008118/0.1075, allocations: 412.7 kB / 0.5016 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.1079, allocations: 159.8 kB / 0.5018 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1079, allocations: 0 / 0.5018 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1081, allocations: 91.88 kB / 0.5019 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.1087, allocations: 66.89 kB / 0.5019 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.1098, allocations: 0.9248 MB / 0.5028 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1101, allocations: 0.8535 MB / 0.5037 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.944e-05/0.1103, allocations: 43.41 kB / 0.5037 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.1103, allocations: 0 / 0.5037 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Templates: time 0.006962/0.1172, allocations: 5.678 MB / 0.5092 GB, free: 6.141 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches