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.001259/0.001259, allocations: 112.7 kB / 17.04 MB, free: 6.129 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.001294/0.001295, allocations: 196.1 kB / 17.98 MB, free: 5.227 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.319/1.319, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.1927/0.1927, allocations: 43.52 MB / 314.7 MB, free: 488 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.001378/0.001378, allocations: 77.97 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.09676, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003272/0.1001, allocations: 2.289 MB / 0.4908 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.102, allocations: 1.182 MB / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1021, allocations: 7.938 kB / 0.492 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.1027, allocations: 287 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004514/0.1032, allocations: 270.8 kB / 0.4925 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.1039, allocations: 335.3 kB / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000545/0.1045, allocations: 0.5063 MB / 0.4933 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1047, allocations: 53.06 kB / 0.4934 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.1049, allocations: 235 kB / 0.4936 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.1053, allocations: 259.1 kB / 0.4938 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.1053, allocations: 19.94 kB / 0.4938 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1055, allocations: 59.97 kB / 0.4939 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.1057, allocations: 107.6 kB / 0.494 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1058, allocations: 174.7 kB / 0.4942 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.1062, allocations: 390.4 kB / 0.4945 GB, free: 5.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1062, allocations: 0 / 0.4945 GB, free: 5.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1062, allocations: 0 / 0.4945 GB, free: 5.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1062, allocations: 0 / 0.4945 GB, free: 5.605 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.001149/0.1074, allocations: 0.7741 MB / 0.4953 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1074, allocations: 11.89 kB / 0.4953 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.1075, allocations: 52.28 kB / 0.4954 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.1082, allocations: 407.9 kB / 0.4957 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.1082, allocations: 20.36 kB / 0.4958 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.1083, allocations: 20.12 kB / 0.4958 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.1086, allocations: 198.3 kB / 0.496 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.1087, allocations: 8 kB / 0.496 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1087, allocations: 0 / 0.496 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1087, allocations: 4 kB / 0.496 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.109, allocations: 103.9 kB / 0.4961 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.1099, allocations: 0.8448 MB / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.1105, allocations: 293.3 kB / 0.4972 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1107, allocations: 104.2 kB / 0.4973 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1107, allocations: 4 kB / 0.4973 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.1111, allocations: 228.2 kB / 0.4975 GB, free: 2.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.1111, allocations: 3.938 kB / 0.4975 GB, free: 2.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002013/0.1131, allocations: 0.9888 MB / 0.4985 GB, free: 1.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.1132, allocations: 162.2 kB / 0.4986 GB, free: 1.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/0.1139, allocations: 0.6082 MB / 0.4992 GB, free: 492 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1139, allocations: 37.7 kB / 0.4993 GB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1141, allocations: 220.9 kB / 0.4995 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/0.1142, allocations: 126.4 kB / 0.4996 GB, free: 96 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/0.1143, allocations: 70.12 kB / 0.4997 GB, free: 20 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1145, allocations: 370.8 kB / 0.5 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1147, allocations: 100.8 kB / 0.5001 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.115, allocations: 184.9 kB / 0.5003 GB, free: 15.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.1155, allocations: 296.5 kB / 0.5006 GB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1155, allocations: 4 kB / 0.5006 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007353/0.1163, allocations: 400.5 kB / 0.501 GB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1163, allocations: 8 kB / 0.501 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1163, allocations: 8.156 kB / 0.501 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1163, allocations: 4 kB / 0.501 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.1166, allocations: 79.91 kB / 0.5011 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1166, allocations: 7.984 kB / 0.5011 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1168, allocations: 19.94 kB / 0.5011 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.1169, allocations: 23.98 kB / 0.5011 GB, free: 14.47 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.0002127/0.1171, allocations: 200.2 kB / 0.5013 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.1172, allocations: 67.36 kB / 0.5014 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.1173, allocations: 67.91 kB / 0.5014 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1173, allocations: 8 kB / 0.5014 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1173, allocations: 4 kB / 0.5014 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1174, allocations: 4 kB / 0.5014 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.1188, allocations: 1.257 MB / 0.5027 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1188, allocations: 4 kB / 0.5027 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.119, allocations: 47.92 kB / 0.5027 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.119, allocations: 4 kB / 0.5027 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.119, allocations: 23.86 kB / 0.5027 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.119, allocations: 4 kB / 0.5027 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.119, allocations: 4.156 kB / 0.5027 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.1199, allocations: 0.8084 MB / 0.5035 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.12, allocations: 124.4 kB / 0.5037 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.12, allocations: 19.94 kB / 0.5037 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.1204, allocations: 15.98 kB / 0.5037 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.1205, allocations: 35.95 kB / 0.5037 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.1205, allocations: 20 kB / 0.5037 GB, free: 11.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004555/0.121, allocations: 470.7 kB / 0.5042 GB, free: 11.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.121, allocations: 3.938 kB / 0.5042 GB, free: 11.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000541/0.1215, allocations: 76 kB / 0.5043 GB, free: 11.08 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.001055/0.1226, allocations: 491.6 kB / 0.5047 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.1232, allocations: 291.6 kB / 0.505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1232, allocations: 0 / 0.505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.1235, allocations: 156 kB / 0.5052 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.1246, allocations: 139.7 kB / 0.5053 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1259, allocations: 0.9021 MB / 0.5062 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1263, allocations: 0.8512 MB / 0.507 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1264, allocations: 59.41 kB / 0.5071 GB, free: 8.176 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1264, allocations: 3.938 kB / 0.5071 GB, free: 8.172 MB / 398.1 MB Notification: Performance of Templates: time 0.00877/0.1352, allocations: 6.294 MB / 0.5132 GB, free: 1.879 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