Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 109.9 kB / 17.08 MB, free: 6.004 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.001909/0.001909, allocations: 199 kB / 18.01 MB, free: 5.086 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.456/1.456, 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.1966/0.1966, allocations: 43.53 MB / 314.8 MB, free: 464 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.001445/0.001446, allocations: 71.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.1002, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002773/0.103, allocations: 1.605 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006214/0.1037, allocations: 323.5 kB / 0.4904 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.1038, allocations: 0 / 0.4904 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.1042, allocations: 451.2 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1046, allocations: 259.4 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1049, allocations: 103.8 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1051, allocations: 167.6 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.1052, allocations: 16.17 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1053, allocations: 107.8 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1055, allocations: 207.6 kB / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.1056, allocations: 4 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.443e-05/0.1057, allocations: 31.98 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1058, allocations: 83.69 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.1059, allocations: 102.9 kB / 0.4919 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.1062, allocations: 255 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1062, allocations: 0 / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1062, allocations: 0 / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1062, allocations: 0 / 0.4921 GB, free: 8.109 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.0006936/0.1069, allocations: 0.6258 MB / 0.4927 GB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1069, allocations: 15.89 kB / 0.4928 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.107, allocations: 36.47 kB / 0.4928 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1073, allocations: 300.1 kB / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1073, allocations: 4.312 kB / 0.4931 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.1073, allocations: 4.375 kB / 0.4931 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1074, allocations: 57.61 kB / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1075, allocations: 0 / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1075, allocations: 0 / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1075, allocations: 0 / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.759e-05/0.1076, allocations: 23.98 kB / 0.4932 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.108, allocations: 388.6 kB / 0.4935 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1082, allocations: 38.56 kB / 0.4936 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.1083, allocations: 20.94 kB / 0.4936 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1083, allocations: 0 / 0.4936 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1084, allocations: 38.55 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1084, allocations: 0 / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005662/0.1089, allocations: 227.9 kB / 0.4939 GB, free: 6.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.109, allocations: 55.41 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.1097, allocations: 0.8535 MB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1097, allocations: 25.7 kB / 0.4948 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1099, allocations: 232 kB / 0.495 GB, free: 4.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1099, allocations: 19.69 kB / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.11, allocations: 13.72 kB / 0.495 GB, free: 4.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1101, allocations: 366.8 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/0.1102, allocations: 15.98 kB / 0.4954 GB, free: 4.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.1102, allocations: 23.92 kB / 0.4954 GB, free: 4.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.1104, allocations: 44.84 kB / 0.4954 GB, free: 4.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1104, allocations: 0 / 0.4954 GB, free: 4.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1106, allocations: 117.1 kB / 0.4956 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1106, allocations: 8 kB / 0.4956 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1106, allocations: 0 / 0.4956 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1106, allocations: 0 / 0.4956 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.1107, allocations: 11.98 kB / 0.4956 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1107, allocations: 0 / 0.4956 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.1108, allocations: 7.938 kB / 0.4956 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1108, allocations: 11.94 kB / 0.4956 GB, free: 4.328 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.0001706/0.111, allocations: 221.7 kB / 0.4958 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.111, allocations: 35.53 kB / 0.4958 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1113, allocations: 137 kB / 0.496 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1113, allocations: 0 / 0.496 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1113, allocations: 0 / 0.496 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1113, allocations: 3.938 kB / 0.496 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.1119, allocations: 466.8 kB / 0.4964 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1119, allocations: 0 / 0.4964 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1119, allocations: 11.98 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1119, allocations: 0 / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1119, allocations: 3.938 kB / 0.4964 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.112, allocations: 4 kB / 0.4964 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.112, allocations: 0 / 0.4964 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1122, allocations: 211 kB / 0.4966 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.1123, allocations: 112.5 kB / 0.4967 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1123, allocations: 7.938 kB / 0.4968 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.1124, allocations: 4 kB / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1124, allocations: 3.984 kB / 0.4968 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.1125, allocations: 4 kB / 0.4968 GB, free: 3.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005459/0.113, allocations: 0.6472 MB / 0.4974 GB, free: 2.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.113, allocations: 4 kB / 0.4974 GB, free: 2.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1133, allocations: 23.94 kB / 0.4974 GB, free: 2.348 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.0009355/0.1142, allocations: 404.9 kB / 0.4978 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1144, allocations: 43.97 kB / 0.4979 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1144, allocations: 0 / 0.4979 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.1145, allocations: 31.92 kB / 0.4979 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1149, allocations: 33.09 kB / 0.4979 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009966/0.1159, allocations: 0.8085 MB / 0.4987 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1163, allocations: 0.8182 MB / 0.4995 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.1164, allocations: 11.44 kB / 0.4995 GB, free: 184 kB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1164, allocations: 0 / 0.4995 GB, free: 184 kB / 382.1 MB Notification: Performance of Templates: time 0.006757/0.1231, allocations: 3.707 MB / 0.5031 GB, free: 12.47 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches