Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 112.7 kB / 17.04 MB, free: 6.129 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.001155/0.001155, allocations: 196.1 kB / 17.98 MB, free: 5.227 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.783/1.783, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2171/0.2171, allocations: 43.53 MB / 314.7 MB, free: 468 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.00155/0.00155, allocations: 65.84 kB / 442.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1057, allocations: 57.8 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002822/0.1086, allocations: 1.608 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.1091, allocations: 327.5 kB / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.1092, allocations: 4 kB / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.1094, allocations: 59.86 kB / 0.4904 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1096, allocations: 63.73 kB / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1099, allocations: 111.7 kB / 0.4906 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1101, allocations: 71.81 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.1102, allocations: 24.16 kB / 0.4907 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.1102, allocations: 35.89 kB / 0.4907 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.1103, allocations: 55.77 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1103, allocations: 7.938 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.1104, allocations: 31.98 kB / 0.4908 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.1105, allocations: 23.91 kB / 0.4908 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.1105, allocations: 27.75 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1107, allocations: 95.72 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1107, allocations: 0 / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1107, allocations: 0 / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1107, allocations: 0 / 0.491 GB, free: 9.27 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.000451/0.1112, allocations: 418.9 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1112, allocations: 11.89 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.1113, allocations: 8.844 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1114, allocations: 196.1 kB / 0.4916 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1114, allocations: 384 / 0.4916 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1115, allocations: 8.375 kB / 0.4916 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.1117, allocations: 61.61 kB / 0.4916 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1117, allocations: 0 / 0.4916 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1117, allocations: 0 / 0.4916 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1117, allocations: 0 / 0.4916 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.1119, allocations: 39.84 kB / 0.4917 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.1122, allocations: 300.7 kB / 0.492 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1124, allocations: 38.56 kB / 0.492 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1125, allocations: 24.94 kB / 0.492 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.1125, allocations: 0 / 0.492 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1125, allocations: 42.5 kB / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1126, allocations: 0 / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006895/0.1133, allocations: 209.1 kB / 0.4923 GB, free: 7.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1133, allocations: 51.41 kB / 0.4923 GB, free: 7.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1135, allocations: 206.2 kB / 0.4925 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1135, allocations: 25.7 kB / 0.4925 GB, free: 7.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.1135, allocations: 104.1 kB / 0.4926 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1136, allocations: 23.66 kB / 0.4927 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.1136, allocations: 21.7 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1137, allocations: 322.8 kB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1138, allocations: 31.97 kB / 0.493 GB, free: 6.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.114, allocations: 32.05 kB / 0.493 GB, free: 6.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.1142, allocations: 80.86 kB / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1142, allocations: 0 / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002553/0.1144, allocations: 121.4 kB / 0.4932 GB, free: 6.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1145, allocations: 4 kB / 0.4932 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1145, allocations: 0 / 0.4932 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1145, allocations: 4 kB / 0.4932 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1146, allocations: 19.98 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1146, allocations: 3.938 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.1147, allocations: 11.92 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1147, allocations: 4 kB / 0.4933 GB, free: 6.668 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 (7): * Single equations (assignments): 7 * 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 8.299e-05/0.1148, allocations: 129.8 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.1148, allocations: 11.89 kB / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.1151, allocations: 130.3 kB / 0.4935 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1152, allocations: 4 kB / 0.4935 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1152, allocations: 0 / 0.4935 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1152, allocations: 3.938 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.1157, allocations: 390.5 kB / 0.4939 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1157, allocations: 3.938 kB / 0.4939 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.1158, allocations: 23.92 kB / 0.4939 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1158, allocations: 288 / 0.4939 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1158, allocations: 3.938 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1158, allocations: 0 / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1158, allocations: 0 / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1161, allocations: 219.3 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1161, allocations: 89 kB / 0.4942 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1161, allocations: 7.938 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.1162, allocations: 7.984 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1163, allocations: 4 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1163, allocations: 4 kB / 0.4943 GB, free: 5.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1164, allocations: 160 kB / 0.4944 GB, free: 5.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1164, allocations: 8 kB / 0.4944 GB, free: 5.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1167, allocations: 19.98 kB / 0.4944 GB, free: 5.363 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 (7): * Single equations (assignments): 7 * 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.0008611/0.1175, allocations: 404.9 kB / 0.4948 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.1178, allocations: 79.86 kB / 0.4949 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1178, allocations: 0 / 0.4949 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1179, allocations: 51.91 kB / 0.495 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1183, allocations: 11.98 kB / 0.495 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.1188, allocations: 264.2 kB / 0.4952 GB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1191, allocations: 0.7041 MB / 0.4959 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1191, allocations: 15.44 kB / 0.4959 GB, free: 3.824 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1192, allocations: 4 kB / 0.4959 GB, free: 3.82 MB / 382.1 MB Notification: Performance of Templates: time 0.003108/0.1223, allocations: 1.625 MB / 0.4975 GB, free: 2.199 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches