Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001758, allocations: 117.4 kB / 17.09 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.002064/0.002064, allocations: 193.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.488/1.488, 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.2027/0.2027, allocations: 43.52 MB / 314.8 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.001551/0.001551, allocations: 76.45 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09666, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003434/0.1001, allocations: 2.304 MB / 0.4909 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.102, allocations: 1.178 MB / 0.492 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1023, allocations: 7.938 kB / 0.492 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.1028, allocations: 295 kB / 0.4923 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.1033, allocations: 266.9 kB / 0.4925 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.1041, allocations: 327.3 kB / 0.4929 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.1047, allocations: 0.5141 MB / 0.4934 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1048, allocations: 53.06 kB / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.1051, allocations: 235 kB / 0.4936 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.1055, allocations: 267 kB / 0.4939 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.1056, allocations: 16 kB / 0.4939 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1057, allocations: 59.98 kB / 0.494 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1059, allocations: 111.5 kB / 0.4941 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.106, allocations: 166.8 kB / 0.4942 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.1064, allocations: 398.4 kB / 0.4946 GB, free: 5.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1064, allocations: 4 kB / 0.4946 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1064, allocations: 4 kB / 0.4946 GB, free: 5.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1065, allocations: 0 / 0.4946 GB, free: 5.555 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001063/0.1075, allocations: 0.7552 MB / 0.4954 GB, free: 4.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1076, allocations: 11.89 kB / 0.4954 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.1077, allocations: 56.27 kB / 0.4954 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.1082, allocations: 411.9 kB / 0.4958 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1082, allocations: 12.38 kB / 0.4958 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.1083, allocations: 16.12 kB / 0.4958 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.1087, allocations: 206.3 kB / 0.496 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1087, allocations: 0 / 0.496 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.1087, allocations: 12 kB / 0.496 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1087, allocations: 0 / 0.496 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.109, allocations: 99.86 kB / 0.4961 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.1098, allocations: 0.8565 MB / 0.497 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.1104, allocations: 285.3 kB / 0.4973 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.1106, allocations: 100.2 kB / 0.4973 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1106, allocations: 11.98 kB / 0.4974 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.111, allocations: 224.2 kB / 0.4976 GB, free: 2.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.111, allocations: 0 / 0.4976 GB, free: 2.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001837/0.1129, allocations: 0.9876 MB / 0.4985 GB, free: 1.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.113, allocations: 162.2 kB / 0.4987 GB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.1136, allocations: 0.6121 MB / 0.4993 GB, free: 452 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.1136, allocations: 41.7 kB / 0.4993 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1138, allocations: 224.9 kB / 0.4995 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.211e-05/0.1139, allocations: 118.4 kB / 0.4997 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.114, allocations: 74.22 kB / 0.4997 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1141, allocations: 366.8 kB / 0.5001 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.1144, allocations: 100.8 kB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.1146, allocations: 188.8 kB / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.1151, allocations: 296.7 kB / 0.5006 GB, free: 14.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1151, allocations: 0 / 0.5006 GB, free: 14.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006823/0.1158, allocations: 408.6 kB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1158, allocations: 4 kB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1159, allocations: 4 kB / 0.501 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1159, allocations: 4 kB / 0.501 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.1162, allocations: 83.89 kB / 0.5011 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1162, allocations: 7.938 kB / 0.5011 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1164, allocations: 23.92 kB / 0.5011 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.1164, allocations: 16 kB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001962/0.1166, allocations: 208.4 kB / 0.5014 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.1167, allocations: 63.19 kB / 0.5014 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1168, allocations: 64.3 kB / 0.5015 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1168, allocations: 5.312 kB / 0.5015 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.1168, allocations: 4 kB / 0.5015 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1169, allocations: 3.984 kB / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.1183, allocations: 1.261 MB / 0.5027 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1183, allocations: 0 / 0.5027 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.1184, allocations: 51.92 kB / 0.5028 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1185, allocations: 4 kB / 0.5028 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.1185, allocations: 20.08 kB / 0.5028 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1185, allocations: 4 kB / 0.5028 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1185, allocations: 8 kB / 0.5028 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008068/0.1193, allocations: 0.8084 MB / 0.5036 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.1194, allocations: 124.4 kB / 0.5037 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.1195, allocations: 15.94 kB / 0.5037 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.1198, allocations: 15.98 kB / 0.5038 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.1199, allocations: 47.89 kB / 0.5038 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.1199, allocations: 19.98 kB / 0.5038 GB, free: 11.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004497/0.1204, allocations: 458.8 kB / 0.5043 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1204, allocations: 0 / 0.5043 GB, free: 11.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005203/0.1209, allocations: 79.98 kB / 0.5043 GB, free: 11.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001076/0.122, allocations: 490.9 kB / 0.5048 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005911/0.1226, allocations: 299.8 kB / 0.5051 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1226, allocations: 0 / 0.5051 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.1229, allocations: 147.8 kB / 0.5052 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.1239, allocations: 139 kB / 0.5054 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1252, allocations: 0.906 MB / 0.5062 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1256, allocations: 0.859 MB / 0.5071 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1258, allocations: 59.42 kB / 0.5071 GB, free: 8.125 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1258, allocations: 0 / 0.5071 GB, free: 8.125 MB / 398.1 MB Notification: Performance of Templates: time 0.009631/0.1354, allocations: 6.338 MB / 0.5133 GB, free: 1.785 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches