Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001198, allocations: 113.6 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.001164/0.001164, allocations: 197.3 kB / 18.01 MB, free: 5.082 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.374/1.374, 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.2071/0.2071, allocations: 43.53 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.001457/0.001457, allocations: 63.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003327/0.1117, allocations: 1.617 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1133, allocations: 0.9613 MB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1134, allocations: 4 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.1136, allocations: 27.8 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.1139, allocations: 47.77 kB / 0.4911 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1143, allocations: 143.7 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1145, allocations: 75.77 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1146, allocations: 19.97 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.1147, allocations: 31.91 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1148, allocations: 23.86 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1149, allocations: 4 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.115, allocations: 55.97 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1151, allocations: 19.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.1151, allocations: 27.8 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1154, allocations: 103.7 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1154, allocations: 0 / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1154, allocations: 0 / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1154, allocations: 0 / 0.4916 GB, free: 8.621 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.0005302/0.1159, allocations: 387.2 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.116, allocations: 15.89 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1161, allocations: 8.844 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1163, allocations: 188.3 kB / 0.4922 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1163, allocations: 4.312 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.1163, allocations: 8.312 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1165, allocations: 83.48 kB / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1165, allocations: 7.984 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1165, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1165, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1167, allocations: 43.95 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.1172, allocations: 304.6 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1173, allocations: 46.55 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.767e-05/0.1174, allocations: 24.94 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1174, allocations: 4 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1175, allocations: 34.56 kB / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1175, allocations: 0 / 0.4927 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008382/0.1183, allocations: 217.3 kB / 0.4929 GB, free: 7.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.1184, allocations: 81.11 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.1185, allocations: 137.6 kB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1185, allocations: 29.7 kB / 0.4932 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.1186, allocations: 96.03 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1186, allocations: 19.78 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.1187, allocations: 29.64 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1188, allocations: 318.8 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.119, allocations: 43.97 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1191, allocations: 57.61 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.1193, allocations: 80.8 kB / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1194, allocations: 32 / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003167/0.1197, allocations: 129.5 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1197, allocations: 4 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1197, allocations: 0 / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1197, allocations: 0 / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1198, allocations: 23.92 kB / 0.4939 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1199, allocations: 0 / 0.4939 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.1199, allocations: 23.86 kB / 0.494 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1199, allocations: 0 / 0.494 GB, free: 5.98 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 9.139e-05/0.12, allocations: 121.8 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.1201, allocations: 11.91 kB / 0.4941 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.1204, allocations: 134 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.1205, allocations: 7.938 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1205, allocations: 4 kB / 0.4942 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1205, allocations: 3.938 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005936/0.1211, allocations: 402.4 kB / 0.4946 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1211, allocations: 0 / 0.4946 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/0.1212, allocations: 23.98 kB / 0.4946 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1212, allocations: 0 / 0.4946 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1212, allocations: 3.938 kB / 0.4946 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1212, allocations: 4 kB / 0.4946 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1212, allocations: 480 / 0.4946 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1216, allocations: 227.3 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.1217, allocations: 85.02 kB / 0.4949 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1217, allocations: 3.938 kB / 0.495 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.1218, allocations: 15.98 kB / 0.495 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1219, allocations: 4 kB / 0.495 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1219, allocations: 7.984 kB / 0.495 GB, free: 4.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.356e-05/0.122, allocations: 103.3 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.122, allocations: 0 / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1223, allocations: 24 kB / 0.4951 GB, free: 4.707 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.001041/0.1233, allocations: 452.4 kB / 0.4955 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.1237, allocations: 95.86 kB / 0.4956 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1237, allocations: 0 / 0.4956 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1238, allocations: 43.97 kB / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1242, allocations: 23.84 kB / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.1247, allocations: 216.1 kB / 0.4959 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1249, allocations: 0.6962 MB / 0.4966 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.125, allocations: 23.42 kB / 0.4966 GB, free: 3.148 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.125, allocations: 0 / 0.4966 GB, free: 3.148 MB / 382.1 MB Notification: Performance of Templates: time 0.004209/0.1292, allocations: 1.809 MB / 0.4984 GB, free: 1.344 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches