Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 117.6 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.001087/0.001087, allocations: 198.9 kB / 18.01 MB, free: 5.047 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.32/1.32, 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.1974/0.1974, allocations: 43.53 MB / 314.8 MB, free: 444 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.001418/0.001418, allocations: 69.62 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1005, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002859/0.1034, allocations: 1.612 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1048, allocations: 0.9456 MB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.1048, allocations: 0 / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.1051, allocations: 19.88 kB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.1053, allocations: 47.77 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1056, allocations: 107.7 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1057, allocations: 63.83 kB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.1058, allocations: 20.17 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.1059, allocations: 19.92 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1061, allocations: 39.78 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1061, allocations: 4 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1062, allocations: 47.97 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1062, allocations: 19.92 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.1063, allocations: 23.86 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1065, allocations: 91.77 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1065, allocations: 11.94 kB / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1065, allocations: 0 / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1065, allocations: 0 / 0.4915 GB, free: 8.699 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.0004915/0.107, allocations: 391.1 kB / 0.4919 GB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1071, allocations: 11.89 kB / 0.4919 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.1071, allocations: 8.844 kB / 0.4919 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1073, allocations: 184.3 kB / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1073, allocations: 384 / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1073, allocations: 8.375 kB / 0.4921 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1075, allocations: 75.33 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1076, allocations: 0 / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1076, allocations: 0 / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1076, allocations: 4 kB / 0.4922 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1077, allocations: 35.91 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.1081, allocations: 284.8 kB / 0.4925 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.1082, allocations: 46.55 kB / 0.4925 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/0.1083, allocations: 24.94 kB / 0.4926 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1083, allocations: 4.062 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1084, allocations: 34.5 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1084, allocations: 0 / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007092/0.1091, allocations: 205.3 kB / 0.4928 GB, free: 7.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1091, allocations: 81.11 kB / 0.4929 GB, free: 7.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1093, allocations: 129.8 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1093, allocations: 37.7 kB / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.1094, allocations: 88.08 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1094, allocations: 27.61 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.1094, allocations: 25.59 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1096, allocations: 322.8 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1097, allocations: 23.98 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1098, allocations: 57.67 kB / 0.4936 GB, free: 6.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.11, allocations: 69.05 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.11, allocations: 0 / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002614/0.1103, allocations: 117.5 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1103, allocations: 8.031 kB / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1103, allocations: 0 / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1103, allocations: 0 / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1105, allocations: 19.98 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1105, allocations: 0 / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.1105, allocations: 19.92 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1106, allocations: 0 / 0.4938 GB, free: 6.16 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.759e-05/0.1107, allocations: 117.8 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1107, allocations: 11.91 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.111, allocations: 121.9 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.111, allocations: 0 / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.111, allocations: 0 / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.111, allocations: 7.938 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.1115, allocations: 386.4 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1116, allocations: 3.984 kB / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.1116, allocations: 23.92 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1116, allocations: 0 / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1117, allocations: 3.938 kB / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1117, allocations: 4 kB / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1117, allocations: 0 / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.112, allocations: 199.5 kB / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.112, allocations: 85.02 kB / 0.4947 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.112, allocations: 7.938 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.1121, allocations: 7.984 kB / 0.4947 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.1122, allocations: 7.984 kB / 0.4947 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1122, allocations: 7.938 kB / 0.4947 GB, free: 5.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.375e-05/0.1123, allocations: 107.8 kB / 0.4948 GB, free: 4.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1123, allocations: 3.938 kB / 0.4948 GB, free: 4.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1125, allocations: 31.98 kB / 0.4949 GB, free: 4.934 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.001026/0.1136, allocations: 448.7 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.1139, allocations: 75.94 kB / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1139, allocations: 4 kB / 0.4954 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.114, allocations: 39.91 kB / 0.4954 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1143, allocations: 23.84 kB / 0.4954 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.1147, allocations: 207.7 kB / 0.4956 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.115, allocations: 0.6924 MB / 0.4963 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.115, allocations: 19.44 kB / 0.4963 GB, free: 3.418 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.1151, allocations: 0 / 0.4963 GB, free: 3.418 MB / 382.1 MB Notification: Performance of Templates: time 0.003324/0.1184, allocations: 1.708 MB / 0.498 GB, free: 1.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches