Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001261/0.001261, allocations: 197.3 kB / 18.01 MB, free: 5.094 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.3/1.3, allocations: 205.1 MB / 223.9 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.2158/0.2158, allocations: 43.52 MB / 314.8 MB, free: 472 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.001579/0.001579, allocations: 63.91 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1097, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002842/0.1126, allocations: 1.609 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006619/0.1133, allocations: 347.5 kB / 0.4904 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.1134, allocations: 0 / 0.4904 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.1139, allocations: 451.2 kB / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.1143, allocations: 259.4 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.1147, allocations: 147.7 kB / 0.4913 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.115, allocations: 171.6 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1151, allocations: 20.17 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1152, allocations: 107.8 kB / 0.4916 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.1155, allocations: 207.6 kB / 0.4918 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1155, allocations: 8 kB / 0.4918 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.53e-05/0.1156, allocations: 31.98 kB / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1157, allocations: 79.7 kB / 0.4919 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.1158, allocations: 110.9 kB / 0.492 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1161, allocations: 247 kB / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1161, allocations: 0 / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1161, allocations: 0 / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1161, allocations: 0 / 0.4922 GB, free: 8.047 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.0007006/0.1168, allocations: 0.6297 MB / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1169, allocations: 15.89 kB / 0.4928 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.117, allocations: 48.36 kB / 0.4929 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1174, allocations: 296.2 kB / 0.4932 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1174, allocations: 8.312 kB / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1174, allocations: 4.375 kB / 0.4932 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.1176, allocations: 53.62 kB / 0.4932 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1176, allocations: 0 / 0.4932 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1177, allocations: 7.984 kB / 0.4932 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1177, allocations: 0 / 0.4932 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1178, allocations: 31.97 kB / 0.4933 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.1183, allocations: 404.5 kB / 0.4937 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1185, allocations: 46.56 kB / 0.4937 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.1186, allocations: 16.94 kB / 0.4937 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1186, allocations: 0 / 0.4937 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1187, allocations: 34.56 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1187, allocations: 0 / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006038/0.1193, allocations: 228 kB / 0.494 GB, free: 6.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1193, allocations: 51.41 kB / 0.494 GB, free: 6.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.1201, allocations: 0.8652 MB / 0.4949 GB, free: 5.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1201, allocations: 25.7 kB / 0.4949 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1203, allocations: 224 kB / 0.4951 GB, free: 4.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1203, allocations: 27.64 kB / 0.4951 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1203, allocations: 13.72 kB / 0.4951 GB, free: 4.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1205, allocations: 362.8 kB / 0.4955 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.1206, allocations: 23.92 kB / 0.4955 GB, free: 4.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.1206, allocations: 23.98 kB / 0.4955 GB, free: 4.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1208, allocations: 52.83 kB / 0.4956 GB, free: 4.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1208, allocations: 192 / 0.4956 GB, free: 4.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.121, allocations: 121.2 kB / 0.4957 GB, free: 4.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.1211, allocations: 8 kB / 0.4957 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1211, allocations: 0 / 0.4957 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1211, allocations: 0 / 0.4957 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.1212, allocations: 8 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1212, allocations: 11.92 kB / 0.4957 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.1212, allocations: 7.938 kB / 0.4957 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1212, allocations: 4 kB / 0.4957 GB, free: 4.199 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.0001705/0.1214, allocations: 217.7 kB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.1215, allocations: 43.44 kB / 0.496 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1218, allocations: 141 kB / 0.4961 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1218, allocations: 0 / 0.4961 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1218, allocations: 0 / 0.4961 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1218, allocations: 7.938 kB / 0.4961 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.1223, allocations: 462.4 kB / 0.4966 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1224, allocations: 0 / 0.4966 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.1224, allocations: 15.98 kB / 0.4966 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1224, allocations: 0 / 0.4966 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1224, allocations: 3.938 kB / 0.4966 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1224, allocations: 0 / 0.4966 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1225, allocations: 0 / 0.4966 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.1227, allocations: 227.1 kB / 0.4968 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.546e-05/0.1228, allocations: 108.6 kB / 0.4969 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1228, allocations: 3.938 kB / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.1229, allocations: 7.984 kB / 0.4969 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.123, allocations: 4 kB / 0.4969 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.123, allocations: 0 / 0.4969 GB, free: 2.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005617/0.1235, allocations: 0.655 MB / 0.4976 GB, free: 2.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1235, allocations: 0 / 0.4976 GB, free: 2.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1238, allocations: 28 kB / 0.4976 GB, free: 2.195 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.0008862/0.1247, allocations: 420.2 kB / 0.498 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1249, allocations: 51.97 kB / 0.498 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1249, allocations: 0 / 0.498 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.125, allocations: 35.92 kB / 0.4981 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1254, allocations: 29.81 kB / 0.4981 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1265, allocations: 0.8162 MB / 0.4989 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1269, allocations: 0.8182 MB / 0.4997 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.1269, allocations: 15.48 kB / 0.4997 GB, free: 15.99 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1269, allocations: 0 / 0.4997 GB, free: 15.99 MB / 398.1 MB Notification: Performance of Templates: time 0.006913/0.1339, allocations: 3.781 MB / 0.5034 GB, free: 12.21 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches