Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.001287/0.001288, allocations: 198.4 kB / 18.02 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.385/1.385, 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.2001/0.2001, allocations: 43.53 MB / 314.8 MB, free: 448 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.001362/0.001362, allocations: 81.45 kB / 442.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.1004, allocations: 57.8 MB / 0.4886 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003042/0.1035, allocations: 1.686 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1055, allocations: 1.406 MB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1056, allocations: 0 / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1059, allocations: 43.77 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1062, allocations: 59.77 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1065, allocations: 91.69 kB / 0.4918 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1067, allocations: 91.7 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1068, allocations: 28.19 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.1069, allocations: 39.8 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1071, allocations: 35.83 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1071, allocations: 4 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1073, allocations: 59.98 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.1073, allocations: 19.91 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.1074, allocations: 39.73 kB / 0.4921 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1076, allocations: 115.7 kB / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1076, allocations: 0 / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1076, allocations: 4 kB / 0.4922 GB, free: 7.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1077, allocations: 0 / 0.4922 GB, free: 7.965 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005274/0.1082, allocations: 403 kB / 0.4926 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1082, allocations: 11.89 kB / 0.4926 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.1083, allocations: 12.84 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1086, allocations: 203.9 kB / 0.4928 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1086, allocations: 4.312 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1086, allocations: 4.125 kB / 0.4929 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1088, allocations: 75.33 kB / 0.4929 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1088, allocations: 0 / 0.4929 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1088, allocations: 4 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1088, allocations: 4 kB / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.1089, allocations: 15.98 kB / 0.4929 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.1093, allocations: 292.7 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1095, allocations: 66.59 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.1095, allocations: 20.84 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1096, allocations: 0 / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.1097, allocations: 67.39 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1097, allocations: 0 / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005225/0.1102, allocations: 173.3 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1103, allocations: 77.11 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1105, allocations: 145.8 kB / 0.4938 GB, free: 6.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1105, allocations: 29.7 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.1105, allocations: 96.12 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1106, allocations: 23.66 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1106, allocations: 25.7 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1107, allocations: 326.8 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.1108, allocations: 27.88 kB / 0.4943 GB, free: 5.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.1109, allocations: 42.56 kB / 0.4943 GB, free: 5.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.111, allocations: 61.75 kB / 0.4944 GB, free: 5.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.111, allocations: 0 / 0.4944 GB, free: 5.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.1112, allocations: 105.5 kB / 0.4945 GB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1112, allocations: 8.062 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1113, allocations: 0 / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1113, allocations: 0 / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.1114, allocations: 16 kB / 0.4945 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1114, allocations: 0 / 0.4945 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.1114, allocations: 12.23 kB / 0.4945 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1115, allocations: 8 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.027e-05/0.1116, allocations: 121.8 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1116, allocations: 11.81 kB / 0.4946 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.1116, allocations: 24.7 kB / 0.4947 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1117, allocations: 3.938 kB / 0.4947 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1117, allocations: 0 / 0.4947 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1117, allocations: 3.938 kB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.1121, allocations: 387.3 kB / 0.495 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1121, allocations: 0 / 0.495 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.1121, allocations: 8 kB / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1122, allocations: 0 / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1122, allocations: 15.95 kB / 0.4951 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1122, allocations: 0 / 0.4951 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1122, allocations: 0 / 0.4951 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1124, allocations: 200.2 kB / 0.4952 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.1125, allocations: 85.02 kB / 0.4953 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1125, allocations: 3.938 kB / 0.4953 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1126, allocations: 7.984 kB / 0.4953 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.1126, allocations: 12 kB / 0.4953 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1126, allocations: 4 kB / 0.4953 GB, free: 4.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.251e-05/0.1127, allocations: 118.5 kB / 0.4955 GB, free: 4.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1128, allocations: 0 / 0.4955 GB, free: 4.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.113, allocations: 31.98 kB / 0.4955 GB, free: 4.277 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001095/0.1141, allocations: 0.5031 MB / 0.496 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1143, allocations: 59.91 kB / 0.496 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1143, allocations: 0 / 0.496 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.1144, allocations: 35.98 kB / 0.4961 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1148, allocations: 31.84 kB / 0.4961 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.1152, allocations: 220.5 kB / 0.4963 GB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1155, allocations: 0.6962 MB / 0.497 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1155, allocations: 31.48 kB / 0.497 GB, free: 2.688 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1155, allocations: 0 / 0.497 GB, free: 2.688 MB / 382.1 MB Notification: Performance of Templates: time 0.003868/0.1194, allocations: 2.055 MB / 0.499 GB, free: 0.6367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches