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.001187/0.001187, allocations: 101.6 kB / 16.41 MB, free: 6.445 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.001135/0.001135, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2104/0.2104, allocations: 43.52 MB / 314.1 MB, free: 452 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.001446/0.001446, allocations: 73.47 kB / 441.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1043, allocations: 57.78 MB / 499.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003492/0.1078, allocations: 2.307 MB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1099, allocations: 1.182 MB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.1102, allocations: 7.938 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.1108, allocations: 291 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.1115, allocations: 262.9 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.1123, allocations: 335.3 kB / 0.4922 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006472/0.113, allocations: 0.5063 MB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1131, allocations: 57.06 kB / 0.4928 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.1135, allocations: 235 kB / 0.493 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.1139, allocations: 259 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.1139, allocations: 16 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1141, allocations: 59.98 kB / 0.4933 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.1142, allocations: 115.5 kB / 0.4934 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1144, allocations: 174.7 kB / 0.4936 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.1148, allocations: 394.4 kB / 0.494 GB, free: 5.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1148, allocations: 0 / 0.494 GB, free: 5.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1149, allocations: 0 / 0.494 GB, free: 5.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1149, allocations: 0 / 0.494 GB, free: 5.523 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.001117/0.116, allocations: 0.7708 MB / 0.4947 GB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.116, allocations: 11.89 kB / 0.4947 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1161, allocations: 52.28 kB / 0.4948 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/0.1168, allocations: 403.9 kB / 0.4952 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1169, allocations: 16.38 kB / 0.4952 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.1169, allocations: 20.11 kB / 0.4952 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.1173, allocations: 198.3 kB / 0.4954 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1173, allocations: 3.984 kB / 0.4954 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1174, allocations: 11.92 kB / 0.4954 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1174, allocations: 4 kB / 0.4954 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.1176, allocations: 99.86 kB / 0.4955 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.1186, allocations: 0.8565 MB / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.1192, allocations: 293.3 kB / 0.4966 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.1195, allocations: 96.25 kB / 0.4967 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1195, allocations: 4 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.1199, allocations: 228.2 kB / 0.4969 GB, free: 2.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.1199, allocations: 0 / 0.4969 GB, free: 2.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002055/0.122, allocations: 0.9883 MB / 0.4979 GB, free: 1.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.1221, allocations: 162.2 kB / 0.498 GB, free: 1.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.1228, allocations: 0.6043 MB / 0.4986 GB, free: 416 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.1228, allocations: 41.69 kB / 0.4987 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.123, allocations: 224.9 kB / 0.4989 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1231, allocations: 118.4 kB / 0.499 GB, free: 20 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.1233, allocations: 70.12 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1234, allocations: 374.7 kB / 0.4994 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.1237, allocations: 104.8 kB / 0.4995 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.124, allocations: 177.4 kB / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.1245, allocations: 304.8 kB / 0.5 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1245, allocations: 0 / 0.5 GB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007465/0.1252, allocations: 400.6 kB / 0.5004 GB, free: 14.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1253, allocations: 4 kB / 0.5004 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1253, allocations: 4 kB / 0.5004 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.1253, allocations: 8 kB / 0.5004 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.1256, allocations: 87.98 kB / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1257, allocations: 11.94 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.1259, allocations: 23.98 kB / 0.5005 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.1259, allocations: 16 kB / 0.5005 GB, free: 14.39 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.0002202/0.1261, allocations: 212.2 kB / 0.5007 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.1263, allocations: 59.19 kB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.1264, allocations: 76.27 kB / 0.5008 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1264, allocations: 4 kB / 0.5008 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.1264, allocations: 4 kB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1264, allocations: 4 kB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.1282, allocations: 1.249 MB / 0.5021 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.1282, allocations: 4 kB / 0.5021 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1284, allocations: 47.91 kB / 0.5021 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.1284, allocations: 4 kB / 0.5021 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.1284, allocations: 19.94 kB / 0.5021 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.1284, allocations: 11.92 kB / 0.5022 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1284, allocations: 4 kB / 0.5022 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000927/0.1294, allocations: 0.8125 MB / 0.503 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.1295, allocations: 116.5 kB / 0.5031 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.17e-05/0.1295, allocations: 23.92 kB / 0.5031 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.1299, allocations: 15.98 kB / 0.5031 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.13, allocations: 27.97 kB / 0.5031 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.13, allocations: 27.92 kB / 0.5032 GB, free: 11.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005134/0.1306, allocations: 462.8 kB / 0.5036 GB, free: 11.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1306, allocations: 0 / 0.5036 GB, free: 11.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005749/0.1311, allocations: 79.98 kB / 0.5037 GB, free: 11 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.001167/0.1323, allocations: 495.3 kB / 0.5041 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006651/0.133, allocations: 287.6 kB / 0.5044 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.133, allocations: 0 / 0.5044 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.1333, allocations: 152.4 kB / 0.5046 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.1344, allocations: 150.9 kB / 0.5047 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1358, allocations: 0.8611 MB / 0.5056 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.1363, allocations: 0.8551 MB / 0.5064 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.1366, allocations: 79.41 kB / 0.5065 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1367, allocations: 55.41 kB / 0.5065 GB, free: 8.051 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1367, allocations: 0 / 0.5065 GB, free: 8.051 MB / 398.1 MB Notification: Performance of Templates: time 0.01119/0.1479, allocations: 5.689 MB / 0.5121 GB, free: 2.371 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/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