Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 119.2 kB / 17.09 MB, free: 5.957 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.001134/0.001134, allocations: 197.2 kB / 18.02 MB, free: 5.039 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.275/1.275, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1849/0.1849, allocations: 43.53 MB / 314.8 MB, free: 448 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.001429/0.001429, allocations: 69.47 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09864, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.00302/0.1017, allocations: 1.604 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006133/0.1023, allocations: 327.5 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.1024, allocations: 4 kB / 0.4904 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.103, allocations: 443.2 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.1033, allocations: 259.4 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1037, allocations: 107.7 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1039, allocations: 163.7 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.104, allocations: 12.19 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1042, allocations: 111.8 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.1045, allocations: 211.6 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.1045, allocations: 8 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.803e-05/0.1046, allocations: 35.97 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.669e-05/0.1047, allocations: 75.7 kB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.399e-05/0.1048, allocations: 103 kB / 0.4919 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.1051, allocations: 251 kB / 0.4921 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1051, allocations: 0 / 0.4921 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1051, allocations: 0 / 0.4921 GB, free: 8.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1052, allocations: 0 / 0.4921 GB, free: 8.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007051/0.1059, allocations: 0.6297 MB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1059, allocations: 15.89 kB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.106, allocations: 36.47 kB / 0.4928 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1063, allocations: 296.2 kB / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1063, allocations: 384 / 0.4931 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1063, allocations: 4.375 kB / 0.4931 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1065, allocations: 61.59 kB / 0.4931 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1065, allocations: 0 / 0.4931 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1065, allocations: 0 / 0.4931 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1065, allocations: 0 / 0.4931 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.1066, allocations: 31.92 kB / 0.4932 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.1071, allocations: 380.7 kB / 0.4935 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1073, allocations: 38.56 kB / 0.4936 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.1074, allocations: 20.94 kB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1074, allocations: 3.938 kB / 0.4936 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1074, allocations: 34.56 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.1074, allocations: 0 / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006373/0.1081, allocations: 232.2 kB / 0.4939 GB, free: 6.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1081, allocations: 51.41 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/0.1089, allocations: 0.8535 MB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1089, allocations: 29.7 kB / 0.4948 GB, free: 5.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1091, allocations: 228 kB / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1091, allocations: 15.75 kB / 0.495 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.1092, allocations: 13.72 kB / 0.495 GB, free: 4.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1093, allocations: 370.7 kB / 0.4954 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.1094, allocations: 20.05 kB / 0.4954 GB, free: 4.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.1095, allocations: 19.98 kB / 0.4954 GB, free: 4.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1096, allocations: 48.83 kB / 0.4955 GB, free: 4.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1096, allocations: 0 / 0.4955 GB, free: 4.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002052/0.1098, allocations: 117 kB / 0.4956 GB, free: 4.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1098, allocations: 8 kB / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1098, allocations: 0 / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1099, allocations: 0 / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.1099, allocations: 11.98 kB / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1099, allocations: 7.984 kB / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.11, allocations: 7.938 kB / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.11, allocations: 4 kB / 0.4956 GB, free: 4.305 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001743/0.1102, allocations: 221.7 kB / 0.4958 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.1103, allocations: 35.53 kB / 0.4958 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.1105, allocations: 136.9 kB / 0.496 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1105, allocations: 0 / 0.496 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1106, allocations: 0 / 0.496 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1106, allocations: 7.938 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.1112, allocations: 454.9 kB / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1112, allocations: 4 kB / 0.4964 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.1113, allocations: 11.98 kB / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1113, allocations: 0 / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1113, allocations: 7.938 kB / 0.4964 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1113, allocations: 3.938 kB / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1113, allocations: 0 / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1115, allocations: 211 kB / 0.4966 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.1116, allocations: 108.5 kB / 0.4968 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1117, allocations: 7.938 kB / 0.4968 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.1117, allocations: 4 kB / 0.4968 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1118, allocations: 3.984 kB / 0.4968 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1118, allocations: 4 kB / 0.4968 GB, free: 3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005599/0.1124, allocations: 0.655 MB / 0.4974 GB, free: 2.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1124, allocations: 0 / 0.4974 GB, free: 2.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1126, allocations: 20 kB / 0.4974 GB, free: 2.328 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008743/0.1135, allocations: 401.4 kB / 0.4978 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.1137, allocations: 47.91 kB / 0.4979 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1137, allocations: 0 / 0.4979 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.1138, allocations: 27.98 kB / 0.4979 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1142, allocations: 29.81 kB / 0.4979 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.1152, allocations: 0.8085 MB / 0.4987 GB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1156, allocations: 0.822 MB / 0.4995 GB, free: 176 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1156, allocations: 11.44 kB / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1156, allocations: 0 / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of Templates: time 0.007012/0.1227, allocations: 3.649 MB / 0.5031 GB, free: 12.51 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches